joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cab1
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x448f80
call fcn.0041c960
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x456f38], edi
jne 0x42caf5
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42cae0
mov dword [0x456f38], ebx
jmp 0x42caf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x42caf5
mov dword [0x456f38], 2
mov eax, dword [0x456f38]
cmp eax, ebx
jne 0x42cb15
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x42cbd8
cmp eax, 2
je 0x42cb1e
cmp eax, edi
jne 0x42cb46
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x42cb31
mov eax, dword [0x456dc4]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x42cb4d
xor eax, eax
jmp 0x42cbd8
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0041dd10
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x42cb80
cmp esi, edi
jne 0x42cb96
push dword [ebp - 0x20]
call fcn.0041dc16
pop ecx
mov esi, eax
cmp esi, edi
je 0x42cb46
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x42cbc9
cmp dword [ebp + 0x14], edi
jne 0x42cbb3
push edi
push edi
jmp 0x42cbb9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x42cbd5
push esi
call fcn.0041cf9f
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0041c99b
ret
Function at 0x42cbe1
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x448f90
call fcn.0041c960
xor esi, esi
cmp dword [0x456f3c], esi
jne 0x42cc25
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42cc10
mov dword [0x456f3c], edi
jmp 0x42cc25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x42cc25
mov dword [0x456f3c], 2
mov eax, dword [0x456f3c]
cmp eax, 2
je 0x42cd06
cmp eax, esi
je 0x42cd06
cmp eax, 1
jne 0x42cc6a
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x42cc53
mov eax, dword [0x456dc4]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x42cc71
xor eax, eax
jmp 0x42cd18
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0041dd10
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x42cca7
cmp edi, esi
jne 0x42ccc2
lea eax, [ebx + ebx]
push eax
call fcn.0041dc16
pop ecx
mov edi, eax
cmp edi, esi
je 0x42cc6a
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42ccf5
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x42ccdf
push esi
push esi
jmp 0x42cce5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x42cd01
push edi
call fcn.0041cf9f
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x42cd18
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0041c99b
ret
Function at 0x42d439
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42d452
or eax, 0xffffffff
jmp 0x42d4b3
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x42d4af
push 0x3d
push esi
call fcn.0041ee66
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x42d4af
cmp esi, eax
je 0x42d4af
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x456a94]
sete cl
cmp eax, dword [0x456a98]
mov dword [ebp - 4], ecx
jne 0x42d495
mov edi, eax
call fcn.0042d3d8
mov dword [0x456a94], eax
cmp eax, ebx
jne 0x42d4ee
cmp dword [ebp + 0xc], ebx
je 0x42d4b7
cmp dword [0x456a9c], ebx
je 0x42d4b7
call fcn.0042ca21
test eax, eax
je 0x42d4ee
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x42d4c0
xor eax, eax
jmp 0x42d4b2
push 4
call fcn.0041dc16
cmp eax, ebx
pop ecx
mov dword [0x456a94], eax
je 0x42d4af
mov dword [eax], ebx
cmp dword [0x456a9c], ebx
jne 0x42d4ee
push 4
call fcn.0041dc16
cmp eax, ebx
pop ecx
mov dword [0x456a9c], eax
je 0x42d4af
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x456a94]
sub edi, esi
push esi
call fcn.0042d38b
mov edi, eax
test edi, edi
pop ecx
jl 0x42d555
cmp dword [ebx], 0
je 0x42d555
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0041cf9f
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x42d535
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x42d596
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x42d52c
mov eax, edi
shl eax, 2
push eax
push dword [0x456a94]
call fcn.0041f2af
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x42d596
jmp 0x42d591
cmp dword [ebp - 4], 0
jne 0x42d5fd
test edi, edi
jge 0x42d565
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x456a94]
call fcn.0041f2af
test eax, eax
pop ecx
pop ecx
je 0x42d4af
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x456a94], eax
cmp dword [ebp + 0xc], 0
je 0x42d5e8
push esi
call fcn.0041d010
inc eax
inc eax
push eax
call fcn.0041dc16
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x42d5e8
push esi
push edi
call fcn.004248d0
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42d5e1
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.0041cf9f
pop ecx
cmp dword [ebp - 4], 0
je 0x42d5f5
push esi
call fcn.0041cf9f
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42d4b2
push esi
call fcn.0041cf9f
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x42d4bc
Function at 0x4308c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4308fe
call fcn.00439b03
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43090f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x430948
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x43092d
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x430935
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x430946
test ax, ax
jne 0x430946
test si, si
je 0x430948
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x430957
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x430ba9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43eea5
call fcn.0041cf80
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00439b03
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x430bf7
call fcn.00439b03
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x430c08
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x430c14
or eax, 0xffffffff
jmp 0x430d17
mov ecx, esi
call fcn.004306eb
mov dword [ebp - 0x14], eax
call fcn.00432475
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x430c57
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x430c57
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x430c57
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00433752
push dword [ebp - 0x14]
call fcn.004323cd
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043099c
xor ebx, ebx
cmp eax, ebx
je 0x430ccb
test byte [esi + 0x38], 0x10
je 0x430c99
push 4
pop edi
mov ecx, esi
call fcn.004343cf
test ah, 1
je 0x430c91
push 5
pop edi
push edi
mov ecx, esi
call fcn.00431e71
cmp dword [esi + 0x1c], ebx
je 0x430ccb
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0043465f
jmp 0x430ccb
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x430cdf
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x430cf8
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x430cf8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00430725
cmp dword [esi + 0x54], ebx
je 0x430d14
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x432e8e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x432ec7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00413e31
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00401537
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x4340bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x434102
call fcn.00439b03
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x434102
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43411d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0043321a
test ebx, ebx
mov esi, eax
je 0x43411b
test edi, edi
je 0x43411b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x434b0a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x43effe
call fcn.0041cf80
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x434b24
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x434b70
call fcn.004351da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040114a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4369be
Capabilities:
Get disk information

Disassembly:
mov eax, 0x43f281
call fcn.0041cf80
sub esp, 0x154
mov eax, dword [0x45378c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x158]
push eax
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x436a05
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x436a09
cmp eax, esi
jb 0x436a10
xor eax, eax
jmp 0x436af4
call fcn.004351da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x154], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x154]
push eax
push edi
call fcn.0043697c
push dword [ebp - 0x154]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x436ae1
push eax
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x436a71
xor esi, esi
jmp 0x436ae4
test byte [ebp - 0x15c], 2
jne 0x436a81
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x15c], 4
jne 0x436ae1
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x436ae1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x158], 0
je 0x436a6d
cmp dword [ebp - 0x158], edi
jbe 0x436a6d
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x158]
cmp eax, esi
jge 0x436a6d
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x154]
add ecx, 0xfffffff0
call fcn.0040114a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c8e3
leave
ret 8
Function at 0x437048
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.0041c900
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x445cc8]
je 0x437196
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4370b8
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x4370bf
cmp ebx, ebx
jne 0x4370bf
xor eax, eax
jmp 0x437199
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x4370cc
mov byte [esi + 0x20], bl
jmp 0x4370e0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
lea eax, [ebp - 8]
push eax
call fcn.0041c731
test eax, eax
je 0x437107
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c818
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x43710c
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0041c731
test eax, eax
je 0x437134
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c818
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
jmp 0x43713e
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0041c731
test eax, eax
je 0x437166
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c818
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x437170
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x437182
mov eax, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x437196
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x437eb8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x45378c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov eax, pe_nt_image_headers32
cmp ebx, eax
ja 0x437f0b
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x437f0b
push edi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x437f13
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c8e3
leave
ret 8

Function at 0x438ce3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45378c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x438d34
push edi
call fcn.0043b00b
mov esi, eax
test esi, esi
je 0x438d58
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x438d58
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x445418
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c8e3
leave
ret 0xc

Function at 0x43a512
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x45378c]
xor eax, ebp
cmp dword [ebp + 8], 0x800
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x11c]
jne 0x43a545
push 0x4454c4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x43a557
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43a58c
lea eax, [ebp - 0x11c]
push eax
push esi
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0041f049
add esp, 0x10
cmp eax, 0xffffffff
je 0x43a58c
cmp eax, esi
jae 0x43a58c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x43a58e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041c8e3
leave
ret
Function at 0x43a5b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x45378c]
push ebx
push esi
xor eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43a65b
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x38], eax
call esi
mov dword [ebp - 0x34], eax
push 4
xor ebx, ebx
jmp 0x43a75d
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x43a70b
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a75e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43a700
cmp dword [ebp - 0x24], 1
jne 0x43a700
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x4454d4
push eax
call fcn.0041ec68
add esp, 0xc
cmp eax, 1
jne 0x43a700
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x40], eax
call esi
push 2
mov dword [ebp - 0x3c], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43a75e
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x43a75e
lea ecx, [ebp - 0x18]
push ecx
push 0x43a59b
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x43a75e
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x40], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x43a783
push dword [ebp + edi*4 - 0x40]
mov ecx, dword [ebp - 0x2c]
call fcn.0043a512
cmp eax, ebx
pop ecx
jne 0x43a785
inc edi
cmp edi, esi
jl 0x43a76d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c8e3
leave
ret 4