joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420480
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f390
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48e110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edi
cmp dword [eax - 0xc], edi
jne 0x4204f1
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4204db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 8
add eax, 0xfffffff0
call fcn.004033b0
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x420527
mov eax, 0x104
lea ecx, [ebp - 0x10]
call fcn.00403240
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0045ae41
add esp, 8
cmp eax, edi
jl 0x4205f1
cmp eax, dword [esi - 8]
jg 0x4205f1
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ecx, ecx
mov dword [esi - 0xc], eax
push 1
mov word [esi + eax*2], cx
call edi
lea edx, [ebp - 0x20]
push edx
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x420591
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
shrd edx, eax, 0x14
shr eax, 0x14
mov dword [ecx], edx
mov dword [ebp - 0x14], 1
push ebx
call edi
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4205b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4205da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401950
int3
Function at 0x421b30
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d650
mov eax, dword fs:[0]
push eax
sub esp, 0xc8c
mov eax, dword [0x48e110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc94], ecx
test esi, esi
je 0x421d30
test edi, edi
je 0x421d30
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421b91
push edi
call fcn.004022d0
add esp, 4
push 0x476940
push esi
push 0x476914
lea eax, [ebp - 0xa40]
push 0x104
push eax
mov ebx, 1
call fcn.0045ac31
add esp, 0x14
lea ecx, [ebp - 0xc90]
push ecx
lea edx, [ebp - 0xa40]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc98], eax
cmp eax, 0xffffffff
je 0x421d30
cmp word [ebp - 0xc64], 0x2e
je 0x421d03
test byte [ebp - 0xc90], 0x10
je 0x421c98
lea eax, [ebp - 0xc64]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x220]
push 0x104
push ecx
call fcn.0045ac31
add esp, 0x14
lea eax, [ebp - 0xc64]
push eax
push edi
push str._s_s_
lea ecx, [ebp - 0x630]
xor edx, edx
push 0x104
push ecx
mov word [ebp - 0x1a], dx
call fcn.0045ac31
add esp, 0x14
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x220]
xor edx, edx
push ecx
mov ecx, dword [ebp - 0xc94]
mov word [ebp - 0x42a], dx
call fcn.00421b30
jmp 0x421d01
lea edx, [ebp - 0xc64]
push edx
push esi
push 0x476914
lea eax, [ebp - 0x838]
push 0x104
push eax
call fcn.0045ac31
add esp, 0x14
lea edx, [ebp - 0xc64]
push edx
push edi
push 0x476914
lea eax, [ebp - 0x428]
xor ecx, ecx
push 0x104
push eax
mov word [ebp - 0x632], cx
call fcn.0045ac31
add esp, 0x14
xor ecx, ecx
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x838]
push eax
mov word [ebp - 0x222], cx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
mov edx, dword [ebp - 0xc98]
lea ecx, [ebp - 0xc90]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421bdf
mov eax, dword [ebp - 0xc98]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x421d32
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 - 0x14]
xor ecx, ebp
call fcn.0045a10c
mov esp, ebp
pop ebp
ret 8
Function at 0x422620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f8a0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x48e110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ebx, 0x478048
call fcn.00402c10
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov ebx, 1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
push ecx
push str._s__Module_AllTask___From_Install_
lea edi, [ebp + 8]
call fcn.00413e20
mov esi, dword [ebp + 8]
add esp, 8
cmp dword [esi - 4], ebx
jle 0x4226b0
mov edx, dword [esi - 0xc]
push edx
mov eax, edi
push eax
call fcn.00403180
mov esi, dword [ebp + 8]
push 0x40
lea ecx, [ebp - 0x68]
push 0
push ecx
call fcn.0045c960
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x6c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42270c
mov ecx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x20]
push edx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0045ae41
add esp, 8
test eax, eax
js 0x422784
cmp eax, dword [esi - 8]
jg 0x422784
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [esi - 0x10]
mov byte [ebp - 4], cl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42274a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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 4
push 0x80070057
call fcn.00401950
int3
Function at 0x426aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, ebx
sub eax, 0x46a
push edi
mov esi, ecx
je 0x426ac2
dec eax
jne 0x426af4
call fcn.00426b40
jmp 0x426af4
mov ecx, dword [esi + 0x17c]
push esi
call fcn.00426c10
push 0
push 0
push esi
push 0x426bb0
push 0
push 0
mov dword [esi + 0x264], 1
call fcn.0045afe3
add esp, 0x18
mov dword [esi + 0x268], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004326f0
cmp dword [ebp + 0xc], 5
mov ebx, eax
jne 0x426b2b
mov edx, dword [esi]
mov edx, dword [edx + 0xa8]
movsx eax, di
shr edi, 0x10
movsx ecx, di
push ecx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call edx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x426b40
Capabilities:
Terminate thread

Disassembly:
cmp dword [esi + 0x264], 0
je 0x426bac
mov eax, dword [esi + 0x268]
push 0x3e8
push eax
mov dword [esi + 0x264], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x426b7b
mov ecx, dword [esi + 0x268]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x268]
test eax, eax
je 0x426b96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x268], 0
cmp dword [esi + 0x190], 0
lea ecx, [esi + 0x144]
je 0x426bac
push 7
call fcn.00435220
ret

Function at 0x426e80
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 0x2c0], 0
mov dword [esi], vtable.CMainFrame.0
mov dword [esi + 0x70], vtable.CMainFrame.1.0
mov dword [esi + method.CMainFrame.2.virtual_0], vtable.CMainFrame.2.0
mov dword [esi + method.CMainFrame.3.virtual_0], vtable.CMainFrame.3.0
mov dword [esi + method.CChildWindow_Welcome.4.virtual_0], vtable.CMainFrame.4.0
mov dword [esi + method.ATL::CComContainedObject_class_ATL::CAxHostWindow_.8.virtual_20], vtable.CMainFrame.5.0
mov dword [esi + method.CMainFrame.6.virtual_0], vtable.CMainFrame.6.0
mov dword [esi + method.CSkinMainFrame.virtual_0], vtable.CMainFrame.7.0
je 0x426f1c
mov eax, dword [esi + 0x2c4]
push 0x3e8
push eax
mov byte [esi + 0x2c0], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x426f01
mov ecx, dword [esi + 0x2c4]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x2c4]
test eax, eax
je 0x426f1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c4], 0
mov ecx, esi
jmp fcn.0043b660
Function at 0x427460
Capabilities:
Create thread

Disassembly:
mov eax, dword [edi + 0x70]
mov edx, dword [eax + 0x3c]
push 0
push 0x490838
push 0x4907dc
lea ecx, [edi + 0x70]
push 0
push 0x1250127
call edx
push eax
call fcn.0046ad48
add esp, 0x14
test eax, eax
je 0x427528
push esi
push 0
push 0x490838
lea ecx, [eax + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0x4907dc
push 0
push 0x812b897
call edx
push eax
call fcn.0046ad48
mov esi, eax
add esp, 0x14
test esi, esi
je 0x427527
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push 0
mov ecx, esi
call edx
mov eax, dword [esi + 0x70]
mov edx, dword [eax + 0x3c]
push 0
push 0x490858
push 0x4907dc
lea ecx, [esi + 0x70]
push 0
push 0x2bd4179
call edx
push eax
call fcn.0046ad48
add esp, 0x14
test eax, eax
je 0x427527
push 0
push 0x490b94
lea ecx, [eax + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0x4907dc
push 0
push 0x30a3dd9
call edx
push eax
call fcn.0046ad48
add esp, 0x14
test eax, eax
je 0x427527
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x50]
push 0
call eax
pop esi
push 0
push 0
push edi
push 0x4272c0
push 0
push 0
mov byte [edi + 0x2c0], 1
call fcn.0045afe3
add esp, 0x18
mov dword [edi + 0x2c4], eax
ret
Function at 0x429580
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]
test esi, esi
jns 0x42959b
push 0x80070057
call fcn.00401950
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x4295b7
mov eax, esi
mov ecx, edi
call fcn.00403240
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4295de
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4295e2
push ecx
push eax
call fcn.0045ae41
add esp, 8
test eax, eax
js 0x429591
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x429591
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
ret

Function at 0x429ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.00441e80
Function at 0x42baf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cbcb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x48e110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 4], edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x218]
mov eax, dword [eax]
or ebx, 0x2001f
mov dword [ebp - 0x228], edi
cmp esi, edi
je 0x42bb72
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.0042ba10
xor edi, edi
jmp 0x42bb83
lea edx, [ebp - 0x228]
push edx
push ebx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x42bc7c
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x42bba6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x228]
and ebx, 0x300
mov dword [ebp - 0x21c], edi
mov esi, eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ebx
cmp eax, edi
jne 0x42bc7c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push edi
push ecx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
jne 0x42bc4c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0042baf0
mov ebx, eax
cmp ebx, edi
jne 0x42bcc0
lea edx, [ebp - 0x238]
push edx
mov edx, dword [ebp - 0x220]
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
je 0x42bc00
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x42bc63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], edi
call fcn.0042bd60
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x42bc9a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, esi
mov dword [ebp - 0x21c], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045a10c
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x42bcde
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x42bc9c
Function at 0x42cab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fdf6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x48e110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 1
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x42cb2c
call fcn.0040feb0
mov edi, eax
jmp 0x42cc53
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42cb45
call fcn.0040feb0
jmp 0x42cc4a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x42cb63
call fcn.0040feb0
jmp 0x42cc4a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x42cb84
mov edi, 0x8007000e
jmp 0x42cc4c
mov byte [ebp - 4], 2
xor ecx, ecx
shld ecx, eax, 1
mov dword [ebp - 0x434], ecx
add eax, eax
mov dword [ebp - 0x438], eax
test ecx, ecx
jne 0x42cba5
cmp eax, 0xffffffff
jbe 0x42cbaf
push 0x80070216
call fcn.00401950
cmp eax, 0x400
jbe 0x42cbcb
lea ecx, [ebp - 0x418]
push ecx
call fcn.0042b380
mov dword [ebp - 4], 1
jmp 0x42cbff
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x42cbff
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x42cc10
mov edi, 0x8007000e
jmp 0x42cc4c
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42cc29
call fcn.0040feb0
jmp 0x42cc4a
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0042c910
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x42cc70
lea eax, [ebp - 0x418]
call fcn.0042b370
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045a10c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 8]
push edi
mov edi, ecx
mov byte [edi + 0x28], al
test al, al
je 0x42d787
mov eax, dword [edi + 4]
mov byte [edi + 0x24], 0
mov word [edi + 0x29], 0
test eax, eax
je 0x42d787
call fcn.00428a40
push ebx
mov ebx, dword [edi + 0x78]
sub ebx, dword [edi + 0x74]
xor eax, eax
sar ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x42d7f3
push esi
jmp 0x42d7a0
mov ecx, dword [edi + 0x74]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x42d7e7
cmp dword [esi + 0x14], 1
je 0x42d7e7
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
push eax
mov ecx, esi
call edx
cmp byte [ebp + 8], 0
je 0x42d7e7
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x42d7dc
push eax
lea eax, [edi + 0x194]
push eax
mov eax, esi
call fcn.004341f0
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 0
mov ecx, esi
call eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d7a0
pop esi
cmp byte [ebp + 8], 0
pop ebx
jne 0x42d816
cmp byte [edi + 0x24], 0
mov byte [edi + 0x21c], 0
jne 0x42d816
mov ecx, dword [edi + 0x1a0]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x430840
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f06d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48e110]
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 esi, ecx
lea ebx, [esi + 0x20c]
push ebx
mov dword [ebp - 0x28], esi
mov edi, edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x430982
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov dword [ebp - 4], 0
lea eax, [esi + 0x1d0]
lea esi, [ebp - 0x24]
call fcn.00403420
mov ecx, 1
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
jne 0x43090b
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4308d1
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.00403240
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push 0x104
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0045ae41
add esp, 8
test eax, eax
js 0x43099e
cmp eax, dword [esi - 8]
jg 0x43099e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
test eax, eax
je 0x43096f
mov edx, dword [0x49298c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1f8]
mov eax, dword [ecx + 0x190]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
push 0x24
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push esi
sub ebx, 2
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00403440
mov dword [ebp - 4], 0xffffffff
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.0045a10c
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401950
int3
Function at 0x4320d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x48e110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
push edx
call eax
test eax, eax
je 0x432182
mov eax, dword [eax + 4]
add eax, 0x58
lea esi, [esp + 8]
call fcn.00403420
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [0x49291c]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00446d00
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.0042ef40
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, esi
call fcn.00403440
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df9c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x48e110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], vtable.CDrawCache.0
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x10], ebx
mov byte [ebp - 4], 1
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 2
lea esi, [edi + 0x48]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00403390
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x4c], ebx
mov dword [ebp - 4], 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 4