joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410860
Capabilities:
Identify system language via api

Disassembly:
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and edi, 0x3ff
lea ecx, [edi - 1]
movzx eax, ax
pop edi
cmp ecx, 0x26
ja case.0x410886.3
jmp dword [ecx*4 + 0x410b40]
shr ax, 0xa
cmp ax, 2
jne 0x4108a8
push str.zh_CN
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
cmp ax, 4
je 0x410897
push str.zh_TW
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.da_DK
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.nl_NL
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.fi_FI
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
and eax, 0xfc00
cmp eax, 0x800
jne 0x41090f
push str.es_MX
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.es_ES
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
and eax, 0xfc00
cmp eax, 0xc00
jne 0x41093d
push str.fr_CA
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.fr_FR
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.de_DE
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.it_IT
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.ja_JP
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.ko_KR
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.pt_BR
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
and eax, 0xfc00
cmp eax, 0x800
jne case.0x410886.3
push str.en_GB
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.sv_SE
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.nb_NO
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.pl_PL
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.cs_CZ
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
shr ax, 0xa
cmp ax, 5
je 0x410a2f
cmp ax, 7
je 0x410a2f
cmp ax, 6
je 0x410a2f
push str.en_AE
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.fr_MA
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.hu_HU
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.tr_TR
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.el_GR
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.ru_RU
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.en_IL
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.ro_RO
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.sl_SI
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.sk_SK
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.uk_UA
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.hr_HR
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.lt_LT
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.lv_LV
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.et_EE
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push str.bg_BG
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
push 0x57ab1c
push 8
push esi
call fcn.0051641f
add esp, 0xc
ret
Function at 0x412900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546c48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5a10e0]
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
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x412a21
cmp byte [edi + 0x49], bl
je 0x412a21
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x412a15
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x412975
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x41298d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4129b6
dec eax
je 0x4129ba
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x412a10
jmp 0x412a1c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4129ca
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4129f3
cmp ebx, 0x10
jae 0x4129d9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.005180d1
add esp, 0x10
cmp esi, eax
jne 0x412a0d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x412a19
test esi, esi
jne 0x412981
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004122e0
jmp 0x41297b
lea ecx, [ebp - 0x2c]
call fcn.00402e10
xor al, al
jmp 0x412a23
lea ecx, [ebp - 0x2c]
call fcn.00402e10
mov al, 1
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.00515d64
mov esp, ebp
pop ebp
ret
Function at 0x412c60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54694b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5a10e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00533a8e
push 4
mov dword [ebp - 4], 0
call fcn.004166c9
mov edi, eax
add esp, 4
test edi, edi
je 0x412ce0
call fcn.00533966
mov dword [edi], eax
call fcn.00533725
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00533a4f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x412cd6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00533a77
jmp 0x412ce2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x415a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
mov edi, eax
push 0x40000000
push edi
mov dword [esi + 8], ebx
mov word [esi + 0xc], bx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x415a63
push ebx
push 0x80
push 1
push ebx
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
lea ecx, [ebp - 8]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push eax
mov dword [esi], eax
mov dword [ebp - 4], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 8
call fcn.004166c9
add esp, 4
cmp eax, ebx
je 0x415a7a
mov dword [eax], ebx
mov byte [eax + 4], bl
mov edi, eax
jmp 0x415a7c
xor edi, edi
mov dword [esi + 4], edi
cmp dword [edi], ebx
jne 0x415a95
push str.Local5071F542_DF26_4e46_810E_74570ED35255
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [edi], eax
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415aa0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x5a10e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5a9464]
test eax, eax
jne 0x415b4d
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415b06
push eax
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x57d33c
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0051725a
push 0x10
call fcn.004166c9
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x414], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x415b46
lea eax, [ebp - 0x410]
call fcn.00415a00
jmp 0x415b48
xor eax, eax
mov dword [0x5a9464], 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.00515d64
mov esp, ebp
pop ebp
ret

Function at 0x415be0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x5a10e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x808]
push eax
push 0x200
mov edi, 4
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x808]
push ecx
lea edx, [ebp - 0x408]
push 0x200
push edx
call fcn.0051641f
add esp, 0xc
push str._asu.trace
lea eax, [ebp - 0x408]
push 0x200
push eax
call fcn.0051725a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
call ebx
test eax, eax
je 0x415cbf
mov edi, 6
mov byte [esi + 8], 1
mov byte [esi + 9], 1
cmp edi, 4
jl 0x415c69
mov byte [esi + 0xa], 1
cmp edi, 3
jl 0x415c72
mov byte [esi + 0xb], 1
cmp edi, 2
jl 0x415c7b
mov byte [esi + 0xc], 1
cmp edi, 1
jl 0x415c84
mov byte [esi + 0xd], 1
push 0x57d384
push str.Build_Version____s
mov ecx, str.Setup
mov eax, esi
call fcn.00415e10
push edi
push str.Logging_Level_verbosity_Set__to__d
mov ecx, str.Setup
mov eax, esi
call fcn.00415e10
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
pop ebx
call fcn.00515d64
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x408]
push 0x200
push eax
call fcn.0051641f
add esp, 0xc
push str._asu.debug
lea ecx, [ebp - 0x408]
push 0x200
push ecx
call fcn.0051725a
add esp, 0xc
lea edx, [ebp - 0x408]
push edx
call ebx
test eax, eax
je 0x415c65
mov edi, 5
jmp 0x415c5c
Function at 0x415fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415fb0
mov edi, dword [esi + 4]
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x416049
cmp eax, 0xffffffff
je 0x416049
cmp eax, 0x80
je 0x416049
push 2
push 0
mov byte [edi + 4], 1
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
mov edx, dword [esi]
lea eax, [ebx + ebx]
push eax
push ecx
push edx
call edi
mov ecx, dword [esi]
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x57d414
push ecx
mov dword [ebp - 4], 0
call edi
mov esi, dword [esi + 4]
cmp byte [esi + 4], 0
je 0x416049
mov edx, dword [esi]
push 0
push 1
push edx
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x416049
mov byte [esi + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416650
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
push str.Global_MSIExecute
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x4166a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x416697
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41826f
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.00425f7e
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4182a8
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.00417eac
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 0x418306
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 0x41832a
cmp dword [edi + 0x74], 0
jne 0x41832a
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00425f7e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.004182c7
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 0x42085f
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 0x4208a6
call fcn.00425f7e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4208a6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4208c2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042035f
mov esi, eax
test edi, edi
je 0x4208c0
test ebx, ebx
je 0x4208c0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x421098
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x545277
call fcn.0051a25c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4210bd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42110f
call fcn.00416e47
push eax
lea ecx, [ebp - 0x10]
call fcn.004047a0
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.0051847a
push eax
call fcn.00408ad0
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.00404490
mov eax, esi
call fcn.0051a334
ret 8
Function at 0x42230f
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5a10e0]
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.0041bd79
pop ecx
cmp eax, esi
je 0x4223f9
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4223f9
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.00519ca0
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 0x4223f9
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4223f9
cmp esi, 0x14
jge 0x4223f9
push 0x10
push 0
push edi
call fcn.0051b22d
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4223e8
call fcn.00518589
cmp dword [eax], 0x22
je 0x4223e8
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00519d1a
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4223be
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 [0x5a4944], 0
jne 0x422484
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4224ac
push dword [ebp + edi*4 - 0x134]
mov edx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x144]
call fcn.00421d7b
pop ecx
test eax, eax
jne 0x4224ae
inc edi
cmp edi, esi
jl 0x42248a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00515d64
leave
ret 8
Function at 0x423fcc
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 0x424014
call fcn.00425f7e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x424014
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x424057
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 0x424040
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 0x424040
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x424054
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 0x4255f1
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.00425295
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42563b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041ea02
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00415810
jmp 0x425646
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00426f65
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42564c
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.0042096b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x425689
call fcn.00425295
mov dword [esi + 0xc], 1
jmp 0x42568e
call fcn.00425295
cmp dword [esi], 0
je 0x4256d7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4256af
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041ea02
jmp 0x4256c1
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004047d0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00415810
jmp 0x4256fb
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4256fb
push dword [esi]
push dword [ebp + 8]
call fcn.00426f65
pop esi
pop ebp
ret 0xc
Function at 0x42b3ee
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a10e0]
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 0x42b423
xor eax, eax
jmp 0x42b476
lea eax, [ebp - 0x210]
push eax
call fcn.00519d1a
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x42b454
push 0x5770cc
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0051725a
add esp, 0xc
test eax, eax
jne 0x42b41f
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0051725a
add esp, 0xc
test eax, eax
jne 0x42b41f
lea eax, [ebp - 0x210]
push eax
call fcn.0041bd79
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00515d64
leave
ret

Function at 0x47f184
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x47f19e
call fcn.00425f7e
mov esi, dword [eax + 0xc]
push dword [0x5a660c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47f1bc
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47f1b4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47f1e9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47f1b6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047f0b2
mov esi, eax
jmp 0x47f1db

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041edf2
call fcn.004172f8
cmp eax, esi
pop esi
jne 0x4f3c90
mov ecx, 0x5a4cd0
jmp fcn.0042c23f
ret
Function at 0x4fc2db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4fc2f3
mov edi, dword [esi + 0xc]
jmp 0x4fc333
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4fc30c
call fcn.004186c5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4fc321
call fcn.004186c5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4fc333
call fcn.004186c5
call fcn.00425f7e
cmp dword [eax + 0x3c], 0
je 0x4fc348
push edi
mov ecx, ebx
call fcn.004fb197
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004fc1f5
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4fc366
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4fc372
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x515d64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a10e0]
jne 0x515d6e
repz ret
jmp fcn.0051e383