joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422de0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4e044b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x234], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [0x5143ac]
mov edx, dword [eax + 0xc]
xor ebp, ebp
mov ecx, 0x5143ac
mov dword [esp + 0x14], ebp
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
push ebp
push 2
mov dword [esp + 0x258], ebp
mov dword [esp + 0x1c], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x422e8c
lea esi, [edi - 0x10]
mov eax, esi
call fcn.004012d0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x250], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422f9b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x422f9b
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebp
jne 0x422ed3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [edi - 0x10]
mov eax, esi
call fcn.004012d0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x250], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x422e77
mov ecx, dword [esp + 0x258]
cmp dword [esp + 0x20], ecx
je 0x422ef1
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422ed3
jmp 0x422ef9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x422f47
lea esi, [edi - 0x10]
mov eax, esi
call fcn.004012d0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x250], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f9b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x422f9b
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422f82
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x20], ecx
je 0x422f71
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422f56
jmp 0x422f82
lea edx, [esp + 0x3c]
lea edi, [esp + 0x10]
call fcn.004049e0
mov edi, dword [esp + 0x10]
push esi
call ebp
lea eax, [edi - 0x10]
call fcn.004012d0
add eax, 0x10
lea ecx, [esp + 0x10]
mov dword [ebx], eax
call fcn.00416ce0
mov eax, ebx
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004b84de
add esp, 0x244
ret
Function at 0x423130
Capabilities:
Check mutex on windows

Disassembly:
push ecx
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp], eax
push ebx
push esi
push str.Global_rtp_svc_shutdown_event
mov ebx, 1
push 0
push ebx
call fcn.00423070
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x4231ad
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Global_rtpsvc_instance_mutex
push ebx
call fcn.00423070
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
test edi, edi
je 0x4231a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4231a5
push 0x1b58
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4231a5
xor ebx, ebx
push edi
call ebp
push esi
call ebp
pop edi
pop ebp
mov ecx, dword [esp + 8]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004b84de
pop ecx
ret

Function at 0x423220
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPC2Mgr
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423248
xor eax, eax
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
push esi
mov eax, 4
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0xc
ret
Function at 0x423550
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x218], eax
push 0x208
lea eax, [esp + 0x12]
push 0
push eax
mov dword [0x515fe4], 0x4f3028
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x208
mov word [esp + 0x18], 0
call fcn.004be320
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SOFTWARETencentQQPC2Mgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4235fb
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.InstallDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [0x515fe8], eax
mov eax, dword [esp]
test eax, eax
je 0x4235fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
xor ecx, esp
mov eax, 0x515fe4
call fcn.004b84de
add esp, 0x21c
ret
Function at 0x4243a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4243c3
mov eax, dword [ebp - 4]
jmp 0x42449f
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x42447a
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
lea ecx, [ecx]
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ef218]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4ef218]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ef218]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4ef218]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ef218]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4ef218]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ef218]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4ef218]
dec ebp
jne 0x4243e4
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x424496
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4ef218]
dec ecx
jne 0x424484
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e1e28
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x28]
push ecx
mov dword [esp + 0x18], edi
mov ecx, str._Enter_Text_Here_
mov dword [esi], vtable.CEagleEdit.0
call fcn.004099e0
mov dword [esi + 0x30], edi
mov byte [esi + 0x2c], 1
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov eax, dword [esi + 0x30]
cmp eax, 3
mov ecx, 0xffffff
ja case.default.0x4269de
jmp dword [eax*4 + 0x426a14]
mov dword [esi + 0x34], ecx
push ecx
mov dword [esi + 0x38], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x426c10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dcf58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov eax, dword [0x5143ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5143ac
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov esi, dword [esi + 0x28]
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.004b9e54
add esp, 8
test eax, eax
jne 0x426cb4
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
lea eax, [esp + 0xc]
call fcn.004013f0
mov ecx, dword [edi]
mov esi, dword [ecx - 0xc]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426cea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x427260
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x42728c
mov ecx, esi
mov eax, edi
call fcn.00401130
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x4272bf
mov ecx, dword [edi]
test ecx, ecx
je 0x4272c3
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4272b0
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x4272d7
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x4272d7
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
pop esi
ret
push 0x80070057
call fcn.00401340
int3
Function at 0x427570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0xe
xor ebx, ebx
push str.IDR_FINISH_WND
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00405e70
push esi
lea edx, [esp + 0xc]
mov dword [esp + 0x30], ebx
call fcn.00439150
cmp dword [esp + 0x20], 0x10
jb 0x4275d8
mov eax, dword [esp + 0xc]
push eax
call fcn.004b84d9
add esp, 4
mov dword [esi + 0x3ec], 1
mov dword [esi], vtable.CFinishWnd.0
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0x400], ebx
mov dword [esi + 0x404], ebx
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret

Function at 0x427760
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push ebx
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x5157d8], 0
jne 0x427793
mov ebx, dword [esi + 4]
push 0x4f3130
push 2
mov ecx, 0x67
mov edx, 0x4f3140
call fcn.004390a0
add esp, 8
cmp dword [0x5156a8], 0
jne 0x4277ae
lea eax, [esi + 0x68]
mov edi, 0x2906
call fcn.00428360
call fcn.00411d00
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
movzx edx, word [esp + 0xc]
push 0
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop ebx
ret 4

Function at 0x4277e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, eax
movzx eax, word [esp + 0xc]
sub eax, 0xf012
mov dword [esi + 0x3f0], 0
je 0x427815
sub eax, 0x4e
jne 0x427832
push 2
mov dword [esi + 0x3f0], 1
call fcn.00427760
pop esi
pop ecx
ret 0xc
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x3f0], 0
pop esi
pop ecx
ret 0xc
Function at 0x428460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e0388
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x428491
lea edi, [eax - 0x24]
jmp 0x428493
xor edi, edi
mov eax, dword [edi + 0x24]
mov edx, dword [eax + 0x38]
lea ecx, [edi + 0x24]
push esi
call edx
test eax, eax
jne 0x4284cb
mov eax, dword [edi + 0x118]
mov edx, dword [eax + 0x38]
lea ecx, [edi + 0x118]
push esi
call edx
test eax, eax
jne 0x4284cb
mov eax, dword [edi + 0x20c]
mov edx, dword [eax + 0x38]
lea ecx, [edi + 0x20c]
push esi
call edx
mov esi, eax
test esi, esi
je 0x428539
push 1
push edi
call fcn.00428270
push 0
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00415120
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.00415120
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call edx
push 1
push edi
mov eax, esi
call fcn.00428270
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
Function at 0x434940
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x1c
push ebp
xor ebp, ebp
cmp dword [ebx + 0x340], ebp
push esi
push edi
mov dword [esp + 0x10], ebp
je 0x434960
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x340], ebp
mov edi, dword [ebx + 0x330]
cmp edi, ebp
je 0x434a4d
call fcn.00416040
mov esi, eax
test esi, esi
mov edi, 1
je 0x4349f8
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
and dword [esi + 0x7c], 0xfffffffd
mov ecx, esi
call edx
test eax, eax
je 0x434998
push edi
push ebx
mov eax, esi
call fcn.00428270
mov eax, dword [ebx + 0x330]
cmp eax, dword [ebx + 0x32c]
jne 0x4349f8
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x30]
mov eax, dword [esp + 0x2c]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0x202
mov ecx, esi
call fcn.00415b70
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4349eb
cmp word [eax], bp
je 0x4349eb
push edi
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4349f8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4349f8
mov dword [esp + 0x10], edi
mov ebp, eax
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x330], 0
je 0x434a4d
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov ecx, esi
mov dword [esp + 0x20], ebp
call eax
mov ecx, dword [ebx + 4]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push ecx
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc

Function at 0x437fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3a78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xe0]
xor edx, edx
sub esp, 0x10
lea edi, [eax + 0x90]
mov eax, esp
mov dword [eax], edx
lea esi, [edx + 0x28]
mov dword [eax + 4], esi
xor ebx, ebx
mov dword [eax + 8], ecx
mov edx, 0x3f4
mov dword [eax + 0xc], ebx
call fcn.00435790
mov eax, ebp
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x438031
sub eax, esi
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00405e70
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], ebx
call fcn.004755b0
push eax
call fcn.004773b0
push eax
mov edx, 0x3f4
mov eax, edi
call fcn.00435640
cmp dword [esp + 0x2c], 0x10
jb 0x43807c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b84d9
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x4386b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, 0xff
cmp dword [esi + 0x20], eax
push edi
jl 0x4386c2
mov dword [esi + 0x20], eax
mov edi, 1
add dword [esi + 0x30], edi
mov eax, dword [esi + 0x30]
cmp eax, 2
jg 0x4386e6
mov eax, 4
add dword [esi + 0x1c], eax
add dword [esi + 0x10], eax
add dword [esi + 0x18], eax
add dword [esi + 0x20], 0xffffffec
jmp 0x4386fe
cmp eax, 3
jne 0x4386f1
add dword [esi + 0x20], 0xffffffc4
jmp 0x4386f5
add dword [esi + 0x20], 0xfffffff6
add dword [esi + 0x1c], edi
add dword [esi + 0x10], edi
add dword [esi + 0x18], edi
cmp dword [esi + 0x20], 0x28
jg 0x438716
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call fcn.004388f0
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x438d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0xf
xor ebx, ebx
push str.IDR_KAV_MSG_BOX
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00405e70
push esi
lea edx, [esp + 0xc]
mov dword [esp + 0x30], ebx
call fcn.00439150
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x438d90
mov eax, dword [esp + 0xc]
push eax
call fcn.004b84d9
add esp, 4
mov dword [esi + 0x3ec], 1
mov dword [esi], vtable.Kmsgbox.0
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
call eax
add eax, 0x10
mov dword [esi + 0x3fc], eax
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
call eax
add eax, 0x10
mov dword [esi + 0x400], eax
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
call eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add eax, 0x10
mov dword [esi + 0x404], eax
mov dword [esi + 0x3f4], ecx
mov dword [esi + 0x3f8], edx
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret 8
Function at 0x43b530
Capabilities:
Create thread
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x18], ebx
call fcn.004755b0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [0x5143cc]
push str.Comctl32
call edi
cmp eax, ebx
je 0x43b582
push str.LoadIconMetric
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43b582
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x65
push esi
mov dword [esp + 0x24], ebx
call eax
test eax, eax
jl 0x43b582
mov eax, dword [esp + 0x14]
jmp 0x43b596
push 0x8000
push 0x10
push 0x10
push 1
push 0x65
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
add esi, 4
push 0x80
push edx
call ebp
mov ebx, dword [0x5143cc]
push str.Comctl32
call edi
test eax, eax
je 0x43b5ef
push str.LoadIconMetric
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b5ef
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x65
push ebx
mov dword [esp + 0x24], 0
call eax
test eax, eax
jl 0x43b5ef
mov eax, dword [esp + 0x14]
jmp 0x43b603
push 0x8000
push 0x20
push 0x20
push 1
push 0x65
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [esi]
push eax
push 1
push 0x80
push edx
call ebp
test byte [0x515bfc], 1
jne 0x43b63c
fld dword [0x4f8bf0]
or dword [0x515bfc], 1
push ecx
fstp dword [esp]
call fcn.00438330
push 0x4e6ca0
call fcn.004b9683
add esp, 4
push esi
xor eax, eax
call fcn.00416590
push 0x4f3e08
mov ecx, 0x515890
call fcn.004899e0
mov ebx, dword [esp + 0x24]
add esp, 4
push ebx
call fcn.0043b190
push 0x4f3e1c
mov ecx, 0x515890
mov edi, eax
call fcn.004899e0
add esp, 4
test edi, edi
je 0x43b739
cmp dword [ebx + 0x410], 0
je 0x43b6cf
mov edi, dword [esi]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
xor eax, eax
call fcn.00416590
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], 1
push 0x4f3e30
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
cmp dword [0x5156c4], 0
je 0x43b702
mov esi, 0x515668
call fcn.0040dd20
test eax, eax
jne 0x43b71f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0
push 0
push 0x515668
push 0x40dd00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x515790], eax
cmp dword [ebx + 0x418], 0
jne 0x43b739
mov edi, ebx
mov dword [ebx + 0x4a4], 0
call fcn.0043be10
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8