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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x694
mov eax, dword [0x5b9460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x684]
push eax
push 9
xor edi, edi
push edi
push 0x561a50
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d4b3
push esi
push 0x62
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push edi
push eax
call fcn.00531ed0
xor eax, eax
push 0x206
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x26e]
push edi
push eax
call fcn.00531ed0
xor eax, eax
push 0x206
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x476]
push edi
push eax
mov esi, edi
call fcn.00531ed0
lea eax, [ebp - 0x478]
push str.znyWBSrf.ime
push eax
call fcn.005325d3
lea eax, [ebp - 0x478]
push eax
call fcn.005328b2
add esp, 0x30
mov dword [ebp - 0x68c], eax
push 0x104
lea eax, [ebp - 0x270]
push eax
push edi
jmp 0x40d489
cmp esi, 0x2710
jge 0x40d4a6
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x684]
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40d47b
push 0x206
push eax
mov word [ebp - 0x680], ax
lea eax, [ebp - 0x67e]
push eax
mov dword [ebp - 0x694], 0x32
call fcn.00531ed0
add esp, 0xc
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push str.Ime_File
push dword [ebp - 0x688]
mov dword [ebp - 0x690], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x680]
push eax
push 0
push 0
push str.Layout_Text
push dword [ebp - 0x688]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x688]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x68]
push eax
call fcn.005328b2
push dword [ebp - 0x68c]
push eax
call fcn.005351bb
add esp, 0xc
test eax, eax
je 0x40d49f
push 0x104
lea eax, [ebp - 0x270]
inc edi
push eax
push edi
push dword [ebp - 0x684]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x40d3b1
jmp 0x40d4a6
mov dword [ebx + 8], 1
push dword [ebp - 0x684]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00532a3d
leave
ret
Function at 0x40d4c1
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5b9460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x61c], ax
xor ebx, ebx
lea eax, [ebp - 0x61a]
push ebx
push eax
mov esi, ecx
call fcn.00531ed0
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00531ed0
xor eax, eax
push edi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.00531ed0
add esp, 0x24
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005325a4
lea eax, [ebp - 0x20c]
push 0x55fd68
push eax
call fcn.005325a4
lea eax, [ebp - 0x20c]
push str.znyWBSrf.ime
push eax
call fcn.005325a4
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x40d588
mov dword [esi + 4], ebx
mov ecx, dword [0x5baad0]
call fcn.004c1c65
mov ecx, eax
call fcn.0040cc58
test eax, eax
je 0x40d626
mov ecx, dword [0x5baad0]
lea eax, [ebp - 0x620]
push eax
call fcn.004c1c65
mov ecx, eax
call fcn.0040cd42
mov ecx, dword [0x5baad0]
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.004c1c65
mov ecx, eax
call fcn.0040cc37
lea eax, [ebp - 0x414]
push 0x55fd68
push eax
call fcn.005325a4
lea eax, [ebp - 0x414]
push str.znyWBSrf.ime
push eax
call fcn.005325a4
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
jne 0x40d60e
mov dword [esi + 4], ebx
push dword [ebp - 0x620]
mov ecx, dword [0x5baad0]
call fcn.004c1c65
mov ecx, eax
call fcn.0040cd60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00532a3d
leave
ret

Function at 0x40e1cd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5b9460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov ecx, dword [0x5baad0]
call fcn.0040cd9f
mov ecx, eax
call fcn.00404a73
push eax
lea eax, [ebp - 0x414]
push 0x561b10
push eax
call fcn.00532980
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00531ed0
lea eax, [ebp - 0x20c]
push str.znyWBSrf.ime
push eax
call fcn.005325d3
lea eax, [ebp - 0x20c]
push eax
call fcn.005328b2
add esp, 0x24
mov esi, eax
lea eax, [ebp - 0x414]
push eax
mov eax, 0x104
push eax
push eax
lea ecx, [edi + 0x24]
call fcn.0040586f
push eax
push esi
push str.default_ime
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
call fcn.0040ec42
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00532a3d
leave
ret
Function at 0x40e623
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x694
mov eax, dword [0x5b9460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x684]
push eax
push 9
xor ebx, ebx
push ebx
push 0x561a50
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e815
push edi
push 0x62
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push ebx
push eax
call fcn.00531ed0
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x26e]
push ebx
push eax
call fcn.00531ed0
xor eax, eax
push edi
mov word [ebp - 0x680], ax
lea eax, [ebp - 0x67e]
push ebx
push eax
call fcn.00531ed0
lea eax, [ebp - 0x680]
push str.znyWBSrf.ime
push eax
call fcn.005325d3
lea eax, [ebp - 0x680]
push eax
call fcn.005328b2
add esp, 0x30
mov dword [ebp - 0x68c], eax
push 0x104
lea eax, [ebp - 0x270]
push eax
push ebx
push dword [ebp - 0x684]
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e7c1
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x684]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40e7a7
push 0x206
push eax
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x476]
push eax
mov dword [ebp - 0x694], 0x32
call fcn.00531ed0
add esp, 0xc
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push str.Ime_File
push dword [ebp - 0x688]
mov dword [ebp - 0x690], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x478]
push eax
push 0
push 0
push str.Layout_Text
push dword [ebp - 0x688]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x688]
call ebx
lea eax, [ebp - 0x68]
push eax
call fcn.005328b2
push dword [ebp - 0x68c]
push eax
call fcn.00535490
add esp, 0xc
test eax, eax
je 0x40e7cb
push 0x104
lea eax, [ebp - 0x270]
push eax
inc edi
push edi
push dword [ebp - 0x684]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x40e6ee
jmp 0x40e80c
lea eax, [ebp - 0x270]
push eax
mov edi, 0x560274
push edi
push dword [esi + 0x14]
call fcn.00532980
push dword [ebp - 0x68c]
mov eax, dword [esi + 0x14]
add eax, 0x28
push edi
push eax
call fcn.00532980
lea eax, [ebp - 0x478]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x1b8
push edi
push eax
call fcn.00532980
add esp, 0x24
push dword [ebp - 0x684]
call ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00532a3d
leave
ret
Function at 0x410394
Capabilities:
Read .ini file

Disassembly:
push 0x21c
mov eax, 0x54e402
call fcn.00532b0c
mov edi, ecx
call fcn.004115d2
mov ecx, edi
call fcn.0040fb25
push 0x2c
call fcn.00410bf0
pop ecx
mov dword [ebp - 0x228], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4103d0
mov ecx, eax
call fcn.0040d9da
jmp 0x4103d2
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x110], eax
test eax, eax
je 0x4105ac
mov ecx, 0x5bace8
call fcn.0040980a
mov ecx, dword [edi + 0x110]
call fcn.0040e285
mov ecx, edi
call fcn.0040fd97
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x190]
mov byte [ebp - 0x220], 0
call fcn.0040571e
mov ecx, dword [0x5baad0]
movzx esi, ax
call fcn.0041928f
mov ecx, eax
call fcn.004015f0
mov dword [ebp - 0x224], eax
push eax
push 0xbc
push 0x5621d0
push 0x5621dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x224]
mov ebx, eax
push 0
push str.HasShift
push 0x5621dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test si, si
jne 0x410475
test eax, eax
movzx esi, bx
setne byte [ebp - 0x220]
push 0x55fd6c
lea ecx, [ebp - 0x21c]
call fcn.00404cf4
cmp byte [ebp - 0x220], 0
mov dword [ebp - 4], 1
je 0x4104a5
push 0x5617b8
lea ecx, [ebp - 0x21c]
call fcn.0040c8f2
lea ebx, [edi + 0x118]
push esi
mov ecx, ebx
call fcn.0040cba9
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.0040cbf6
push esi
lea eax, [ebp - 0x228]
push eax
mov ecx, ebx
call fcn.0040c9d9
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
mov byte [ebp - 4], 2
push eax
call fcn.0040c91b
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.004058df
push dword [ebp - 0x21c]
mov ecx, edi
push 0x3f0
call fcn.00418ecd
mov ecx, eax
call fcn.0041977c
push dword [ebp - 0x224]
push 1
push str.UseHotkey
push 0x5621dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x3ef
mov ecx, edi
mov esi, eax
call fcn.00418ecd
push 0
cmp esi, 1
jne 0x41054d
push esi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x410554
mov ecx, ebx
call fcn.00418da3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00531ed0
push 0x561178
lea eax, [ebp - 0x218]
push str._aRbc0R_
push eax
call fcn.00532980
add esp, 0x18
lea ecx, [ebp - 0x218]
push ecx
push 0x3ef
mov ecx, edi
call fcn.004196b1
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004058df
xor eax, eax
inc eax
call fcn.00532abb
ret

Function at 0x410e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebx + 0x78], edi
test edi, 0xffff0000
jne 0x410e52
cmp dword [ebx + 0x74], 0
jne 0x410e52
movzx eax, di
mov dword [ebx + 0x74], eax
call fcn.00411ef3
mov esi, dword [eax + 0xc]
push 5
push edi
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 edi, eax
push edi
mov ecx, ebx
call fcn.004110bd
push edi
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 0x410e8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00411ef3
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x410ec3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00410ee2
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 0x413d99
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b9460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5bd43c]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x413de5
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x413e02
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5bd43c], eax
jmp 0x413dee
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x413e02
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x413e6f
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x413e1d
xor eax, eax
jmp 0x413e6f
lea eax, [ebp - 0x210]
push eax
call fcn.005325f3
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x413e4e
push 0x55fd68
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005373c5
add esp, 0xc
test eax, eax
jne 0x413e19
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005373c5
add esp, 0xc
test eax, eax
jne 0x413e19
lea eax, [ebp - 0x210]
push eax
call fcn.00418b6d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00532a3d
leave
ret

Function at 0x414637
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x41467c
call fcn.00411ef3
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41467c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x414698
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004120bb
mov ebx, eax
test edi, edi
je 0x414696
test esi, esi
je 0x414696
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x419293
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x550c51
call fcn.00532ad9
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x4192b9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41930d
call fcn.0041ab0f
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ccb
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.005374c5
push eax
call fcn.00404d47
add esp, 0x14
test edi, edi
je 0x419300
push edi
call fcn.005325f3
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004058df
mov eax, esi
call fcn.00532aa7
ret 8

Function at 0x41dcf4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x41dd3e
call fcn.00411ef3
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41dd3b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41dd77
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test edi, edi
je 0x41dd60
push dword [ebp + 0x10]
mov edx, dword [eax]
push edi
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x20]
mov ebx, eax
test esi, esi
je 0x41dd60
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x41dd75
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0xa0]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x422562
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.00418ef5
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42259e
call fcn.0042277d
mov dword [esi + 0xc], 1
jmp 0x4225a3
call fcn.0042277d
cmp dword [esi], 0
je 0x4225ec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4225c6
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041470a
jmp 0x4225d7
push 0xff
mov ecx, esi
call fcn.0040586f
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040ec42
jmp 0x422610
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x422610
push dword [esi]
push dword [ebp - 4]
call fcn.00420daa
pop esi
leave
ret 0xc
Function at 0x4226d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042277d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42271c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041470a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040ec42
jmp 0x422727
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00420daa
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x424dbe
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b9460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x5bd9d4]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x424e17
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x424e34
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5bd9d4], eax
jmp 0x424e20
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x424e34
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x424f71
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.0054d3fa
lea eax, [ebp - 0x14]
push eax
call fcn.005325f3
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.00537583
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.0054d3fa
lea eax, [ebp - 0x14]
push eax
call fcn.005325f3
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00537583
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.0054d3fa
lea eax, [ebp - 0x14]
push eax
call fcn.005325f3
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00537583
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.0054d3fa
lea eax, [ebp - 0x14]
push eax
call fcn.005325f3
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00537583
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.0054d3fa
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.005325f3
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00537583
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00532a3d
leave
ret
Function at 0x433774
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0044c6db
call fcn.00411f47
cmp dword [eax + 0x14], 0
jne 0x43378f
mov ecx, esi
pop esi
jmp fcn.00432b6b
pop esi
ret

Function at 0x4414bd
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004bc5c6
call fcn.00411f47
cmp dword [eax + 0x14], 0
jne 0x4414d8
mov ecx, esi
pop esi
jmp fcn.00440db0
pop esi
ret

Function at 0x454c71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x454c89
call fcn.00411ef3
mov esi, dword [eax + 0xc]
push 0x56b73c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x454cdf
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x454cde
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x454cbf
xor esi, esi
jmp 0x454cd5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00454ce5
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x516f05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x516f1f
mov edi, dword [esi + 0xc]
jmp 0x516f5f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x516f38
call fcn.0041ecb5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x516f4d
call fcn.0041ecb5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x516f5f
call fcn.0041ecb5
call fcn.00411ef3
cmp dword [eax + 0x3c], 0
je 0x516f74
push edi
mov ecx, ebx
call fcn.00516821
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00517137
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x516f97
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x516fa0
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8