Function at 0x432b30
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9958
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x500770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
lea eax, [ebp - 0x20]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x433256
push edi
call fcn.00488fd5
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp - 0x2c], esi
je 0x433256
push esi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x432bb9
push 0x4f1130
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], eax
call fcn.004ae188
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4d92e0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x432beb
cmp dword [ebp - 0x18], 0x34
jne 0x432beb
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push 0x34
push edx
add eax, 4
push eax
call fcn.004b0810
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x1c], 0
call edi
mov ecx, dword [ebp - 0x14]
movzx edx, ax
mov eax, ecx
mov ebx, dword [ebp - 0x18]
add ebx, ecx
cmp eax, ebx
jae 0x432c2c
cmp word [eax], dx
jne 0x432c27
mov edi, dword [eax]
jmp 0x432c73
add eax, 4
jmp 0x432c15
push 1
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
call fcn.004329c0
test eax, eax
jne 0x432c70
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 1
call fcn.004329c0
test eax, eax
jne 0x432c70
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 1
mov eax, 9
call fcn.004329c0
test eax, eax
jne 0x432c70
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
jmp 0x432c73
mov edi, dword [ebp - 0x1c]
call fcn.00491248
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432c8d
push 0x80004005
call fcn.00401ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, edi
shr ecx, 0x10
push ecx
movzx edx, di
push edx
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
mov byte [ebp - 4], 1
call fcn.00406c50
add esp, 0x10
push 0x4de784
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432d02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432d30
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401f00
mov byte [ebp - 4], 2
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x38]
push eax
call fcn.00406e20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401ff0
jmp 0x432d33
mov ebx, dword [ebp + 8]
push 0x4de79c
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432d7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432da3
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x3c]
push eax
mov byte [ebp - 4], 3
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de7bc
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432dea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432e13
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de7d4
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432e83
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x44]
push eax
mov byte [ebp - 4], 5
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de7f0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432eca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432ef3
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x48]
push eax
mov byte [ebp - 4], 6
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push str.OriginalFileName
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432f3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432f63
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x4c]
push eax
mov byte [ebp - 4], 7
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de834
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432faa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x432fd3
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x50]
push eax
mov byte [ebp - 4], 8
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de84c
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43301a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x433043
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x54]
push eax
mov byte [ebp - 4], 9
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de86c
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43308a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4330b3
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x58]
push eax
mov byte [ebp - 4], 0xa
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de880
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4330fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x433123
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x5c]
push eax
mov byte [ebp - 4], 0xb
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de8a0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43316a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x433193
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x60]
push eax
mov byte [ebp - 4], 0xc
call fcn.00406e20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401ff0
push 0x4de8bc
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004051e0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4331da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4331ff
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00401f00
lea ecx, [ebx + 0x64]
push eax
mov byte [ebp - 4], 0xd
call fcn.00406e20
lea ecx, [ebp + 8]
call fcn.00401ff0
push esi
call fcn.00488fd0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43322b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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 4