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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535f26
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x924
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x864], 0
cmp dword [ebp + 0xc], 0
je 0x4155a8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x928], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x92c], ecx
mov edx, dword [ebp - 0x92c]
mov dword [ebp - 0x930], edx
mov eax, dword [ebp - 0x928]
mov cl, byte [eax]
mov byte [ebp - 0x931], cl
mov edx, dword [ebp - 0x92c]
mov al, byte [ebp - 0x931]
mov byte [edx], al
mov ecx, dword [ebp - 0x928]
add ecx, 1
mov dword [ebp - 0x928], ecx
mov edx, dword [ebp - 0x92c]
add edx, 1
mov dword [ebp - 0x92c], edx
cmp byte [ebp - 0x931], 0
jne 0x415563
jmp 0x4155bc
push 0x200
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x415609
push 0x546f7e
mov ecx, dword [ebp + 8]
call fcn.00401c80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x864]
or eax, 1
mov dword [ebp - 0x864], eax
mov eax, dword [ebp + 8]
jmp 0x4159a8
cmp dword [ebp - 0x220], 0x4e20
jbe 0x41561f
mov dword [ebp - 0x220], 0x4e20
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.0041bea2
add esp, 4
mov dword [ebp - 0x854], eax
mov edx, dword [ebp - 0x854]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0051ab50
add esp, 0xc
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x220]
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4156b2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x858], edx
mov eax, dword [ebp - 0x858]
push eax
call fcn.0041be97
add esp, 4
push str._1._2
mov ecx, dword [ebp + 8]
call fcn.00401c80
mov ecx, dword [ebp - 0x864]
or ecx, 1
mov dword [ebp - 0x864], ecx
mov eax, dword [ebp + 8]
jmp 0x4159a8
mov edx, dword [0x54caec]
mov dword [ebp - 0x430], edx
mov eax, dword [0x54caf0]
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x54caf4]
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], 0
mov byte [ebp - 0x640], 0
push 0x1ff
push 0
lea edx, [ebp - 0x63f]
push edx
call fcn.0051ab50
add esp, 0xc
mov byte [ebp - 0x420], 0
push 0x1ff
push 0
lea eax, [ebp - 0x41f]
push eax
call fcn.0051ab50
add esp, 0xc
mov byte [ebp - 0x840], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x83f]
push ecx
call fcn.0051ab50
add esp, 0xc
lea edx, [ebp - 0x430]
push edx
push 0x4b0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push str.StringFileInfo_04X_04X_s
lea ecx, [ebp - 0x640]
push ecx
call fcn.0051c994
add esp, 0x14
lea edx, [ebp - 0x430]
push edx
push 0x4e4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push str.StringFileInfo_04X_04X_s
lea ecx, [ebp - 0x420]
push ecx
call fcn.0051c994
add esp, 0x14
mov dword [ebp - 0x438], 0
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x438]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x14]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0x41582d
cmp dword [ebp - 0x84c], 4
jne 0x41582d
mov edx, dword [ebp - 0x438]
mov eax, dword [edx]
mov dword [ebp - 0x43c], eax
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x43c]
and edx, 0xff0000
shr edx, 0x10
push edx
mov eax, dword [ebp - 0x43c]
and eax, 0xff000000
shr eax, 0x18
push eax
mov ecx, dword [ebp - 0x43c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x43c]
and edx, 0xff00
shr edx, 8
push edx
push str.StringFileInfo_02X_02X_02X_02X_s
lea eax, [ebp - 0x840]
push eax
call fcn.0051c994
add esp, 0x1c
lea ecx, [ebp - 0x844]
push ecx
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x41587e
lea edx, [ebp - 0x844]
push edx
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x4158ab
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x848]
push ecx
lea edx, [ebp - 0x840]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x415954
cmp dword [ebp - 0x848], 0
je 0x415954
mov ecx, dword [ebp - 0x848]
push ecx
lea ecx, [ebp - 0x850]
call fcn.00401c80
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x85c], edx
mov eax, dword [ebp - 0x85c]
push eax
call fcn.0041be97
add esp, 4
mov ecx, dword [ebp - 0x850]
sub ecx, 0x10
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp - 0x8b0]
push edx
call fcn.0040a760
add esp, 4
mov dword [ebp - 0x8b4], eax
mov eax, dword [ebp - 0x8b4]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x864]
or edx, 1
mov dword [ebp - 0x864], edx
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x850]
call fcn.0041b810
mov eax, dword [ebp + 8]
jmp 0x4159a8
jmp 0x415963
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x860], eax
mov ecx, dword [ebp - 0x860]
push ecx
call fcn.0041be97
add esp, 4
push 0x546f7e
mov ecx, dword [ebp + 8]
call fcn.00401c80
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x864]
or edx, 1
mov dword [ebp - 0x864], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret