Function at 0x10055890
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3ef7
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10122094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x14c]
mov dword [ebp - 4], 0
push eax
push str.Game.exe
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x154], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
xor ebx, ebx
mov dword [ebp - 0x130], 0
mov edi, eax
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov esi, 0xf
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x15c], 1
test edi, edi
je 0x10055a6d
push edi
call fcn.100b554a
add esp, 4
mov dword [ebp - 0x158], eax
push eax
push edi
push dword [ebp - 0x14c]
push str.Game.exe
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov edi, dword [ebp - 0x158]
test eax, eax
je 0x10055a64
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x101032fc
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x10055a64
cmp dword [ebp - 0x150], ebx
je 0x10055a64
mov ecx, dword [ebp - 0x154]
cmp dword [ecx], 0xfeef04bd
jne 0x10055a64
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x118]
push str._d._d._d._d
push eax
call fcn.10055870
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x148], ebx
add esp, 0x18
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100559f0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.1003f030
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x130]
call fcn.1004eec0
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x10055a58
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10055a4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055b2e
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ebx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
push edi
call fcn.100b4f0b
add esp, 4
mov edi, dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
cmp esi, 0x10
mov edx, ebx
push 9
cmovae ecx, edi
push str.1.0.13.60
call fcn.100541a0
add esp, 8
test al, al
je 0x10055a98
xor eax, eax
jmp 0x10055abe
cmp esi, 0x10
lea ecx, [ebp - 0x130]
push 9
cmovae ecx, edi
mov edx, ebx
push str.1.0.13.64
call fcn.100541a0
add esp, 8
test al, al
je 0x10055b09
mov eax, 1
mov dword [0x10122eb8], eax
cmp esi, 0x10
jb 0x10055aed
inc esi
mov eax, edi
cmp esi, 0x1000
jb 0x10055ae3
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055b33
push esi
push edi
call fcn.100b4eda
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4e9c
mov esp, ebp
pop ebp
ret
push 0
push str.Failed_to_Detect_Game_Version
push str.Game_version_not_detected_or_is_unsupported_
push 0
mov dword [0x10122eb8], 0xffffffff
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.100c5fdb
call fcn.100ba49f
call fcn.100ba49f
int3