Function at 0x4e13e0
Capabilities:
Get file version info
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575e70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebx + 0x150]
push 0
push 0x1009
push eax
call edi
mov ecx, dword [ebp + 8]
push 0
mov eax, dword [ecx]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
add eax, 3
and al, 0xfc
call fcn.00515810
mov edx, dword [ebp + 8]
mov ecx, esp
push ecx
push esi
mov eax, dword [edx]
push 0
push eax
mov dword [ebp - 0x10], ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4e19ad
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 0x5c4800
push esi
mov dword [ebp - 0x2c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4e19ad
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x24]
push edx
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4e19ad
mov ecx, dword [ebp - 0x3c]
and ecx, 0xfffffffc
cmp ecx, 4
jne 0x4e19ad
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [ecx + 2]
cmp eax, 0x4e3
jg 0x4e151d
je 0x4e1514
cmp eax, 0x3b6
jg 0x4e14f6
je 0x4e14ed
sub eax, 0
je 0x4e14e4
sub eax, 0x3a4
je 0x4e14db
sub eax, 0x11
jne case.default.0x4e1527
mov dword [ebp + 8], str.Korea__Shift
jmp 0x4e1562
mov dword [ebp + 8], str.Japan__Shift
jmp 0x4e1562
mov dword [ebp + 8], str.7_bit_ASCII
jmp 0x4e1562
mov dword [ebp + 8], str.Taiwan__Big5_
jmp 0x4e1562
sub eax, 0x4b0
je 0x4e150b
sub eax, 0x32
jne case.default.0x4e1527
mov dword [ebp + 8], str.Latin_2__Eastern_European_
jmp 0x4e1562
mov dword [ebp + 8], str.Unicode
jmp 0x4e1562
mov dword [ebp + 8], str.Cyrillic
jmp 0x4e1562
sub eax, 0x4e4
cmp eax, 4
ja case.default.0x4e1527
jmp dword [eax*4 + 0x4e19c8]
mov dword [ebp + 8], str.Multilingual
jmp 0x4e1562
mov dword [ebp + 8], str.Greek
jmp 0x4e1562
mov dword [ebp + 8], str.Turkish
jmp 0x4e1562
mov dword [ebp + 8], str.Hebrew
jmp 0x4e1562
mov dword [ebp + 8], str.Arabic
jmp 0x4e1562
mov dword [ebp + 8], str.Unknown
mov edx, dword [0x5d2d10]
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 4], 0
mov ax, word [ecx]
test eax, eax
je 0x4e15ec
cmp eax, 0x400
je 0x4e15e5
cmp eax, 0x800
je 0x4e15de
lea eax, [ebp - 0x448]
xor edx, edx
mov dx, word [ecx]
push 0x400
push eax
push 2
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4e15b0
lea eax, [ebp - 0x448]
push eax
jmp 0x4e15f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.004ef200
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00530cc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00530b8f
jmp 0x4e15f9
push str.Neutral_Sys._Default_
jmp 0x4e15f1
push str.Neutral_Default_
jmp 0x4e15f1
push str.Neutral
lea ecx, [ebp - 0x14]
call fcn.00530d18
mov edx, dword [ebx + 0x150]
push 0
push 0
push 0x1004
push edx
call edi
push 0
push 1
push 0
push 0
lea esi, [ebx + 0x134]
push str.Language
push eax
push 3
mov ecx, esi
call fcn.0052a24b
mov ecx, dword [ebp - 0x14]
push 0
push 0
push 0
push 0
push ecx
push 1
push 1
push eax
mov ecx, esi
call fcn.0052a2cd
mov edx, dword [0x5d2d10]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x24]
xor eax, eax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ax, word [ecx]
push eax
push str.0x_04x
push edx
call fcn.00528823
mov eax, dword [ebx + 0x150]
add esp, 0xc
push 0
push 0
push 0x1004
push eax
call edi
push 0
push 1
push 0
push 0
push str.Language_ID
push eax
push 3
mov ecx, esi
call fcn.0052a24b
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push ecx
push 1
push 1
push eax
mov ecx, esi
call fcn.0052a2cd
mov edx, dword [ebx + 0x150]
push 0
push 0
push 0x1004
push edx
call edi
push 0
push 1
push 0
push 0
push str.Code_Page
push eax
push 3
mov ecx, esi
call fcn.0052a24b
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push ecx
push 1
push 1
push eax
mov ecx, esi
call fcn.0052a2cd
mov edx, dword [0x5d2d10]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x24]
xor eax, eax
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov ax, word [ecx + 2]
push eax
push str.0x_04x
push edx
call fcn.00528823
mov eax, dword [ebx + 0x150]
add esp, 0xc
push 0
push 0
push 0x1004
push eax
call edi
push 0
push 1
push 0
push 0
push str.Code_Page_ID
push eax
push 3
mov ecx, esi
call fcn.0052a24b
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 0
push 0
push ecx
push 1
push 1
push eax
mov ecx, esi
call fcn.0052a2cd
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x18]
push edx
push eax
push str.StringFileInfo
push ecx
mov dword [ebp - 0x18], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4e1986
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
mov eax, dword [ebp - 0x18]
jns 0x4e189a
mov edi, 0x10
mov dword [ebp - 0x10], eax
cmp word [eax], di
jbe 0x4e1986
lea edx, [eax + 4]
lea ecx, [eax + 3]
mov dword [ebp - 0x38], edx
lea edx, [eax + 2]
inc eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
add eax, edi
test al, 3
je 0x4e17be
inc edi
inc eax
test al, 3
jne 0x4e17b8
mov ecx, dword [ebp - 0x38]
add ecx, edi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00530bfd
mov edx, dword [0x5d2d10]
mov dword [ebp + 8], edx
mov ecx, dword [ebp - 0x40]
xor eax, eax
xor edx, edx
mov byte [ebp - 4], 5
mov al, byte [ecx + edi]
mov ecx, dword [ebp - 0x30]
shl eax, 8
mov dl, byte [ecx + edi]
add eax, edx
je 0x4e1811
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
add eax, edi
lea eax, [eax + ecx + 5]
test al, 3
je 0x4e1808
inc eax
test al, 3
jne 0x4e1803
push eax
lea ecx, [ebp + 8]
call fcn.00530d18
mov edx, dword [ebx + 0x150]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x1c]
push 0
push 1
push 0
push 0
push ecx
push eax
push 3
mov ecx, esi
call fcn.0052a24b
mov edx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push edx
push 1
push 1
push eax
mov ecx, esi
call fcn.0052a2cd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00530b8f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00530b8f
mov ecx, dword [ebp - 0x34]
xor eax, eax
xor edx, edx
mov al, byte [ecx + edi]
mov ecx, dword [ebp - 0x10]
shl eax, 8
mov dl, byte [edi + ecx]
add edx, edi
lea edi, [edx + eax]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [eax]
cmp edi, edx
jb 0x4e17af
jmp 0x4e1986
xor ecx, ecx
mov edi, 0xc
mov cx, word [eax]
and ecx, 0xfffffffe
cmp ecx, 0x18
jbe 0x4e1986
lea ecx, [edi + edi]
mov edx, eax
sub edx, ecx
test dl, 3
je 0x4e18c9
add ecx, 2
mov edx, eax
sub edx, ecx
inc edi
test dl, 3
jne 0x4e18bc
lea eax, [eax + edi*2 + 6]
lea ecx, [ebp - 0x10]
push eax
call fcn.00530c4f
mov ecx, dword [0x5d2d10]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
cmp word [ecx + edi*2 + 2], 0
je 0x4e190e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
add eax, edi
lea eax, [ecx + eax*2 + 8]
test al, 3
je 0x4e1905
add eax, 2
test al, 3
jne 0x4e18fe
push eax
lea ecx, [ebp + 8]
call fcn.00530d3f
mov eax, dword [ebx + 0x150]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x10]
push 0
push 1
push 0
push 0
push ecx
push eax
push 3
mov ecx, esi
call fcn.0052a24b
mov edx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push edx
push 1
push 1
push eax
mov ecx, esi
call fcn.0052a2cd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00530b8f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00530b8f
mov eax, dword [ebp - 0x18]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + edi*2]
mov dx, word [eax]
shr ecx, 1
add edi, ecx
shr edx, 1
cmp edi, edx
jb 0x4e18b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00530b8f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00530b8f
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00530b8f
lea esp, [ebp - 0x454]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4