joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba410
Capabilities:
Start service

Disassembly:
sub esp, 0x208
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x204], eax
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4ba538
push ebp
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004ba090
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4ba4ef
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4ba4bd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push str.start_service__08x_n
call fcn.0048f080
add esp, 8
cmp dword [esp + 0x21c], 0
je 0x4ba4bc
call ebx
cmp eax, 0x420
je 0x4ba4bc
call ebx
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1048]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
pop ebx
push 4
push 0xea60
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004ba140
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0054962d
add esp, 0x208
ret 4
cmp dword [esp + 0x218], 0
je 0x4ba51b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x103c]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0054962d
add esp, 0x208
ret 4
cmp dword [esp + 0x210], 0
je 0x4ba564
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
mov ecx, dword [esp + 0x208]
pop edi
xor ecx, esp
call fcn.0054962d
add esp, 0x208
ret 4
Function at 0x4ba580
Capabilities:
Stop service
Terminate process

Disassembly:
sub esp, 0x224
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x4ba68d
push ebp
push esi
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.004ba090
mov edi, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0x24
lea ecx, [esp + 0x30]
push ecx
push ebx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x4ba5e7
push 4
lea edx, [esp + 0x30]
push edx
push ebx
call edi
mov esi, eax
test esi, esi
je 0x4ba643
mov edx, esi
call fcn.004ba220
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test edi, edi
je 0x4ba622
push 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4ba61b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054962d
add esp, 0x224
ret 4
cmp dword [esp + 0x238], 0
je 0x4ba66f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054962d
add esp, 0x224
ret 4
cmp dword [esp + 0x22c], 0
je 0x4ba6b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
mov ecx, dword [esp + 0x224]
pop ebx
xor ecx, esp
call fcn.0054962d
add esp, 0x224
ret 4
Function at 0x4ba6e0
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x420
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
mov ebp, dword [esp + 0x434]
push esi
push edi
push 0
call fcn.004ba270
push str.install_service..._n
mov dword [esp + 0x14], 0x1e
call fcn.0048f080
add esp, 4
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4ba83f
jmp 0x4ba740
lea eax, [esp + 0x14]
push eax
call fcn.00401210
push ebp
push ebx
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
call fcn.004b9f90
lea edx, [esp + 0x228]
push edx
call fcn.004ba090
mov eax, dword [esp + 0x1c]
push edi
push edi
push edi
push edi
push edi
push eax
push edi
push 2
push 0x10
push 2
lea ecx, [esp + 0x250]
push ecx
mov edx, ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
je 0x4ba7a2
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x434]
push eax
call fcn.004ba410
jmp 0x4ba804
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x4ba7be
mov ecx, dword [esp + 0x434]
push ecx
call fcn.004ba410
jmp 0x4ba804
cmp dword [esp + 0x10], 0
je 0x4ba7de
cmp eax, 0x430
jne 0x4ba7de
sub dword [esp + 0x10], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4ba809
cmp dword [esp + 0x434], 0
je 0x4ba804
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1040]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x14]
push ecx
call fcn.00523250
test edi, edi
jne 0x4ba86b
push str.install_service..._n
call fcn.0048f080
add esp, 4
push 2
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4ba740
cmp dword [esp + 0x434], 0
je 0x4ba86b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1044]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9e40
add esp, 0x14
push 1
push str.InstallService
call fcn.004fdc30
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054962d
add esp, 0x420
ret 0xc
Function at 0x4bb480
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [edi + 0x50]
xor ebx, ebx
cmp esi, ebx
je 0x4bb4d9
push ebp
cmp dword [esi + 0xc], ebx
mov ebp, dword [esi]
je 0x4bb51a
jmp 0x4bb4a0
cmp dword [edi + 0x58], ebx
je 0x4bb4e2
mov edx, dword [edi + 0x30]
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [edi + 0x1c]
push ecx
push edx
mov dword [edi + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x4bb50b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x4bb5c7
mov dword [edi + 0x38], 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
lea eax, [edi + 0x1c]
push eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [edi + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4bb5a9
mov eax, dword [esp + 0x30]
add dword [esi + 8], eax
sub dword [esi + 0xc], eax
cmp dword [esi + 0xc], ebx
jne 0x4bb4a0
cmp dword [edi + 0xb0], ebx
je 0x4bb57c
mov eax, dword [0x5982c4]
cmp eax, ebx
je 0x4bb563
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xbb8
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov eax, dword [0x5982c0]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x5982bc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 4]
push edx
call fcn.004a4950
push esi
call fcn.004a4950
cmp ebp, ebx
mov dword [edi + 0x50], ebp
jne 0x4bb595
mov dword [edi + 0x54], ebx
cmp ebp, ebx
mov esi, ebp
jne 0x4bb494
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4bb4d1
push str.write_pending..._n
call fcn.0048f080
add esp, 4
pop ebp
mov dword [edi + 0x58], 1
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x4bc7c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x4bc85d
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4bc7e0
cmp dword [esi + 0x4c], edi
je 0x4bc80c
mov edx, dword [esi + 0x30]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 8]
push ecx
push edx
mov dword [esi + 0x4c], edi
call ebx
test eax, eax
jne 0x4bc84e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jmp 0x4bc8d9
mov edx, dword [esi + 0x3c]
lea eax, [esi + 8]
push eax
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x30]
push edx
push eax
push ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call ebp
test eax, eax
je 0x4bc8ce
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
sub ecx, dword [esi + 0x44]
push edx
push eax
push ecx
push str.read_total:_p__remaining:__u__numread:__u_n
call fcn.0048f080
add esp, 0x10
mov eax, dword [esp + 0xc]
add dword [esi + 0x40], eax
sub dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], edi
jne 0x4bc7e0
cmp dword [esi + 0x48], edi
je 0x4bc892
mov eax, esi
call fcn.004bba80
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x4bc876
push eax
call fcn.004a4950
push 4
call fcn.004a48f0
mov dword [esi + 0x48], edi
pop edi
pop ebp
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 4
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x44]
mov edi, dword [eax]
lea edx, [edi - 8]
cmp edx, 0x7ffff8
ja 0x4bc8e7
push eax
call fcn.004a4950
push edi
call fcn.004a48f0
mov dword [esi + 0x44], eax
mov dword [eax], edi
mov eax, dword [esi + 0x44]
add eax, 4
add edi, 0xfffffffc
mov dword [esi + 0x3c], edi
pop edi
pop ebp
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], 1
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4bc8e7
pop edi
pop ebp
mov dword [esi + 0x4c], 1
pop ebx
pop ecx
ret
pop edi
pop ebp
mov dword [esi + 0x38], 1
pop ebx
pop ecx
ret
Function at 0x4cb220
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x218
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x214], eax
cmp byte [0x5981a0], 0
push ebx
push esi
mov esi, dword [esp + 0x224]
push edi
jne 0x4cb310
cmp dword [0x5981a4], 5
jae 0x4cb310
lea eax, [esp + 0xc]
push eax
call fcn.00401210
mov edi, dword [esp + 0x22c]
push edi
push esi
xor ebx, ebx
call fcn.004c4210
mov dword [esp + 0xc], eax
add eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.005271e0
mov ebx, dword [esp + 0x14]
push edi
push esi
call fcn.004c4210
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00401000
add eax, 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4cb304
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00401120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cb2fd
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
push ecx
call fcn.00523250
jmp 0x4cb378
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0xc]
push ecx
call fcn.00523250
jmp 0x4cb378
push ebp
mov ebp, dword [esp + 0x230]
push ebp
push esi
xor ebx, ebx
call fcn.004c4210
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4cb377
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
push esi
mov ebx, eax
call fcn.004c4210
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cb370
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4cb377
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
mov ecx, dword [esi + 0x180]
push ecx
call fcn.004b8200
push esi
call fcn.004cadf0
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054962d
add esp, 0x218
ret 8

Function at 0x4cb700
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push str.ui_close_n
call fcn.0048f080
mov esi, dword [esp + 0x10]
add esp, 4
call fcn.004c7830
mov eax, dword [esi + 0x60]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, esi
call fcn.004c44d0
cmp dword [esi + 0x440], 0
jne 0x4cb768
cmp byte [0x597f12], 0
je 0x4cb745
push esi
call fcn.0050fb90
jmp 0x4cb768
mov eax, esi
mov dword [esi + 0x440], 1
call fcn.004c2eb0
mov ecx, dword [0x598318]
mov dword [esi + 0x124], ecx
mov dword [0x598318], esi
cmp byte [0x58a62a], 0
pop esi
pop ebx
jne 0x4cb784
cmp dword [0x59832c], 0
jne 0x4cb784
call fcn.004bfd50
ret 4
call fcn.004b7030
mov dword [esp + 4], 0
jmp fcn.004096e0
Function at 0x4ccae0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp byte [0x58a6a1], 0
je 0x4ccc13
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00510930
test eax, eax
je 0x4ccc03
mov eax, dword [esi + 0x180]
push eax
call fcn.004b8200
push esi
call fcn.004cadf0
mov ecx, dword [esi + 0x2d4]
push ecx
push str.CUT_isviewing__d_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
je 0x4ccb4c
mov edx, dword [esi + 0x2d8]
mov eax, dword [esi + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_ChangeClipboardChain]
mov dword [esi + 0x2d4], 0
mov ecx, dword [esi + 0x60]
push edi
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ccb9a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call fcn.004c2670
test eax, eax
je 0x4ccb94
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push eax
push 0xf
call edi
push 2
call fcn.004c2620
test eax, eax
je 0x4ccb8f
push eax
call fcn.004c2c50
movzx edx, ax
push edx
call edi
mov edi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
push str.iscut__d_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 0xc
test edi, edi
je 0x4ccbfc
push str.ghost_selection_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 8
push esi
call fcn.004f0600
mov eax, dword [esi + 0x2d4]
push eax
push str.viewing__d_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
jne 0x4ccbfc
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2d4], 1
mov dword [esi + 0x2d0], edi
pop edi
push str.is_cut_done_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 8
pop esi
ret 4
Function at 0x4d44d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x114
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push edi
push esi
mov dword [esi + 4], 0xff
mov dword [esi + 0x10], 1
mov dword [esi], 0
mov dword [esi + 8], 0
push 0x4d43e0
mov dword [esi + 0x6c], 0
call fcn.004b1ef0
mov dword [esi + 0x68], eax
lea eax, [esp + 8]
push eax
call fcn.00401210
mov eax, dword [0x58deec]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00524040
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x58]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push ecx
push 0x2711
push edx
call edi
push eax
call fcn.004a9f70
lea eax, [esp + 8]
push eax
call fcn.00523250
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push 0x2711
push edx
call fcn.004aa020
mov eax, dword [esi + 0x58]
push 0
push 0x2712
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov ecx, dword [esi + 0x58]
push 0
push 0x2713
push ecx
call edi
push eax
call ebx
mov edx, dword [esi + 0x58]
push 0
push 0x2714
push edx
call edi
push eax
call ebx
mov eax, dword [esi + 0x58]
push 0
push 0x2715
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x58]
push 0
push 0x2716
push ecx
call edi
push eax
call ebx
mov ecx, dword [esp + 0x118]
pop edi
pop ebx
xor ecx, esp
call fcn.0054962d
add esp, 0x114
ret
Function at 0x4e7400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
je 0x4e741b
cmp dword [ebp - 0x398], 0
je 0x4e75e5
cmp dword [ebp + 0xc], 1
je 0x4e75e5
cmp dword [ebp + 0xc], 8
jne 0x4e75ad
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.004e6737
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004e66ec
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.004e6727
mov eax, dword [0xff36722b]
mov ch, 0x68
stc
invalid
call fcn.004e6727
xor eax, 0x80ddea2a
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
invalid
inc esi
int1
invalid
Function at 0x4f6890
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push 2
push esi
call fcn.00510c30
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov ebp, 1
je 0x4f68f9
cmp dword [esi + 0x354], ebp
push esi
jne 0x4f68d4
call fcn.004edeb0
mov edi, eax
imul edi, dword [esi + 0x35c]
jmp 0x4f68db
call fcn.004edeb0
mov edi, eax
push edi
push esi
call fcn.004ee2d0
cmp ebx, edi
jl 0x4f68ec
add eax, edi
cmp ebx, eax
jl 0x4f68f5
cmp byte [0x597ea1], 0
je 0x4f68f9
mov dword [esp + 0x10], ebp
push esi
call fcn.004edeb0
cmp dword [esi + 0x354], ebp
mov dword [esp + 0x14], eax
jne 0x4f6917
mov eax, dword [esi + 0x35c]
mov dword [esp + 0x20], eax
jmp 0x4f691b
mov dword [esp + 0x20], ebp
xor edi, edi
push edi
push esi
call fcn.004f4370
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esi + 0x60]
push eax
push ecx
call fcn.004acd90
test eax, eax
je 0x4f693e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esi + 0x354]
mov ebp, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x4f69a0
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
mov dword [esi + 0x354], ebx
call ebp
test ebx, ebx
jne 0x4f697b
mov eax, dword [esi + 0x6c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.004ee190
jmp 0x4f6987
mov ecx, dword [esi + 0x6c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call fcn.004f4370
push esi
call fcn.004ef760
push esi
call fcn.004f5d60
mov edi, 1
cmp ebx, 1
jne 0x4f69d7
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0x358]
je 0x4f69d1
mov dword [esi + 0x358], eax
call fcn.004f06e0
push esi
call fcn.004f5d60
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
call ebp
mov edi, ebx
push esi
call fcn.004ef760
test edi, edi
je 0x4f6a28
cmp ebx, 1
jne 0x4f69e8
mov ecx, dword [esi + 0x35c]
jmp 0x4f69ed
mov ecx, 1
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x4f6a14
imul dword [esp + 0x14]
push 1
mov edi, eax
push 1
mov ebx, edx
mov eax, ecx
cdq
push edx
push eax
push ebx
push edi
call fcn.0054a1e0
push eax
push esi
call fcn.004f64f0
cmp dword [esp + 0x10], 0
je 0x4f6a28
mov eax, dword [esp + 0x18]
push 0
push eax
push esi
call fcn.004f66c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4fb460
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x334
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
lea eax, [esp + 0x114]
push eax
call fcn.00401210
lea ecx, [esp + 0x114]
push ecx
push 0x553af8
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
xor esi, esi
call fcn.004ae2d0
test eax, eax
je 0x4fb59b
lea edx, [esp + 4]
push edx
call fcn.00401210
lea eax, [esp + 0x224]
push eax
mov esi, 2
call fcn.00401210
push 0
lea ecx, [esp + 0x228]
push ecx
call fcn.004ad320
mov edx, dword [esp + 0x22c]
push edx
lea eax, [esp + 8]
push str.__s___startup
push eax
call fcn.00524040
add esp, 0xc
call fcn.004a3a20
test eax, eax
je 0x4fb50e
call fcn.004a3a20
push eax
lea ecx, [esp + 8]
push str.__instance___s_
push ecx
call fcn.005241e0
add esp, 0xc
mov eax, dword [0x598188]
cmp dword [eax + 0x10], 0
je 0x4fb52f
mov edx, dword [eax + 0x10]
push edx
lea eax, [esp + 8]
push str.__config___s_
push eax
call fcn.005241e0
add esp, 0xc
lea ecx, [esp + 0x224]
push ecx
call fcn.00523250
mov edx, dword [esp + 0x11c]
push edx
push str.reg:__s_n
call fcn.0048f080
mov eax, dword [esp + 0x14]
push eax
push str.set:__s_n
call fcn.0048f080
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x12c]
mov dl, byte [eax]
add esp, 0x10
cmp dl, byte [ecx]
jne 0x4fb582
test dl, dl
je 0x4fb58c
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x4fb571
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4fb591
mov esi, 1
lea edx, [esp + 4]
push edx
call fcn.00523250
lea eax, [esp + 0x114]
push eax
call fcn.00523250
mov ecx, dword [esp + 0x334]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0054962d
add esp, 0x334
ret
Function at 0x501df0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x220], eax
push 0x553af8
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.004b39c0
push 0
push str.InstallRunOnStartup
call fcn.004fdc30
lea eax, [esp]
push eax
call fcn.00401210
lea ecx, [esp + 0x110]
push ecx
call fcn.00401210
push 0
lea edx, [esp + 0x114]
push edx
call fcn.004ad320
mov eax, dword [esp + 0x118]
push eax
lea ecx, [esp + 4]
push str.__s___startup
push ecx
call fcn.00524040
add esp, 0xc
call fcn.004a3a20
test eax, eax
je 0x501e84
call fcn.004a3a20
push eax
lea edx, [esp + 4]
push str.__instance___s_
push edx
call fcn.005241e0
add esp, 0xc
mov eax, dword [0x598188]
cmp dword [eax + 0x10], 0
je 0x501ea5
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 4]
push str.__config___s_
push ecx
call fcn.005241e0
add esp, 0xc
lea edx, [esp + 0x110]
push edx
call fcn.00523250
mov eax, dword [esp + 8]
push eax
push 0x553af8
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.004b3820
push 1
push str.InstallRunOnStartup
call fcn.004fdc30
lea ecx, [esp]
push ecx
call fcn.00523250
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054962d
add esp, 0x224
ret