joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4981ec]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
push ecx
push 0x103
lea ecx, [ebp - 0x10]
call fcn.004447e0
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
push eax
push edx
push esi
mov esi, dword [ebp + 0x14]
push esi
push edi
call ebx
cmp eax, 0xea
jne 0x41c90f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
dec ecx
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.004447e0
lea edx, [ebp - 0x18]
push eax
push edx
push 0
push esi
push edi
call ebx
pop edi
pop esi
test eax, eax
pop ebx
jne 0x41c91d
mov eax, dword [ebp - 0x14]
dec eax
push eax
jmp 0x41c91f
push 0
lea ecx, [ebp - 0x10]
call fcn.00444860
lea ecx, [ebp - 0x10]
call fcn.00444980
push 0x4928f4
lea ecx, [ebp - 0x10]
call fcn.0043d420
test eax, eax
jle 0x41c950
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00444260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41d3d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
push ecx
push 0x2001f
push edi
push edx
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x41d43c
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp ecx, edi
je 0x41d42e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp eax, edi
mov esi, eax
mov dword [ebp - 0x10], ecx
je 0x41d44d
jmp 0x41d43f
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x41d4de
push ecx
jmp 0x41d4d8
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edi
lea edx, [ebp - 0x14]
push edi
lea eax, [ebp - 0x124]
push edx
push eax
push edi
push ecx
mov dword [ebp - 0x14], 0x100
call esi
test eax, eax
jne 0x41d4b0
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041d3d0
mov ebx, eax
cmp ebx, edi
jne 0x41d4f3
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x10]
push edi
push edi
push edi
lea ecx, [ebp - 0x124]
push eax
push ecx
push edi
push edx
mov dword [ebp - 0x14], 0x100
call esi
test eax, eax
je 0x41d474
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41d4c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41d4de
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41d501
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f170
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41f1ae
push 0x141
push 0x492fbc
push 0x492ff0
push 0x49300c
call fcn.00423ce0
add esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x24]
mov eax, 1
shl eax, cl
test edx, eax
je 0x41f328
mov bl, cl
push 1
add bl, 0x41
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x14], bl
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043cb30
push 0x49301c
lea ecx, [ebp - 0x10]
xor esi, esi
push eax
push ecx
mov dword [ebp - 4], esi
call fcn.004445c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00444260
lea edx, [ebp - 0x10]
push edx
call fcn.004136c0
add esp, 4
cmp eax, 2
je 0x41f228
cmp eax, 3
jne 0x41f316
xor ecx, ecx
cmp eax, 3
sete cl
mov eax, ecx
xor edi, edi
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x41f25c
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042c030
mov edi, eax
add esp, 4
cmp edi, 7
je 0x41f253
cmp edi, 4
jne 0x41f25a
mov esi, 1
jmp 0x41f25c
xor esi, esi
cmp bl, 0x43
jl 0x41f349
push 0
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00413680
add esp, 0xc
test eax, eax
jne 0x41f281
test esi, esi
je 0x41f349
mov esi, 1
mov edi, 1
mov edx, dword [ebp - 0x14]
push 1
push edx
lea ecx, [ebp - 0x30]
call fcn.0043cb30
push 0x493020
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.004445c0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00444260
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41f30a
test edi, edi
je 0x41f30a
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
cmp edi, eax
jl 0x41f2f1
push 0x175
push 0x493024
push 0x493058
push 0x493074
call fcn.00423ce0
add esp, 0x10
mov edx, dword [ebp + 8]
inc edi
test esi, esi
mov byte [edi + edx - 1], bl
mov dword [ebp - 0x1c], edi
je 0x41f30a
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x41f30a
mov byte [eax], bl
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00444260
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00444260
mov ecx, dword [ebp - 0x18]
inc ecx
cmp ecx, 0x20
mov dword [ebp - 0x18], ecx
jl 0x41f1c6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
xor esi, esi
test eax, eax
je 0x41f35f
test edi, edi
jne 0x41f35f
cmp bl, 0x45
jge 0x41f286
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f385
test eax, eax
jne 0x41f286
push eax
lea ecx, [ebp - 0x10]
push 1
push ecx
call fcn.00413680
add esp, 0xc
test eax, eax
jne 0x41f286
xor edi, edi
jmp 0x41f28b
Function at 0x421410
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49bebc]
mov dword [ebp - 4], ecx
cmp eax, 0xffffffff
jne 0x421434
push 0
push 0
push 0x4e
push 0x4919cc
call fcn.0041f390
add esp, 0x10
mov eax, dword [0x49bebc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push edi
push eax
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42146a
push 0x50
push 0x4919cc
push 0x4919b0
push 0x4919a0
call fcn.00423ce0
add esp, 0x10
test esi, esi
jne 0x4214ea
mov ecx, dword [0x49bebc]
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x4214ea
push 0x2c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x42149e
push eax
push eax
push 0x3c
push 0x4919cc
call fcn.0041f390
add esp, 0x10
mov edx, dword [0x49bebc]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4214c9
push 0x3e
push 0x4919cc
push 0x4919b0
push 0x4919a0
call fcn.00423ce0
add esp, 0x10
test esi, esi
jne 0x4214ea
push 0x55
push 0x4919cc
push 0x4919b0
push 0x4919a0
call fcn.00423ce0
add esp, 0x10
xor edi, edi
jmp 0x4214ed
mov edi, dword [esi + 0x1c]
mov eax, dword [0x49bebc]
inc edi
cmp eax, 0xffffffff
jne 0x42150b
push 0
push 0
push 0x65
push 0x4919cc
call fcn.0041f390
add esp, 0x10
mov eax, dword [0x49bebc]
push eax
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x421538
push 0x67
push 0x4919cc
push 0x4919b0
push 0x4919a0
call fcn.00423ce0
add esp, 0x10
test esi, esi
jne 0x4215c2
mov ecx, dword [0x49bebc]
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x4215c2
push 0x2c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x421570
push eax
push eax
push 0x3c
push 0x4919cc
call fcn.0041f390
add esp, 0x10
mov edx, dword [0x49bebc]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42159b
push 0x3e
push 0x4919cc
push 0x4919b0
push 0x4919a0
call fcn.00423ce0
add esp, 0x10
test esi, esi
jne 0x4215c2
push 0x6c
push 0x4919cc
push 0x4919b0
push 0x4919a0
call fcn.00423ce0
mov eax, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [esi + 0x1c], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421fb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42209b
mov eax, dword [ebp - 0x1c]
mov edi, eax
test eax, eax
mov dword [ebp - 4], edi
je 0x42209b
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, eax
test esi, esi
jbe 0x42209b
cmp esi, 0x104
jae 0x42209b
lea edx, [esi - 1]
test edx, edx
jl 0x422022
cmp byte [edx + ebx], 0x5c
je 0x422022
dec edx
jns 0x422019
inc edx
xor eax, eax
cmp edx, esi
jge 0x422043
mov edi, edx
mov ecx, ebx
sub edi, ebx
mov bl, byte [ecx + edx]
inc eax
mov byte [ecx], bl
inc ecx
lea ebx, [edi + ecx]
cmp ebx, esi
jl 0x42202f
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov byte [eax + ebx], 0
mov eax, dword [edi + 0x3c]
add eax, edi
je 0x42209b
xor ecx, ecx
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
test edx, edx
je 0x42209b
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 6]
sub ebx, edi
test ecx, ecx
mov dword [ebp + 0xc], 0
jbe 0x42209b
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov edi, dword [eax - 4]
cmp edx, esi
ja 0x422083
mov edx, esi
cmp ebx, edi
jb 0x42208d
add edx, edi
cmp ebx, edx
jbe 0x4220a4
mov edx, dword [ebp + 0xc]
add eax, 0x28
inc edx
cmp edx, ecx
mov dword [ebp + 0xc], edx
jb 0x422075
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
inc edx
sub ebx, edi
mov dword [eax], edx
pop edi
mov dword [ecx], ebx
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4225d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x49c1cc]
push esi
test eax, eax
je 0x4225f6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
call eax
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42260c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x110]
push 0
push edx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, eax
test esi, esi
je 0x4227a3
cmp esi, 0x104
jb 0x422644
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x4227a3
lea ecx, [ebp - 0x318]
push 0x104
push ecx
lea edx, [ebp - 0x110]
push 0xffffffffffffffff
push edx
push 0
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
sbb eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4226a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x422696
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
xor esi, esi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
lea edx, [ebp + 8]
push 0
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x318]
push edx
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x422712
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x4226f8
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
xor esi, esi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
xor esi, esi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x110]
push edi
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov esi, eax
test esi, esi
jne 0x42273e
mov al, byte [ebp - 0x110]
test al, al
je 0x42273e
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x422775
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [ebp + 0x10]
lea edi, [esi + 1]
cmp edi, eax
jbe 0x422763
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, edi
jmp 0x422775
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x110]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
pop edi
jl 0x42279a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push esi
push 0x495478
push ecx
call fcn.00424210
add esp, 0x10
test eax, eax
je 0x4242be
push esi
call fcn.00424240
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4242bb
push esi
call fcn.00423ed0
add esp, 4
test eax, eax
je 0x4242bb
mov eax, 1
pop esi
pop ebp
ret
mov byte [esi], 0
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4245d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push 0x49c944
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42462f
push edi
push 2
push 0
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4516f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea ecx, [ebp + 8]
call fcn.004440c0
lea ecx, [ebp + 8]
xor ebx, ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.004142d0
add esp, 4
lea ecx, [ebp + 8]
push 0x49553c
call fcn.00444760
mov edx, dword [ebp + 8]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x42480d
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0xb8]
push 0x64
push ecx
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x42480d
mov eax, dword [ebp - 0x10]
cmp eax, 0x1e
jb 0x42480d
cmp eax, 0x64
ja 0x42480d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
lea edx, [ebp - 0xb8]
push 0x495548
push edx
call 0x430c50
add esp, 0xc
test eax, eax
jne 0x42480d
push 0xa
lea eax, [ebp - 0xa4]
push 0x495554
push eax
call 0x430c50
add esp, 0xc
test eax, eax
jne 0x42480d
lea ecx, [ebp - 0xae]
push 0xa
lea edx, [ebp - 0x1c]
push ecx
push edx
call 0x431d20
add esp, 0xc
mov eax, 9
cmp byte [ebp + eax - 0x1c], 0x20
jne 0x42474d
dec eax
jns 0x424743
mov esi, dword [ebp + 0x10]
cmp eax, 5
mov byte [ebp + eax - 0x1b], 0
mov dword [esi], ebx
jl 0x424771
push 0x10
lea eax, [ebp - 0x17]
push ebx
push eax
call 0x431afe
add esp, 0xc
mov dword [esi], eax
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00444450
mov ebx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.004441d0
mov edx, dword [ebp - 0x10]
cmp edx, 0x1e
jbe 0x42480d
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x50]
add edx, 0xffffffe2
rep stosd dword es:[edi], eax
push edx
lea edx, [ebp - 0x9a]
stosw word es:[edi], ax
lea eax, [ebp - 0x50]
push edx
push eax
call 0x431d20
add esp, 0xc
mov esi, 0x31
mov al, byte [ebp + esi - 0x50]
cmp al, 0x20
je 0x4247c5
test al, al
jne 0x4247c8
dec esi
jns 0x4247b9
inc esi
cmp esi, 0x14
jle 0x42480a
push 0xa
lea ecx, [ebp - 0x50]
push 0x495560
push ecx
call 0x430c50
add esp, 0xc
test eax, eax
jne 0x42480a
lea esi, [ebp + esi - 0x5a]
push 0xa
push 0x49556c
push esi
call 0x430c50
add esp, 0xc
test eax, eax
jne 0x42480a
lea edx, [ebp - 0x46]
mov ecx, ebx
push edx
mov byte [esi], al
call fcn.00444450
or edi, 0xffffffff
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00444260
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c2e0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push 0x496df0
call fcn.00415180
test eax, eax
mov dword [esi], eax
je 0x42c361
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x496e00
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi]
push 0x496e1c
push eax
call edi
mov ecx, dword [esi]
push 0x496e2c
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi]
push 0x496e3c
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push 0x496e4c
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x14], eax
test ecx, ecx
pop edi
je 0x42c361
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42c361
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42c361
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42c361
test eax, eax
je 0x42c361
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x42cbb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452451
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx + 4]
test eax, eax
je 0x42cda8
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x42cda8
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42cda8
push 0
push 2
call eax
mov edx, eax
cmp edx, 0xffffffff
mov dword [ebp - 0x10], edx
je 0x42cda8
push esi
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [ebp - 0x154]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x128
push eax
push edx
call dword [ebx + 8]
mov esi, dword [ebp + 8]
test eax, eax
je 0x42cd7a
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, ebx
call fcn.0042ca30
test eax, eax
je 0x42cd5a
cmp dword [ebp - 0x154], 0x24
jbe 0x42cd5a
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x28]
push edx
call fcn.004442e0
mov ecx, dword [ebp - 0x14c]
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004440c0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00444260
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 8]
cmp eax, ebx
jne 0x42ccc9
mov edx, dword [esi + 0x18]
push 0x14
lea eax, [esi + 0x14]
push edx
push eax
call 0x43e7a0
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*4]
dec ecx
cmp ecx, ebx
lea eax, [eax + edx*4 - 0x10]
jl 0x42ccc9
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x42ccbb
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], edi
mov dword [ebx], 0
mov eax, dword [esi + 0xc]
lea edi, [ebx + 8]
inc eax
mov edx, edi
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 0x24], edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [ebp + 8], ecx
mov dword [edx + 8], ecx
mov dword [ebp - 0x2c], edi
test edi, edi
mov byte [ebp - 4], 3
je 0x42cd08
mov ecx, edi
call fcn.0042cdc0
mov eax, dword [ebp + 8]
add edi, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], edi
mov dword [ebp + 8], eax
jne 0x42ccf6
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0xc]
mov dword [ebx + 8], edx
call fcn.004443f0
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x10], ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x42cd42
mov dword [eax], ebx
jmp 0x42cd45
mov dword [esi + 4], ebx
lea ecx, [ebp - 0x18]
mov dword [esi + 8], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00444260
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x154]
push edx
push eax
mov dword [ebp - 0x154], 0x128
call dword [ebx + 0xc]
test eax, eax
jne 0x42cc3a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x42cde0
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4