joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422af0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4e3abb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x23
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x422b56
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea esi, [esp + 0x18]
call fcn.00402530
mov dword [esp + 0x240], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x422ba3
push ebx
mov ecx, 0x4ef7d8
call fcn.00409c00
cmp dword [esp + 0x28], 8
jb 0x422c4c
mov edx, dword [esp + 0x14]
push edx
jmp 0x422c44
lea esi, [eax - 1]
cmp eax, esi
ja 0x422baf
call fcn.004b7425
mov eax, dword [esp + 0x14]
mov edi, 8
cmp dword [esp + 0x28], edi
jae 0x422bc2
lea eax, [esp + 0x14]
movzx eax, word [eax + esi*2]
cmp ax, 0x5c
je 0x422be2
cmp ax, 0x2f
je 0x422be2
push 1
push 0x4f09a4
lea ecx, [esp + 0x18]
call fcn.00403580
push 0x10
push str.TencentQQPCMgr_
lea ecx, [esp + 0x18]
call fcn.00403580
cmp dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
jae 0x422c00
lea eax, [esp + 0x14]
push eax
call fcn.00421df0
add esp, 4
test eax, eax
jne 0x422c25
push ebx
mov ecx, 0x4ef7d8
call fcn.00409c00
cmp dword [esp + 0x28], edi
jb 0x422c4c
mov eax, dword [esp + 0x14]
push eax
jmp 0x422c44
cmp dword [esp + 0x28], edi
mov ecx, dword [esp + 0x14]
jae 0x422c33
lea ecx, [esp + 0x14]
push ebx
call fcn.00409c00
cmp dword [esp + 0x28], edi
jb 0x422c4c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b83e9
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b83ee
add esp, 0x238
ret
Function at 0x422c80
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dce58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ebx
mov dword [esp + 0x18], ebp
call fcn.00415040
mov eax, dword [esp + 0x30]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
mov dword [esp + 0x28], ebp
je 0x422d90
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x200000
ja 0x422d89
mov eax, dword [ebx]
sub eax, 0x10
mov dword [esp + 0x14], ebp
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea ecx, [esi + 1]
sub eax, ecx
or edx, eax
mov edi, esi
jge 0x422d1d
mov eax, ebx
call fcn.00416960
mov ebp, dword [ebx]
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422d85
mov eax, dword [esp + 0x14]
test eax, eax
je 0x422d85
sub edi, eax
add ebp, eax
test edi, edi
jne 0x422d23
mov eax, dword [esp + 0x1c]
mov byte [eax + esi], 0
mov ecx, dword [ebx]
test ecx, ecx
jne 0x422d5d
xor eax, eax
jmp 0x422d6f
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x422d62
sub eax, esi
js 0x422da7
cmp eax, dword [ecx - 8]
jg 0x422da7
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
push 0x80070057
call fcn.00401350
int3
Function at 0x422dc0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4e02cb
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 [0x5143cc]
mov edx, dword [eax + 0xc]
xor ebp, ebp
mov ecx, 0x5143cc
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 0x422e6c
lea esi, [edi - 0x10]
mov eax, esi
call fcn.004012e0
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 0x422f7b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x422f7b
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebp
jne 0x422eb3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [edi - 0x10]
mov eax, esi
call fcn.004012e0
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 0x422e57
mov ecx, dword [esp + 0x258]
cmp dword [esp + 0x20], ecx
je 0x422ed1
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422eb3
jmp 0x422ed9
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 0x422f27
lea esi, [edi - 0x10]
mov eax, esi
call fcn.004012e0
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 0x422f7b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x422f7b
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422f62
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x20], ecx
je 0x422f51
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422f36
jmp 0x422f62
lea edx, [esp + 0x3c]
lea edi, [esp + 0x10]
call fcn.00404a50
mov edi, dword [esp + 0x10]
push esi
call ebp
lea eax, [edi - 0x10]
call fcn.004012e0
add eax, 0x10
lea ecx, [esp + 0x10]
mov dword [ebx], eax
call fcn.004016d0
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.004b83ee
add esp, 0x244
ret
Function at 0x423110
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.00423050
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x42318d
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Global_rtpsvc_instance_mutex
push ebx
call fcn.00423050
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
test edi, edi
je 0x423188
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x423185
push 0x1b58
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423185
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.004b83ee
pop ecx
ret

Function at 0x423200
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 0x423228
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 0x423530
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 [0x516004], 0x4f3028
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x208
mov word [esp + 0x18], 0
call fcn.004be240
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 0x4235db
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 0x4f1408
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [0x516008], eax
mov eax, dword [esp]
test eax, eax
je 0x4235db
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
xor ecx, esp
mov eax, 0x516004
call fcn.004b83ee
add esp, 0x21c
ret
Function at 0x424380
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 0x4243a3
mov eax, dword [ebp - 4]
jmp 0x42447f
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 0x42445a
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 0x4243c4
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x424476
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4ef218]
dec ecx
jne 0x424464
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 0x426820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e1d08
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.00409c00
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.0x42688e
jmp dword [eax*4 + 0x4268c4]
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 0x426ac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dce28
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 [0x5143cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x5143cc
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.004b9d0f
add esp, 8
test eax, eax
jne 0x426b64
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 0x426b50
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.00401410
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 0x426b9a
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 0x427110
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 0x42713c
mov ecx, esi
mov eax, edi
call fcn.00401150
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 0x42716f
mov ecx, dword [edi]
test ecx, ecx
je 0x427173
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x427160
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x427187
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x427187
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
pop esi
ret
push 0x80070057
call fcn.00401350
int3
Function at 0x427440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e0238
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.00405f60
push esi
lea edx, [esp + 0xc]
mov dword [esp + 0x30], ebx
call fcn.0043cdf0
cmp dword [esp + 0x20], 0x10
jb 0x4274a8
mov eax, dword [esp + 0xc]
push eax
call fcn.004b83e9
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 0x427630
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 [0x5157f8], 0
jne 0x427663
mov ebx, dword [esi + 4]
push 0x4f3120
push 2
mov ecx, 0x67
mov edx, 0x4f3130
call fcn.004391a0
add esp, 8
cmp dword [0x5156c8], 0
jne 0x42767e
lea eax, [esi + 0x68]
mov edi, 0x2906
call fcn.004283a0
call fcn.00411f50
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 0x4276b0
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 0x4276e5
sub eax, 0x4e
jne 0x427702
push 2
mov dword [esi + 0x3f0], 1
call fcn.00427630
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 0x4284a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e01d8
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 0x4284d1
lea edi, [eax - 0x24]
jmp 0x4284d3
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 0x42850b
mov eax, dword [edi + 0x118]
mov edx, dword [eax + 0x38]
lea ecx, [edi + 0x118]
push esi
call edx
test eax, eax
jne 0x42850b
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 0x428579
push 1
push edi
call fcn.004282b0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00415200
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.00415200
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.004282b0
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 0x434960
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 0x434980
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x340], ebp
mov edi, dword [ebx + 0x330]
cmp edi, ebp
je 0x434a6d
call fcn.00416170
mov esi, eax
test esi, esi
mov edi, 1
je 0x434a18
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
and dword [esi + 0x7c], 0xfffffffd
mov ecx, esi
call edx
test eax, eax
je 0x4349b8
push edi
push ebx
mov eax, esi
call fcn.004282b0
mov eax, dword [ebx + 0x330]
cmp eax, dword [ebx + 0x32c]
jne 0x434a18
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.00415bd0
mov eax, dword [esi + 0x88]
test eax, eax
je 0x434a0b
cmp word [eax], bp
je 0x434a0b
push edi
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x434a18
mov eax, dword [esi + 0x10]
test eax, eax
je 0x434a18
mov dword [esp + 0x10], edi
mov ebp, eax
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x330], 0
je 0x434a6d
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 0x437fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3a88
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.004357b0
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 0x438051
sub eax, esi
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00405f60
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], ebx
call fcn.004755c0
push eax
call fcn.004773c0
push eax
mov edx, 0x3f4
mov eax, edi
call fcn.00435660
cmp dword [esp + 0x2c], 0x10
jb 0x43809c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b83e9
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 0x4387b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, 0xff
cmp dword [esi + 0x20], eax
push edi
jl 0x4387c2
mov dword [esi + 0x20], eax
mov edi, 1
add dword [esi + 0x30], edi
mov eax, dword [esi + 0x30]
cmp eax, 2
jg 0x4387e6
mov eax, 4
add dword [esi + 0x1c], eax
add dword [esi + 0x10], eax
add dword [esi + 0x18], eax
add dword [esi + 0x20], 0xffffffec
jmp 0x4387fe
cmp eax, 3
jne 0x4387f1
add dword [esi + 0x20], 0xffffffc4
jmp 0x4387f5
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 0x438816
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.004389f0
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x438e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e0238
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.00405f60
push esi
lea edx, [esp + 0xc]
mov dword [esp + 0x30], ebx
call fcn.0043cdf0
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x438e90
mov eax, dword [esp + 0xc]
push eax
call fcn.004b83e9
add esp, 4
mov dword [esi + 0x3ec], 1
mov dword [esi], vtable.Kmsgbox.0
mov edx, dword [0x5143cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143cc
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 [0x5143cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143cc
call eax
add eax, 0x10
mov dword [esi + 0x400], eax
mov edx, dword [0x5143cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143cc
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 0x439c10
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x439c70
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x439c66
cmp edi, 0x1b
jne 0x439c4e
mov ecx, dword [esi + 4]
push 0
push 2
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x3e0], 0
ret
cmp edi, 0xd
jne 0x439c66
mov edx, dword [esi + 4]
push 0
push 1
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x3e0], 0
ret