joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414bf0
Capabilities:
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b5b3
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 4], 0
push SysReAllocString
mov dword [ebp - 0x120], 0x400
mov dword [ebp - 0x124], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414c8c
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x11c]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x124]
push eax
push 0
push str.Startup
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00427d68
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414ca6
push 0x80004005
call fcn.00403150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.00403220
mov esi, dword [ebp - 0x118]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d08
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 0x414d2e
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 esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
Function at 0x415020
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b79b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x59b320
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
call fcn.00401ed0
push 0x9c
lea eax, [ebp - 0xac]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00526590
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [ebp - 0xac]
push ecx
mov dword [ebp - 0xac], 0x9c
call esi
test eax, eax
jne 0x4150bb
lea edx, [ebp - 0xac]
push edx
mov dword [ebp - 0xac], 0x94
call esi
test eax, eax
je 0x415203
mov eax, dword [ebp - 0x9c]
sub eax, 0
je 0x4151f1
dec eax
mov esi, 4
je 0x415156
dec eax
jne 0x415203
cmp dword [ebp - 0xa8], esi
ja 0x4150f5
push 0x59c328
lea ecx, [ebp - 0xb0]
call fcn.00402e40
cmp dword [ebp - 0xa8], 5
jne 0x415144
cmp dword [ebp - 0xa4], 0
jne 0x415120
push str._2000
lea ecx, [ebp - 0xb0]
call fcn.00402e40
cmp dword [ebp - 0xa8], 5
jne 0x415144
cmp dword [ebp - 0xa4], 1
jb 0x415203
push 0x59c334
lea ecx, [ebp - 0xb0]
call fcn.00402e40
cmp dword [ebp - 0xa8], 5
jbe 0x415156
push 0x59c014
lea ecx, [ebp - 0xb0]
call fcn.00402e40
cmp dword [ebp - 0xa8], esi
jne 0x415203
cmp dword [ebp - 0xa4], 0
jne 0x41519c
push 0x59c338
lea ecx, [ebp - 0xb0]
call fcn.00402e40
cmp byte [ebp - 0x97], 0x43
jne 0x415194
push str.OSR2
lea ecx, [ebp - 0xb0]
call fcn.00402120
cmp dword [ebp - 0xa8], esi
jne 0x415203
cmp dword [ebp - 0xa4], 0xa
jne 0x4151d6
push 0x59c344
lea ecx, [ebp - 0xb0]
call fcn.00402e40
cmp byte [ebp - 0x97], 0x41
jne 0x4151ce
push 0x59c348
lea ecx, [ebp - 0xb0]
call fcn.00402120
cmp dword [ebp - 0xa8], esi
jne 0x415203
cmp dword [ebp - 0xa4], 0x5a
jne 0x415203
push 0x59c34c
lea ecx, [ebp - 0xb0]
call fcn.00402e40
jmp 0x415203
push 3
push 0x59c350
lea ecx, [ebp - 0xb0]
call fcn.00402d60
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
push eax
call fcn.00402c90
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415243
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
Function at 0x415260
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4152a9
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4152b9
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x415307
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00523519
mov esp, ebp
pop ebp
ret
Function at 0x415a90
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c72c
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5cc050]
xor ebx, ebx
cmp eax, ebx
je 0x415ad7
push eax
call fcn.0052549e
add esp, 4
mov dword [0x5cc050], ebx
mov eax, dword [0x5cc054]
cmp eax, ebx
je 0x415aef
push eax
call fcn.0052549e
add esp, 4
mov dword [0x5cc054], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
push str.SetupBox.exe
call fcn.00401ed0
lea eax, [ebp - 0x11c]
push eax
call fcn.00411b90
add esp, 8
mov dword [ebp - 4], ebx
cmp dword [0x5cc048], ebx
jne 0x415b46
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [ebp - 0x11c]
push ebx
push edx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x415b9f
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
push str.SetupBox.exe
call fcn.00401ed0
lea ecx, [ebp - 0x124]
push ecx
call fcn.00411c70
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
add esp, 8
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
push str._Boot
call fcn.00401ed0
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x12c], esp
push 0x59c460
call fcn.00401ed0
mov byte [ebp - 4], 2
mov eax, dword [0x5cc0dc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x128], esp
mov esi, esp
push eax
call fcn.00402c90
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx - 8]
mov eax, 1
sub eax, dword [ecx - 4]
or edx, eax
jge 0x415c17
push ebx
lea ecx, [ebp - 0x11c]
call fcn.004030b0
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 4], bl
call fcn.00414d50
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax - 8]
add esp, 0xc
push ecx
push eax
call fcn.00523cc8
add esp, 8
cmp eax, ebx
jl 0x415c94
mov ecx, dword [ebp - 0x11c]
cmp eax, dword [ecx - 8]
jg 0x415c94
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x11c]
mov byte [eax + ecx], bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415c79
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 esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403150
int3
Function at 0x424e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb50
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 4], 0
push ebx
push esi
mov ebx, ecx
jne 0x424e5f
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x424e66
lea ebx, [edi + 8]
push ebx
call fcn.00425040
add esp, 4
test al, al
je 0x424e4d
lea esi, [ebp - 0xb48]
mov ecx, edi
call fcn.00424d20
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
lea ecx, [ebp - 0xb48]
cmp byte [eax + ecx - 1], 0x5c
jne 0x424eaa
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x110]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x110]
cmp byte [eax + ecx - 1], 0x5c
je 0x424ede
push 0x59b77c
mov edx, ecx
push edx
call esi
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0x110]
push ecx
call esi
lea eax, [ebp - 0x110]
call fcn.004250d0
test al, al
je 0x424e4d
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424e4d
mov eax, dword [edi + 4]
push eax
call fcn.005564b0
test eax, eax
jne 0x424e4d
lea esp, [esp]
mov edx, dword [edi + 4]
push 0x800
lea ecx, [ebp - 0x910]
push ecx
push edx
call fcn.00555e20
mov esi, eax
test esi, esi
jle 0x424f8c
push 0
lea eax, [ebp - 0xb4c]
push eax
push esi
lea ecx, [ebp - 0x910]
push ecx
push ebx
mov dword [ebp - 0xb4c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424f89
cmp dword [ebp - 0xb4c], esi
je 0x424f40
or esi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 4]
push edx
call fcn.00556020
test esi, esi
jne 0x424fb1
mov ecx, dword [ebp - 0x930]
lea eax, [ebp - 0x110]
call fcn.00425110
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.00523519
mov esp, ebp
pop ebp
ret

Function at 0x425040
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4250c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4250c0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42506e
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete al
pop edi
pop ebp
ret
push esi
push edi
call fcn.0052605e
mov esi, eax
push 0x5c
push esi
call fcn.00525cb0
add esp, 0xc
test eax, eax
je 0x4250ba
push esi
mov byte [eax], 0
call fcn.00425040
add esp, 4
push esi
test al, al
jne 0x4250a5
call fcn.00523a9e
add esp, 4
pop esi
xor al, al
pop edi
pop ebp
ret
call fcn.00523a9e
add esp, 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42509f
pop esi
mov al, 1
pop edi
pop ebp
ret
xor al, al
pop edi
pop ebp
ret
Function at 0x425110
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
jne 0x425140
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x4251a6
lea ecx, [ebp - 0x10]
push ecx
push esi
shr esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x4251a6
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x4251a6
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb1c
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 4], 0
push edi
mov edi, ecx
jne 0x42525d
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
push 0x59dadc
push edi
call fcn.005260d0
add esp, 8
cmp eax, edi
je 0x42524c
push ebx
push 0x3a
push edi
call fcn.00526170
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 8
test eax, eax
push edi
lea eax, [ebp - 0x20c]
push eax
setne byte [ebp - 0xb11]
call ebx
lea ecx, [ebp - 0x20c]
push 0x3a
push ecx
call fcn.00526170
add esp, 8
test eax, eax
jne 0x4252d7
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x310]
push eax
call ebx
push 0
lea ecx, [ebp - 0x310]
push ecx
lea edx, [esi + 8]
push edx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005260b0
add esp, 0x14
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.00526590
add esp, 0xc
cmp byte [ebp - 0xb11], 0
je 0x42532f
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push edi
call fcn.00526310
add esp, 0xc
test eax, eax
jne 0x42537b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, edi
push eax
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x425358
push 0x59dae0
push edi
call fcn.005260d0
add esp, 8
cmp eax, edi
jne 0x42534e
add edi, 2
push edi
lea eax, [ebp - 0x108]
push eax
jmp 0x425356
push edi
lea ecx, [ebp - 0x108]
push ecx
call ebx
push 0
push 1
push 3
push 0
push 0
push SysReAllocString
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42538d
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523519
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.00557160
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x42541a
inc dword [esi + 0x110]
mov dword [ebp - 0xb1c], eax
mov dword [ebp - 0xb18], eax
push 0
lea edx, [ebp - 0xb1c]
push edx
push 0x800
lea eax, [ebp - 0xb10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42540e
mov eax, dword [ebp - 0xb1c]
add dword [ebp - 0xb18], eax
test eax, eax
je 0x42540e
mov edx, dword [esi + 4]
push eax
lea ecx, [ebp - 0xb10]
push ecx
push edx
call fcn.00556780
mov edi, eax
test edi, edi
je 0x4253c7
mov eax, dword [ebp - 0xb18]
add dword [esi + 0x118], eax
mov ecx, dword [esi + 4]
push ecx
call fcn.00556ac0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop ebx
xor ecx, ebp
pop edi
call fcn.00523519
mov esp, ebp
pop ebp
ret
Function at 0x4317f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x431839
call fcn.0042a861
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x431839
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x431855
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004312f7
mov esi, eax
test edi, edi
je 0x431853
test ebx, ebx
je 0x431853
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43317a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x568f55
call fcn.005269ee
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43319f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4331f1
call fcn.00427d68
push eax
lea ecx, [ebp - 0x10]
call fcn.00402f40
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00526cef
push eax
call fcn.004021d0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402fc0
mov eax, esi
call fcn.00526ac6
ret 8

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0042fd54
call fcn.00402590
cmp eax, esi
pop esi
jne 0x435b9b
mov ecx, 0x5c7460
jmp fcn.0043e6a1
ret

Function at 0x43670e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042a861
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x436747
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00436350
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4367a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4367c9
cmp dword [edi + 0x74], 0
jne 0x4367c9
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0042a861
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00436766
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x437246
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00436f05
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x437290
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00428d40
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405f30
jmp 0x43729b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043b47e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4372a1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00432a23
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4372de
call fcn.00436f05
mov dword [esi + 0xc], 1
jmp 0x4372e3
call fcn.00436f05
cmp dword [esi], 0
je 0x43732c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x437304
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00428d40
jmp 0x437316
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00403110
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405f30
jmp 0x437350
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x437350
push dword [esi]
push dword [ebp + 8]
call fcn.0043b47e
pop esi
pop ebp
ret 0xc
Function at 0x4380c5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c1c00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x43810d
push 0x574260
push 4
push eax
call fcn.00525cdd
push eax
call fcn.004021d0
add esp, 0x10
jmp 0x438123
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4381a6
push edi
call fcn.0052707e
mov edi, dword [eax]
call fcn.0052707e
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005255b4
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0052707e
cmp dword [eax], 0
je 0x43817a
call fcn.0052707e
push dword [eax]
call fcn.004271b7
pop ecx
jmp 0x438181
call fcn.0052707e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x4381a6
cmp dword [ebp - 0x11c], esi
jae 0x4381a6
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4381a8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00523519
leave
ret