joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419d10
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x517e34]
test eax, eax
jne 0x419d92
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x419d31
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.004a0e21
mov esi, eax
add esp, 4
test esi, esi
jne 0x419d47
lea edi, [eax + 8]
jmp 0x419d66
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x419d7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 8
push esi
call fcn.004a0e51
add esp, 8
pop esi
mov dword [0x517e34], edi
mov eax, edi
mov dword [0x517e38], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x517e3c]
mov dword [esi + 4], edi
mov dword [esi], eax
xor eax, eax
mov dword [0x517e3c], esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x41cc80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccae1
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x5181e8]
sub esi, dword [0x5181e4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 3
sar esi, 2
push esi
push 0x102f
push dword [edi + 0x40]
call ebx
cmp esi, dword [0x517e44]
jbe 0x41ccea
push 0
lea eax, [esi - 1]
push eax
push 0x1013
push dword [edi + 0x40]
call ebx
push 0
push dword [0x518ee4]
lea eax, [ebp - 0x4c]
mov dword [0x517e44], esi
push 0x1e
push eax
call fcn.00465480
movsd xmm0, qword [0x518ee8]
lea eax, [ebp - 0x4c]
add esp, 0x10
push eax
push dword [0x518ef0]
lea eax, [ebp - 0x254]
sub esp, 8
movsd qword [esp], xmm0
push 0x4de1d8
push eax
call fcn.00402420
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0x254]
add esp, 0x18
push eax
push 0x419
push dword [edi + 4]
call ebx
push 0x3c
lea eax, [ebp - 0x290]
mov dword [ebp - 0x294], 0x40
push 0
push eax
call fcn.004a3e00
add esp, 0xc
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x270]
shrd ecx, eax, 0x14
push 0
shr eax, 0x14
push eax
push ecx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00465370
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0
push 0x4de234
push eax
call fcn.0049c140
mov esi, eax
push 0x4de238
mov byte [ebp - 4], 1
call fcn.0049c580
push eax
push 0x4de238
call fcn.0049c710
add esp, 0x28
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x29c]
mov ecx, esi
push eax
call fcn.0049c250
mov ecx, dword [ebp - 0x298]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x41ce01
call fcn.0049c750
mov ecx, dword [ebp - 0x2a0]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x41ce14
call fcn.0049c750
mov ecx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x41ce27
call fcn.0049c750
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 8
call fcn.0049c120
push eax
push 0x459
push dword [edi + 4]
call ebx
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x41ce57
call fcn.0049c750
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41fca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccedf
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
push 0x4de4f0
push dword [0x518ab4]
push dword [ecx + 4]
call fcn.0048a8e0
mov ebx, dword [ebp + 0x10]
push 0x5c
lea eax, [ebx + 2]
push eax
call fcn.004a4db5
add esp, 0x14
test eax, eax
je 0x41fd43
add eax, 2
push 0x5c
push eax
call fcn.004a4db5
add esp, 8
test eax, eax
je 0x41fd43
sub eax, ebx
sar eax, 1
mov ecx, eax
neg ecx
sbb ecx, ecx
add eax, eax
and ecx, 2
push ecx
push 0x4dd79c
push eax
push ebx
call fcn.0049c6b0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x1c]
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, edi
jmp 0x41fd69
push ebx
call fcn.0049c580
push eax
push ebx
call fcn.0049c710
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x1c]
mov ebx, 2
mov dword [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x41fd78
call fcn.0049c480
mov dword [ebp - 4], 2
test bl, 2
je 0x41fd99
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 4
test esi, esi
je 0x41fd99
mov ecx, esi
call fcn.0049c750
mov byte [ebp - 4], 5
test bl, 1
je 0x41fdb5
mov byte [ebp - 4], 6
test edi, edi
je 0x41fdb1
mov ecx, edi
call fcn.0049c750
mov byte [ebp - 4], 5
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
push 0x450
push dword [edi + 4]
call esi
lea ecx, [ebp - 0x18]
call fcn.0049c120
push eax
push 0x44f
push dword [edi + 4]
call esi
lea ecx, [ebp - 0x18]
call fcn.0049c120
push eax
push 0x403
push dword [edi + 4]
call esi
push 0x3f9
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov ecx, dword [ebp - 0x14]
mov esi, 5
push 0x400
mov dword [ecx + 0x40], eax
xor eax, eax
cmp word [ebx], ax
mov ebx, ecx
cmovne esi, eax
push dword [ebx + 4]
call edi
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x4030
push 2
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x4de514
push eax
push dword [ebx + 0x40]
mov dword [ebp - 0x30], 0xc8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x4de52c
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0
call fcn.00450f00
push 0x4de540
push dword [0x518ab4]
push dword [ebx + 0x40]
call fcn.00451120
add esp, 0x20
push 0
push 0
push 0x8000
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 7
test ecx, ecx
je 0x41feab
call fcn.0049c750
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x420b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd043
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.004a0e21
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
push 0x4dd79c
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0049c580
push eax
push 0x4dd79c
call fcn.0049c710
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x10], esi
mov eax, dword [edi + 4]
mov byte [ebp - 4], 3
cmp eax, dword [edi + 8]
je 0x420c1e
mov dword [eax], esi
test esi, esi
je 0x420c18
mov ecx, esi
call fcn.0049c480
add dword [edi + 4], 4
jmp 0x420c2d
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.004206d0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
test esi, esi
je 0x420c3b
mov ecx, esi
call fcn.0049c480
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00420980
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
cmp byte [eax + 0xd], 0
jne 0x420c77
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
call fcn.0049c310
test al, al
je 0x420cde
cmp dword [ebx + 4], 0xaaaaaaa
je 0x420d12
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ebx
push 0x18
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], 0
call fcn.004a0e21
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
mov dword [edi + 0x10], ecx
test ecx, ecx
je 0x420cb9
call fcn.0049c480
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x34]
mov dword [edi], eax
push dword [ebp - 0x38]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.0041f640
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x420cee
call fcn.0049c750
mov byte [ebp - 4], 9
test esi, esi
je 0x420cfd
mov ecx, esi
call fcn.0049c750
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041f830
int3
Function at 0x422120
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd1a7
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x4de5a8
mov dword [ebp - 0x21c], edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xc
call fcn.004a0e21
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4221ad
lea eax, [ebp - 0x218]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x4221d9
jmp 0x4221af
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [edi], esi
test esi, esi
je 0x4221e3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004a2850
push 0x8007000e
call fcn.004a2850
int3

Function at 0x4221f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
push eax
push 4
push 0
push 0x4de5dc
push esi
mov dword [ebp - 4], 0x9c26c
call edi
lea eax, [ebp - 0xc]
push eax
push 0x4de600
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
call esi
push 0x36
push 0x4de614
push 1
push 0
push 0x4de64c
push dword [ebp - 0xc]
call edi
lea eax, [ebp - 8]
push eax
push 0x4de614
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 0xc]
mov edx, 0x4de66c
test eax, eax
cmovne edx, eax
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422261
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0x4de67c
push dword [ebp - 8]
call edi
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
push 0
push 0x4de690
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4222c0
Capabilities:
Delete file
Delete registry key
Delete registry value
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x21c]
push eax
push 0x4de760
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4223eb
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x4de9e8
push dword [ebp - 0x21c]
call esi
push 0x4dea00
push dword [ebp - 0x21c]
call esi
push 0x4dea14
push dword [ebp - 0x21c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4de7b8
push dword [ebp - 0x21c]
call esi
push 0x4de7c4
push dword [ebp - 0x21c]
call esi
push 0x4de7e0
push dword [ebp - 0x21c]
call esi
push 0x4de7fc
push dword [ebp - 0x21c]
call esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4dea20
lea ecx, [ebp - 0x224]
call fcn.00421f20
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00421fc0
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.00402620
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4223d7
mov eax, dword [eax]
jmp 0x4223d9
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x422b80
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd307
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x104
push eax
mov dword [ebp - 0x424], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4de69c
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x4de6b8
push eax
call fcn.00402420
lea eax, [ebp - 0x218]
push eax
push 0x4de6d4
call fcn.00422d50
add esp, 0x18
test al, al
jne 0x422cdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x422cdd
cmp byte [ebp + 0xc], 0
je 0x422c3c
push 0
mov ecx, esi
call fcn.00421f20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
push 0x4de69c
lea eax, [ebp - 0x420]
push 0x4de6ec
push eax
call fcn.00402420
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
push 0x4de6d4
call fcn.00422d50
add esp, 8
test al, al
jne 0x422cd1
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4de69c
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x4dd150
push eax
call fcn.00402420
lea eax, [ebp - 0x218]
push eax
push 0x4de6d4
call fcn.00422d50
add esp, 0x18
test al, al
je 0x422c16
lea eax, [ebp - 0x218]
push eax
jmp 0x422c18
push 0xc
call fcn.004a0e21
mov edi, eax
add esp, 4
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x422d1d
lea eax, [ebp - 0x218]
mov dword [edi + 4], 0
push eax
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x422d3a
jmp 0x422d1f
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
test edi, edi
jne 0x422c1f
push 0x8007000e
call fcn.004a2850
push 0x8007000e
call fcn.004a2850
int3
Function at 0x422d50
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 0x4de590
push dword [ebp + 8]
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x422de8
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push edi
mov dword [ebp - 8], eax
call esi
push 0x4de5a0
lea eax, [ebp - 4]
push edi
push eax
call fcn.004b4a56
add esp, 0xc
push 0x82
push edi
call esi
mov eax, dword [ebp - 4]
pop esi
test eax, eax
je 0x422de8
push eax
push ebx
push 1
push dword [ebp - 8]
call fcn.004b4eb7
push dword [ebp - 4]
call fcn.004b4bc2
add esp, 0x14
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 4], 4
push eax
push 0x4de760
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x422e41
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4de7e0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4295a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], edi
mov dword [edi], eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
call fcn.0049c580
push eax
push esi
call fcn.0049c710
mov dword [edi + 0x10], eax
add esp, 0xc
cmp dword [edi], 0
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x28], 0
je 0x42969c
test ebx, ebx
je 0x42962e
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
jmp 0x429644
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x1c], eax
call esi
cdq
sub eax, edx
push 2
sar eax, 1
push ebx
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov esi, eax
mov dword [edi + 0x28], esi
test esi, esi
je 0x429683
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x429683
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x429667
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push 0x41d9d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf002
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov byte [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x186a0
mov byte [ebp - 4], 1
call fcn.00421c00
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0xc
mov byte [ebp - 4], 4
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.004a0e21
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x44], eax
push 0xc
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.004a0e21
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x4c], eax
lea ebx, [edi + 0x54]
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a0e21
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
mov byte [ebp - 4], 8
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
jae 0x4364b8
push 0xa
mov ecx, ebx
call fcn.00439170
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0x12
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x84]
push esi
call ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea esi, [edi + 0xb0]
push esi
call ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea esi, [edi + 0xe0]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a0e21
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
push 0x18
mov byte [ebp - 4], 0xf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004a0e21
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439ff0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x130a
push dword [eax + 0x24]
movups xmmword [ebp - 0x14], xmm0
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub eax, 0xd
cdq
sub eax, edx
push 0
mov edi, eax
mov eax, dword [ebp - 0x18]
push 0
push 0x130b
sar edi, 1
push dword [eax + 0x24]
call esi
cmp dword [ebp + 8], eax
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov esi, 4
cmove esi, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edi
sub edx, esi
lea eax, [ecx + 0xd]
push eax
push edx
push ecx
lea eax, [edx - 0xe]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 8