joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404720
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x620], ecx
call fcn.004045d0
test al, al
je 0x4047d3
push 0x3c
lea eax, [ebp - 0x66c]
push 0
push eax
call fcn.00500270
add esp, 0xc
lea ecx, [ebp - 0x66c]
push ecx
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x66c], 0x3c
mov dword [ebp - 0x668], 0x540
mov dword [ebp - 0x660], str.open
mov dword [ebp - 0x650], 1
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x65c], edi
mov dword [ebp - 0x654], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404870
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff97d
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push str._s__s
lea edx, [ebp - 0x61c]
push 0x30c
push edx
call fcn.005002ea
add esp, 0x14
cmp eax, 0xffffffff
je 0x40487b
push 0x44
lea eax, [ebp - 0x674]
push 0
push eax
call fcn.00500270
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x674]
push edx
push esi
push eax
push 0x10
push eax
push eax
push eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], eax
lea eax, [ebp - 0x61c]
push eax
push 0
mov dword [ebp - 0x674], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404870
mov ecx, dword [ebp - 0x630]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x62c]
push edx
call esi
jmp 0x40487b
mov ecx, dword [ebp - 0x620]
call fcn.00404660
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004ff97d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 1
push 0
push esi
push edi
mov byte [ebp - 1], 0
call ebx
test eax, eax
je 0x4049aa
lea ecx, [ebp + 0xc]
push ecx
push 0x101
push 0
push esi
push edi
call ebx
test eax, eax
jne 0x4049e4
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov bl, 1
test eax, eax
je 0x4049cf
mov bl, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x404ae0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20008
call fcn.00500640
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xffde
xor ebx, ebx
lea eax, [ebp - 0xffe4]
push ebx
mov ecx, 8
mov esi, str.DTMLLUAdminUser
lea edi, [ebp - 0x10004]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00500270
add esp, 0xc
lea ecx, [ebp - 0x20008]
push ecx
lea edx, [ebp - 0x20004]
push edx
mov dword [ebp - 0x20008], 0x7fff
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x404b69
push 0xfffd
lea eax, [ebp - 0x10004]
push eax
lea ecx, [ebp - 0x20004]
push ecx
call fcn.0050059c
add esp, 0xc
test eax, eax
jne 0x404b69
mov ebx, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004ff97d
mov esp, ebp
pop ebp
ret

Function at 0x404c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ecx + 0x558]
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
push ecx
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404ce5
mov edx, dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push eax
push str.CplDirectory
mov ebx, 0x30c
push edx
mov dword [ebp - 8], ebx
call esi
test eax, eax
je 0x404c89
push 0x5254ac
push ebx
push edi
call fcn.0050066b
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push str.CplCmdArg
push ecx
mov dword [ebp - 8], ebx
call esi
test eax, eax
je 0x404cb6
push 0x5254ac
push ebx
push edi
call fcn.0050066b
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push eax
push 0
push 0
push str.CplExeFile
push ecx
mov dword [ebp - 8], ebx
call esi
pop edi
pop esi
mov bl, 1
test eax, eax
je 0x404cdb
mov bl, byte [ebp - 1]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, ecx
mov eax, dword [esi + 0x558]
lea ecx, [ebp - 8]
push ecx
push 1
push 0
push eax
xor bl, bl
push SysReAllocStringLen
mov byte [ebp - 1], bl
call edi
test eax, eax
je 0x404d3d
mov eax, dword [esi + 0x558]
lea edx, [ebp - 8]
push edx
push 0x101
push 0
push eax
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404d92
mov eax, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [str.RunInTaskBar]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x14]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x404d7d
cmp dword [ebp - 0xc], 1
jne 0x404d7d
mov byte [ebp - 1], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x404e55
mov bl, byte [ebp - 1]
mov eax, dword [esi + 0x558]
lea ecx, [ebp - 8]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x404dc5
mov esi, dword [esi + 0x558]
lea edx, [ebp - 8]
push edx
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [ebp - 0xc], 0
test eax, eax
jne 0x404e4c
mov ecx, dword [str.SmartAudioSettings]
mov edx, dword [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 3
call edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040bdd0
mov ecx, dword [ebp - 0xc]
push ecx
mov esi, eax
push 0
push esi
call fcn.00500270
mov ecx, dword [str.SmartAudioSettings]
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x404e35
test byte [esi + 2], 0x20
seta byte [ebp - 1]
mov bl, byte [ebp - 1]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x404e4c
push esi
call fcn.0040bddb
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.00403210
mov ebx, eax
cmp ebx, esi
je 0x405c0a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x405bf5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff97d
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x405c8c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00405b90
mov ebx, eax
cmp ebx, esi
jne 0x405be4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x405c40
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x405ca5
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.004053f0
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x405cc8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff97d
mov esp, ebp
pop ebp
ret 4
Function at 0x408d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516366
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x408dbd
call fcn.004051d0
mov edi, eax
jmp 0x408ead
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x408dd6
call fcn.004051d0
jmp 0x408ea4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x408df4
call fcn.004051d0
jmp 0x408ea4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x408e15
mov edi, 0x8007000e
jmp 0x408ea6
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00406520
mov dword [ebp - 4], 1
jmp 0x408e58
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x408e69
mov edi, 0x8007000e
jmp 0x408ea6
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x408e82
call fcn.004051d0
jmp 0x408ea4
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00408490
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x408ed0
lea ecx, [ebp - 0x418]
call fcn.00405b30
jmp 0x408ed0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ff97d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a760
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516552
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5749c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [str.SmartAudio.exe]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f20
cmp byte [esi + 0x555], 0
mov dword [ebp - 4], 0
je 0x40a7d9
mov edi, dword [str.SmartAudio3.exe]
test edi, edi
jne 0x40a7b6
xor eax, eax
jmp 0x40a7cf
mov eax, edi
lea edx, [eax + 2]
jmp 0x40a7c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a7c0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.004019a0
cmp byte [esi + 0x552], 0
je 0x40a7eb
push 1
mov ecx, esi
call fcn.0040a210
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push eax
call fcn.00401690
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004098c0
test al, al
jne 0x40a94f
push 0x74
call fcn.0040bda1
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x40a832
mov ecx, eax
call fcn.00404e70
jmp 0x40a834
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x538], eax
test eax, eax
je 0x40a94f
call fcn.0040f14f
call fcn.0040f14f
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0xa
push 0
push 0
push 0
push 0
push 0x81
mov ebx, eax
push ebx
push str.SmartAudio
push 0x8000
push 0
lea ecx, [esi + 0xb8]
call fcn.0040b1b0
test eax, eax
je 0x40a94f
test ebx, ebx
je 0x40a94f
mov ecx, esi
call fcn.00409720
test al, al
je 0x40a94f
mov ecx, dword [esi + 0x538]
push ecx
lea ecx, [esi + 0xb8]
call fcn.0040af40
lea ecx, [esi + 0xb8]
call fcn.0040b360
mov edx, dword [0x56f0d8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x53c], eax
test eax, eax
je 0x40a901
push 0
push 0
push 0
push 0
push esi
push 0x404560
call fcn.0040e4b9
mov dword [esi + 0x540], eax
mov dword [eax + 0x28], 0
mov eax, dword [str.SmartAudioLaunchDelayValue]
mov ecx, dword [str.SOFTWAREConexantSAII]
push 4
lea edi, [esi + 0x560]
push edi
push 0
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.00404970
test al, al
jne 0x40a92f
mov dword [edi], 0x7530
mov edx, dword [edi]
mov eax, dword [esi + 0x538]
mov ecx, dword [eax + 0x20]
push 0
push edx
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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 0x40adb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0x3b8
xor edi, edi
lea eax, [esi + 0x74]
push edi
push eax
call fcn.00500270
push 0x110
lea ecx, [ebp - 0x114]
push edi
push ecx
mov dword [esi + 0x42c], edi
mov dword [esi + 0x430], 1
mov dword [esi + 0x434], 1
mov dword [esi + 0x474], edi
mov dword [esi + 0x478], 1
mov dword [esi + 0x438], edi
mov dword [esi + 0x458], edi
mov dword [esi + 0x470], edi
mov dword [esi + 0x440], edi
mov dword [esi + 0x47c], edi
mov dword [ebp - 0x118], 0x114
call fcn.00500270
add esp, 0x18
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x40ae79
cmp dword [ebp - 0x114], 5
jb 0x40ae79
mov eax, 1
pop edi
mov dword [esi + 0x43c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff97d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x43c], edi
pop edi
xor ecx, ebp
pop esi
call fcn.004ff97d
mov esp, ebp
pop ebp
ret

Function at 0x41565c
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 0x4156a3
call fcn.0040f14f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4156a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4156bf
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041515c
mov esi, eax
test edi, edi
je 0x4156bd
test ebx, ebx
je 0x4156bd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41615b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x516838
call fcn.00500ffe
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x416180
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4161d2
call fcn.0040ca05
push eax
lea ecx, [ebp - 0x10]
call fcn.00401590
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.0050079c
push eax
call fcn.00401050
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.00401270
mov eax, esi
call fcn.005010d6
ret 8
Function at 0x4161f8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5749c8]
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 0x41623d
push 0x52de68
push 4
push eax
call fcn.0050066b
push eax
call fcn.00401050
add esp, 0x10
jmp 0x416253
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4162d3
push edi
call fcn.0050118f
mov edi, dword [eax]
call fcn.0050118f
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.00500308
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0050118f
cmp dword [eax], 0
je 0x4162a7
call fcn.0050118f
push dword [eax]
call fcn.0040c2c6
pop ecx
jmp 0x4162ae
call fcn.0050118f
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4162d3
cmp dword [ebp - 0x234], esi
jae 0x4162d3
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4162d5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ff97d
leave
ret
Function at 0x41677a
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5749c8]
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.00410c31
pop ecx
cmp eax, esi
je 0x416864
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x416864
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.00500270
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 0x416864
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x416864
cmp esi, 0x14
jge 0x416864
push 0x10
push 0
push edi
call fcn.005030d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x416853
call fcn.0050118f
cmp dword [eax], 0x22
je 0x416853
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00501132
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x416829
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 [0x5783ec], 0
jne 0x4168ef
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x416918
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004161f8
pop ecx
pop ecx
test eax, eax
jne 0x41691a
inc edi
cmp edi, esi
jl 0x4168f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff97d
leave
ret 8

Function at 0x41c281
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5749c8]
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 0x41c2b6
xor eax, eax
jmp 0x41c309
lea eax, [ebp - 0x210]
push eax
call fcn.00501132
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x41c2e7
push 0x5269f8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005008d7
add esp, 0xc
test eax, eax
jne 0x41c2b2
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005008d7
add esp, 0xc
test eax, eax
jne 0x41c2b2
lea eax, [ebp - 0x210]
push eax
call fcn.00410c31
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ff97d
leave
ret
Function at 0x4225d3
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.00422277
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42261d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040c906
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040c8d7
jmp 0x422628
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041a196
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42262e
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.00415e25
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 0x42266b
call fcn.00422277
mov dword [esi + 0xc], 1
jmp 0x422670
call fcn.00422277
cmp dword [esi], 0
je 0x4226b9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x422691
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040c906
jmp 0x4226a3
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004017b0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040c8d7
jmp 0x4226dd
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 0x4226dd
push dword [esi]
push dword [ebp + 8]
call fcn.0041a196
pop esi
pop ebp
ret 0xc

Function at 0x45aa8d
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.0040f14f
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 0x45aac6
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.0045a6ca
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8