joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4316a0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x431720
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4316de
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x1c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x1c
ret

Function at 0x431730
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.00483480
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x431781
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
mov ecx, dword [esp + 0xa0]
xor eax, eax
cmp dword [esp + 8], 6
pop esi
sete al
xor ecx, esp
call fcn.004820a1
add esp, 0xa0
ret

Function at 0x431b10
Capabilities:
Move file

Disassembly:
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push esi
push edi
jle 0x431b7b
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x431b7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
lea edi, [ebx + 1]
push edi
push ebp
push str.__s__MoveFile_failed..._:_current_retry__d___error_code_is___d_
push 0x9c3
push str.MoveFileRetry
push 0x4cd110
call fcn.00429e90
add esp, 0x1c
cmp esi, 0x20
jne 0x431b7b
mov esi, dword [esp + 0x1c]
lea ecx, [esi - 1]
cmp ebx, ecx
je 0x431b7b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, edi
cmp ebx, esi
jl 0x431b20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x431b90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push str.SoftwareESTsoftALUpdate
push reloc.WSOCK32.dll_accept
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x431be0
mov eax, dword [esp + 4]
test eax, eax
je 0x431be0
lea ecx, [esp + 8]
push ecx
push esi
lea edx, [esp + 0x14]
push edx
push esi
push str.Debug
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x4323c0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4a19b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], vtable.CArray_struct_HWND_____struct_HWND____.0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x1c]
push eax
push 0x432380
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebp
jle 0x432485
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
lea esp, [esp]
cmp ebx, ebp
jl 0x4324d1
cmp ebx, eax
jge 0x4324d1
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + ebx*4]
cmp esi, ebp
je 0x43247a
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x18], eax
jne 0x43247a
push ebp
push ebp
push 0x4970
push esi
call edi
push ebp
push ebp
push 0x10
push esi
call edi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x24]
add ebx, 1
cmp ebx, eax
jl 0x432430
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x43249c
push eax
call fcn.0045fc42
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
cmp eax, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], vtable.CArray_struct_HWND_____struct_HWND____.0
je 0x4324b9
push eax
call fcn.0045fc42
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
jmp fcn.0045fd3b
Function at 0x432900
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4a1a29
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ebp
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x43294b
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x4329eb
lea edx, [esi + 1]
push edx
call fcn.0045fc3d
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4329e2
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4a5964
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4329e2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, ecx
movzx esi, cx
mov ecx, edx
movzx edx, dx
push edx
shr ecx, 0x10
push ecx
push esi
shr eax, 0x10
push eax
push str._d._d._d._d
push edi
call fcn.00402320
add esp, 0x18
push ebp
call fcn.0045fc42
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x432a10
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4a1a72
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
xor edi, edi
mov dword [esp + 0x220], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
call fcn.00460a7a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x432a7b
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x100
lea ecx, [esp + 0x118]
push edi
push ecx
mov dword [esp + 0x22c], edi
mov dword [esp + 0x18], 1
call fcn.00483480
push 0x100
lea edx, [esp + 0x24]
push edi
push edx
call fcn.00483480
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x18
push 0xff
lea eax, [esp + 0x118]
push eax
push 0x59
push 0x800
call edi
push 0xff
lea ecx, [esp + 0x18]
push ecx
push 0x5a
push 0x800
call edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x118]
push eax
push str._s__s
push esi
call fcn.00402320
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004820a1
add esp, 0x218
ret
Function at 0x432b30
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1ac2
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0xc8], eax
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, dword [esp + 0xe8]
push 0x9c
lea eax, [esp + 0x3c]
push 0
push eax
mov dword [esp + 0xec], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], 0
call fcn.00483480
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x9c
call edi
test eax, eax
jne 0x432bc3
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x94
call edi
push str.GetNativeSystemInfo
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
je 0x432c0d
lea ecx, [esp + 0x10]
push ecx
call eax
jmp 0x432c18
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432c32
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
movzx ecx, word [esp + 0x10]
movzx edx, byte [esp + 0xd2]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push str._d__d__d__d__d
push esi
mov dword [esp + 0xfc], 0
mov dword [esp + 0x28], 1
call fcn.00402320
add esp, 0x1c
mov eax, esi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004820a1
add esp, 0xd8
ret
Function at 0x432f30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1b30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov eax, dword [esi - 0xc]
test eax, eax
mov dword [esp + 0x58], 1
jne 0x432fc6
mov byte [esp + 0x58], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432f89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432fb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret
cmp eax, 3
jle 0x43302d
cmp eax, 1
jge 0x432fda
push 0x80070057
call fcn.004010e0
cmp byte [esi + 1], 0x3a
jne 0x43302d
cmp eax, 2
jge 0x432fef
push 0x80070057
call fcn.004010e0
cmp byte [esi + 2], 0x5c
jne 0x43302d
lea ecx, [esp + 0x60]
push ecx
call fcn.00432830
add esp, 4
test eax, eax
jne 0x43302d
lea ecx, [esp + 0x60]
call fcn.004016f0
lea ecx, [esp + 0x64]
call fcn.004016f0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret
push 0x3c
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00483480
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
add esp, 0xc
test edi, edi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 5
je 0x43306a
mov dword [esp + 0x18], 0x40
cmp dword [esp + 0x6c], 0
je 0x433082
call fcn.00431730
test eax, eax
mov dword [esp + 0x20], str.runas
jne 0x43308a
mov dword [esp + 0x20], str.open
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test edi, edi
mov dword [esp + 0x10], eax
je 0x4330df
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov edx, dword [esp + 0x4c]
push 0
push edx
call edi
cmp eax, 0x102
jne 0x4330df
call fcn.004608f5
mov ecx, dword [eax + 4]
call fcn.004014b0
test eax, eax
je 0x4330d7
push 0xa
call ebp
jmp 0x4330b0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov byte [esp + 0x58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43310b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret
Function at 0x433400
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4a1bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1b4]
mov eax, dword [esi - 0xc]
test eax, eax
mov dword [esp + 0x1ac], 0
jl 0x433484
push 0x4aa544
push esi
call fcn.004819a0
add esp, 8
test eax, eax
je 0x433484
sub eax, esi
cmp eax, 0xffffffff
jle 0x433484
add eax, 3
push eax
push 0
lea ecx, [esp + 0x1bc]
call fcn.0042c960
mov esi, dword [esp + 0x1b4]
cmp dword [esi - 0xc], 0
jle 0x4334f6
push 0x2f
push esi
call fcn.00483467
add esp, 8
test eax, eax
je 0x4334f6
sub eax, esi
cmp eax, 0xffffffff
jle 0x4334f6
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1bc]
call fcn.00401ec0
push eax
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x1b0], 1
call fcn.00402260
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1ac], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4334ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1b4]
lea ecx, [esp + 0x10]
push ecx
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
xor edx, edx
test eax, eax
setne dl
lea eax, [esi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
mov edi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43353d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004820a1
add esp, 0x1a4
ret
Function at 0x433690
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4a1c52
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov edi, dword [esp + 0x234]
push 0x4a5956
mov ecx, edi
mov dword [esp + 0x230], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
call fcn.00403080
mov eax, dword [esp + 0x238]
lea edx, [esp + 0x11c]
xor ebp, ebp
mov dword [esp + 0x22c], 0
mov dword [esp + 0x10], 1
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x433720
lea eax, [esp + 0x11c]
push 0x4a5964
push eax
call fcn.00484fa4
mov esi, eax
add esp, 8
test esi, esi
je 0x433805
jmp 0x433750
test ebp, ebp
push esi
jne 0x433769
lea ecx, [esp + 0x1c]
push 0x4a58e4
push ecx
call fcn.00483930
add esp, 0xc
jmp 0x43377e
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push 0x4a6190
push eax
call fcn.00483930
add esp, 0x10
push 0x4a5964
push 0
call fcn.00484fa4
mov esi, eax
add esp, 8
test esi, esi
jne 0x43379c
cmp dword [esp + 0x23c], eax
je 0x4337fa
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00484f90
add esp, 8
cmp eax, 0xffffffff
jne 0x4337db
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4337fa
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4337c8
sub eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
jmp 0x4337f3
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4337e2
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00401dd0
add ebp, 1
test esi, esi
jne 0x433750
mov eax, edi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004820a1
add esp, 0x220
ret
Function at 0x433920
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a1cd3
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x12c], 0
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x433987
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x138]
push 1
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [esp + 0x138], 1
call fcn.00433690
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edx - 0xc], 0
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4339df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x433a35
lea eax, [esi - 0x10]
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433a07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433a2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x433af0
lea ecx, [esp + 0x14]
call fcn.0040ba00
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x4aa550
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x433a72
mov byte [esp + 0x12c], al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4339fb
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x433a84
sub eax, edx
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.00401dd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433ac4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433aeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004820a1
add esp, 0x11c
ret
Function at 0x434c10
Capabilities:
Get file version info
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4a1f65
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], 0
push 0x4a5956
mov ecx, ebp
mov dword [esp + 0x23c], 1
call fcn.00403080
mov ecx, dword [esp + 0x244]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x20], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x434dbe
lea edx, [esi + 1]
push edx
call fcn.0045fc3d
mov ecx, dword [esp + 0x248]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
push esi
push eax
push ecx
mov dword [esp + 0x20], edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x434db5
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x434db5
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434cfd
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
push 0x100
lea ecx, [esp + 0x130]
push 0
push ecx
mov byte [esp + 0x244], 2
call fcn.00483480
push 0x100
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.00483480
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x18
push 0xff
lea eax, [esp + 0x130]
push eax
push 0x59
push edx
call edi
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx]
push 0xff
lea eax, [esp + 0x30]
push eax
push 0x5a
push edx
call edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x130]
push ecx
push str._s__s
push ebp
call fcn.00402320
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x238], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434db1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push edi
call fcn.0045fc42
add esp, 4
mov eax, dword [esp + 0x244]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434de9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004820a1
add esp, 0x22c
ret