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

Disassembly:
push 0x21c
mov eax, 0x5536f1
call fcn.0052faf2
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x427a3f
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x427a3f
call fcn.0042b589
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040217f
mov byte [ebp - 4], 2
call fcn.0042b589
push eax
lea ecx, [ebp - 0x224]
call fcn.0040217f
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push str.SOFTWAREEPSONEPSON_Scan_s
push eax
call fcn.004034f1
mov esi, dword [ebp - 0x224]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427975
lea ecx, [esi - 0x10]
call fcn.004021a7
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x427a42
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.0052bfd0
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.Supported
push dword [ebp - 0x220]
mov dword [ebp - 0x228], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
test eax, eax
je 0x4279d0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x427954
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.0052ba99
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401e12
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406fa0
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
je 0x427957
call fcn.004021a7
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
inc eax
jmp 0x427a54
lea ecx, [eax - 0x10]
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
call fcn.0052fb75
ret 8
Function at 0x428e77
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x551ba1
call fcn.0052fa89
xor edi, edi
inc edi
push edi
push 0x1a
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0042b589
push eax
lea ecx, [ebp - 0x10]
call fcn.0040217f
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x587d38
push eax
call fcn.004034f1
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x428ec5
xor edi, edi
lea ecx, [eax - 0x10]
call fcn.004021a7
mov eax, edi
call fcn.0052fb61
ret

Function at 0x428ed5
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x238
mov eax, 0x5536a3
call fcn.0052faf2
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.0042d64f
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.0052bfd0
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x58c0a4
push eax
call fcn.0042b1b0
add esp, 0x18
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0042d6f6
cmp eax, ebx
jne 0x428f64
xor esi, esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.0042d681
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
call fcn.0052fb75
ret
lea ecx, [ebp - 0x240]
call fcn.0042d2a1
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x220], eax
call fcn.0042d611
test eax, eax
jne 0x42902c
call fcn.0042b589
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040217f
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0042d9d2
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.004034f1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [ebp - 0x240]
push 0x10
lea ecx, [ebp - 0x240]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x429019
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x244], esp
mov edi, esp
push eax
call fcn.00401e83
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00428ed5
pop ecx
jmp 0x429020
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.004021a7
cmp dword [ebp - 0x220], ebx
jne 0x428f64
lea ecx, [ebp - 0x240]
call fcn.0042d1bb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
inc esi
jmp 0x428f43
Function at 0x429364
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x10
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0052bfd0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], esi
je 0x4293b2
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 0xc], esi
je 0x4293bc
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x4293c3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0052bfd0
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
pop esi
leave
ret
Function at 0x429435
Capabilities:
Create process on windows

Disassembly:
push 0x6c
mov eax, 0x55365f
call fcn.0052fa89
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 4], 1
call fcn.0052bfd0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
jne 0x429491
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x30
push edi
push edi
push edi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x429568
add eax, 0xfffffff0
push eax
call fcn.00401e83
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
cmp eax, edi
jle 0x429505
jge 0x4294bb
push 0x80070057
call fcn.00402165
cmp word [ecx], 0x22
je 0x429505
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x10]
call fcn.0042b15c
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0042b107
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401ee1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
push 0x58814c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004016d7
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.00401680
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x30
push edi
push edi
push edi
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], edi
je 0x429578
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x28], edi
je 0x429582
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
call fcn.0052fb61
ret
Function at 0x4295a3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5b3db0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
or edi, 0xffffffff
call fcn.0052bfd0
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x429602
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x42967a
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x429677
dec eax
je 0x429656
dec eax
jne 0x42967a
cmp dword [ebp - 0x11c], 4
ja 0x42961f
push 0xfffffffffffffffd
pop edi
cmp dword [ebp - 0x11c], 5
jne 0x429649
cmp dword [ebp - 0x118], 0
jne 0x429634
xor edi, edi
inc edi
cmp dword [ebp - 0x118], 1
je 0x429646
cmp dword [ebp - 0x118], 2
jne 0x42967a
push 2
pop edi
cmp dword [ebp - 0x11c], 6
jb 0x42967a
push 6
jmp 0x429679
cmp dword [ebp - 0x11c], 4
jne 0x42967a
cmp dword [ebp - 0x118], 0xa
jne 0x42966a
xor edi, edi
cmp dword [ebp - 0x118], 0x5a
jne 0x42967a
push 3
jmp 0x429679
push 0xfffffffffffffffe
pop edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0052b424
leave
ret

Function at 0x42968a
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x5534a0
call fcn.0052faf2
xor esi, esi
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x21c], esi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 0x220], ebx
call fcn.0052bfd0
add esp, 0xc
call fcn.0042b589
push eax
mov ecx, ebx
call fcn.0040217f
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x8027
mov dword [ebp - 4], esi
push esi
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x218]
jne 0x42970b
push eax
mov ecx, ebx
call fcn.00401d89
jmp 0x429731
push 1
push 5
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.My_Pictures
lea eax, [ebp - 0x218]
push eax
push 0x588938
push ebx
call fcn.004034f1
add esp, 0x10
mov eax, ebx
call fcn.0052fb75
ret

Function at 0x429739
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test eax, eax
je 0x429755
cmp word [eax], 0
je 0x429755
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
xor eax, eax
ret

Function at 0x429758
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0
mov eax, 0x553e9c
call fcn.0052fa89
mov eax, dword [ebp + 8]
test eax, eax
je 0x429784
cmp word [eax], 0
je 0x429784
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x429786
xor eax, eax
call fcn.0052fb61
ret
Function at 0x42ab3b
Capabilities:
Read .ini file

Disassembly:
push 0x434
mov eax, 0x55689b
call fcn.0052faf2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x434], eax
xor ebx, ebx
xor eax, eax
mov edi, 0x206
mov dword [ebp - 4], ebx
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.0052bfd0
add esp, 0xc
call fcn.0042b589
push eax
lea ecx, [ebp - 0x428]
call fcn.0040217f
lea eax, [ebp - 0x420]
push eax
mov byte [ebp - 4], 1
call fcn.00428e77
pop ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00401daf
push str.EpsonEvent_Manager_
mov byte [ebp - 4], 2
push dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
push str._s_s
push eax
call fcn.004034f1
mov esi, dword [ebp - 0x428]
push esi
call fcn.0042adb1
add esp, 0x14
test eax, eax
jne 0x42ac00
call fcn.0042ad6d
jmp 0x42ac03
xor eax, eax
inc eax
cmp eax, ebx
jne 0x42ac30
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [esi - 0x10]
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
call fcn.0052fb75
ret
call fcn.0042b589
push eax
lea ecx, [ebp - 0x424]
call fcn.0040217f
lea esi, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.00409e44
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push 0x58b86c
push dword [ebp + 8]
call esi
test eax, eax
jne 0x42acc9
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, ebx
jmp 0x42ac2a
push dword [ebp - 0x424]
push ebx
push str.ModelID
push dword [ebp + 8]
call esi
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x430]
push ebx
push str.ModelDependency
push dword [ebp + 8]
mov dword [ecx], eax
call esi
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x440]
push ebx
push str.EPSSetting
push dword [ebp + 8]
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 0x43c]
mov dword [ecx], eax
xor eax, eax
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.0052bfd0
add esp, 0xc
push dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x587cac
push str.ShortTranslation
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x218]
push eax
call fcn.00401d89
xor ebx, ebx
inc ebx
jmp 0x42ac8d
Function at 0x42b026
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x5534a0
call fcn.0052faf2
and dword [ebp - 4], 0
and dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x220], esi
call fcn.0052bfd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.0042b589
push eax
mov ecx, esi
call fcn.0040217f
and dword [ebp - 4], 0
push str.EpsonEventManagerLoginTemp
lea eax, [ebp - 0x218]
push eax
push 0x588938
push esi
mov dword [ebp - 0x21c], 1
call fcn.004034f1
add esp, 0x10
mov eax, esi
call fcn.0052fb75
ret

Function at 0x42dec1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5b3db0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42df06
push 0x55d2c0
push 4
push eax
call fcn.0052c9d8
push eax
call fcn.00401c88
add esp, 0x10
jmp 0x42df1c
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42df9c
push edi
call fcn.0052fc60
mov edi, dword [eax]
call fcn.0052fc60
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0052fbfd
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0052fc60
cmp dword [eax], 0
je 0x42df70
call fcn.0052fc60
push dword [eax]
call fcn.0042bc34
pop ecx
jmp 0x42df77
call fcn.0052fc60
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x42df9c
cmp dword [ebp - 0x234], esi
jae 0x42df9c
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42df9e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052b424
leave
ret
Function at 0x42e56d
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b3db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0042e4e7
pop ecx
cmp eax, esi
je 0x42e657
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x42e657
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0052bfd0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x42e657
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x42e657
cmp esi, 0x14
jge 0x42e657
push 0x10
push 0
push edi
call fcn.0052daf1
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42e646
call fcn.0052fc60
cmp dword [eax], 0x22
je 0x42e646
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0052ba99
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x42e61c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5b59d8], 0
jne 0x42e6e2
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x42e70b
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0042dec1
pop ecx
pop ecx
test eax, eax
jne 0x42e70d
inc edi
cmp edi, esi
jl 0x42e6e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b424
leave
ret 8

Function at 0x42f72b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x551ba1
call fcn.0052fa89
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42f750
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42f7a2
call fcn.0042b589
push eax
lea ecx, [ebp - 0x10]
call fcn.0040217f
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.0052c85d
push eax
call fcn.00401c88
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
mov eax, esi
call fcn.0052fb61
ret 8
Function at 0x42fefe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42ff46
call fcn.0042d138
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ff46
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42ff89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42ff72
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42ff72
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x42ff86
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43d3e6
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 0x43d42d
call fcn.0042d138
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43d42d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43d449
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043cee6
mov esi, eax
test edi, edi
je 0x43d447
test ebx, ebx
je 0x43d447
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x442e41
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b3db0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x442e76
xor eax, eax
jmp 0x442ec9
lea eax, [ebp - 0x210]
push eax
call fcn.0052ba99
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x442ea7
push 0x5881b8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052cce3
add esp, 0xc
test eax, eax
jne 0x442e72
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052cce3
add esp, 0xc
test eax, eax
jne 0x442e72
lea eax, [ebp - 0x210]
push eax
call fcn.0042e4e7
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0052b424
leave
ret