Function at 0x415640
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42da9d
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x43b0e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x588]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 4], 0
push 0x104
push 0
lea ecx, [ebp - 0x330]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push str.fkzktlfgod_
lea ecx, [ebp - 0x62c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x614], eax
mov edx, dword [ebp - 0x614]
mov dword [ebp - 0x628], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x628]
push eax
lea ecx, [ebp - 0x588]
call dword [sym.imp.Engine.dll_public:_int___thiscall_CTString::IsEqualCaseSensitive_class_CTString_const__const]
test eax, eax
jne 0x4156e4
mov dword [ebp - 0x5c4], 1
jmp 0x4156ee
mov dword [ebp - 0x5c4], 0
mov cl, byte [ebp - 0x5c4]
mov byte [ebp - 0x579], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x62c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
movzx edx, byte [ebp - 0x579]
test edx, edx
je 0x415a08
mov dword [ebp - method.XSingle_struct_IPCEventInfo_.virtual_0], vtable.XSingle_struct_IPCEventInfo_.0
mov dword [ebp - method.XExtIPCManager_struct_IPCEventInfo_.virtual_0], vtable.XExtIPCManager_struct_IPCEventInfo_.0
mov byte [ebp - 4], 2
call fcn.00418190
movzx eax, al
test eax, eax
je 0x41577a
mov ecx, dword [0x46209c]
mov dword [ebp - 0x630], ecx
xor edx, edx
je 0x415756
mov byte [ebp - 0x575], 1
jmp 0x41575d
mov byte [ebp - 0x575], 0
movzx eax, byte [ebp - 0x575]
push eax
push 1
mov ecx, dword [ebp - 0x630]
call fcn.00418010
mov dword [ebp - 0x58c], eax
jmp 0x415784
mov dword [ebp - 0x58c], 0xffffffff
cmp dword [ebp - 0x58c], 0
jge 0x41581d
push 0
push 0x430a64
push 0x430a70
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x46209c]
mov dword [ebp - 0x634], ecx
xor edx, edx
je 0x4157be
mov byte [ebp - 0x576], 1
jmp 0x4157c5
mov byte [ebp - 0x576], 0
movzx eax, byte [ebp - 0x576]
push eax
mov ecx, dword [ebp - 0x634]
call fcn.00419890
call fcn.00419970
mov dword [ebp - 0x5dc], 1
mov byte [ebp - 4], 0
mov dword [ebp - method.XExtIPCManager_struct_IPCEventInfo_.virtual_0], vtable.XExtIPCManager_struct_IPCEventInfo_.0
mov dword [ebp - method.XSingle_struct_IPCEventInfo_.virtual_0], vtable.XSingle_struct_IPCEventInfo_.0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [ebp - 0x5dc]
jmp 0x41615a
mov dword [ebp - 0x598], 0
mov ecx, dword [0x46209c]
mov dword [ebp - 0x5e0], ecx
push 0
lea edx, [ebp - 0x344]
push edx
mov ecx, dword [ebp - 0x5e0]
call fcn.004188c0
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x598]
add eax, 1
mov dword [ebp - 0x598], eax
cmp dword [ebp - 0x58c], 0
jle 0x4159e0
cmp dword [ebp - 0x338], 0x64
je 0x415954
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x21c], 0
push 0x104
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [0x46209c]
mov dword [ebp - 0x5e4], edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x5e4]
call fcn.00418800
push 0
push 0x430a98
push str.This_program_could_not_be_run_itself
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x46209c]
mov dword [ebp - 0x5e8], ecx
xor edx, edx
je 0x4158f5
mov byte [ebp - 0x577], 1
jmp 0x4158fc
mov byte [ebp - 0x577], 0
movzx eax, byte [ebp - 0x577]
push eax
mov ecx, dword [ebp - 0x5e8]
call fcn.00419890
call fcn.00419970
mov dword [ebp - 0x5ec], 1
mov byte [ebp - 4], 0
mov dword [ebp - method.XExtIPCManager_struct_IPCEventInfo_.virtual_0], vtable.XExtIPCManager_struct_IPCEventInfo_.0
mov dword [ebp - method.XSingle_struct_IPCEventInfo_.virtual_0], vtable.XSingle_struct_IPCEventInfo_.0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [ebp - 0x5ec]
jmp 0x41615a
mov dword [ebp - 0x220], 0x64
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x21c], 0
push 0x104
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [0x46209c]
mov dword [ebp - 0x5f0], edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x5f0]
call fcn.00418800
mov ecx, dword [0x46209c]
mov dword [ebp - 0x5f4], ecx
xor edx, edx
je 0x4159bf
mov byte [ebp - 0x578], 1
jmp 0x4159c6
mov byte [ebp - 0x578], 0
movzx eax, byte [ebp - 0x578]
push eax
mov ecx, dword [ebp - 0x5f4]
call fcn.00419890
call fcn.00419970
jmp 0x4159f0
cmp dword [ebp - 0x598], 0x3e8
jne 0x415827
mov byte [ebp - 4], 0
mov dword [ebp - method.XExtIPCManager_struct_IPCEventInfo_.virtual_0], vtable.XExtIPCManager_struct_IPCEventInfo_.0
mov dword [ebp - method.XSingle_struct_IPCEventInfo_.virtual_0], vtable.XSingle_struct_IPCEventInfo_.0
lea ecx, [ebp - 0x330]
push ecx
call fcn.00412ac0
add esp, 4
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push ecx
mov ecx, esp
mov dword [ebp - 0x638], esp
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413840
add esp, 0xc
mov dword [ebp - 0x5f8], eax
cmp dword [ebp - 0x5f8], 0
jne 0x415a79
mov dword [ebp - 0x5fc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [ebp - 0x5fc]
jmp 0x41615a
push 0x104
push 0
lea edx, [ebp - 0x114]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x600]
push ecx
lea edx, [ebp - 0x114]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebp - 0x5c8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x59c], eax
mov ecx, dword [ebp - 0x59c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x5cc], eax
mov edx, dword [ebp - 0x5cc]
push edx
mov eax, dword [ebp - 0x5c8]
push eax
mov ecx, dword [ebp - 0x600]
push ecx
lea edx, [ebp - 0x114]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x5d0], 0
mov dword [ebp - 0x604], 0
lea eax, [ebp - 0x604]
push eax
lea ecx, [ebp - 0x5d0]
push ecx
push str.StringFileInfo000004b0FileVersion
mov edx, dword [ebp - 0x5cc]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x415b91
call dword [sym.imp.Engine.dll_class_CUIManager____cdecl_SE_Get_UIManagerPtr_void_]
mov dword [ebp - 0x608], eax
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0x5d4], eax
mov ecx, 4
imul edx, ecx, 0xa6
mov eax, dword [ebp - 0x608]
mov ecx, dword [eax + edx + 0x258]
mov dword [ebp - 0x5d4], ecx
mov edx, dword [ebp - 0x5d0]
mov dword [ebp - 0x60c], edx
mov eax, dword [ebp - 0x60c]
push eax
mov ecx, dword [ebp - 0x5d4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CUILoginNew::setVersion_char_const__]
mov ecx, dword [ebp - 0x59c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x59c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x610], 1
mov eax, dword [sym.imp.Engine.dll_char__g_szExitError]
cmp dword [eax], 0
jne 0x415bf0
cmp dword [ebp - 0x610], 0
je 0x415bf0
mov ecx, dword [sym.imp.Engine.dll_class_CGameState___pGameState]
mov ecx, dword [ecx]
call dword [sym.imp.Engine.dll_public:_int____thiscall_CGameState::Running_void_]
mov dword [eax], 1
mov edx, dword [sym.imp.Engine.dll_class_CGameState___pGameState]
mov ecx, dword [edx]
call dword [sym.imp.Engine.dll_public:_int____thiscall_CGameState::QuitScreen_void_]
mov dword [eax], 1
mov eax, dword [0x462000]
mov dword [eax + 8], 0
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
push 1
push 0x282
mov ecx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xorps xmm0, xmm0
movss dword [ebp - 0x5a4], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x584], xmm0
mov dword [ebp - 0x594], 0
xorps xmm0, xmm0
movss dword [ebp - 0x590], xmm0
call fcn.00412950
call fcn.0040c110
mov eax, dword [sym.imp.Engine.dll_bool_DiscordUpdateData]
mov byte [eax], 1
lea ecx, [ebp - 0x560]
call fcn.004178f0
mov byte [ebp - 0x574], 0
mov byte [ebp - 4], 3
mov ecx, dword [sym.imp.Engine.dll_class_CGameState___pGameState]
mov ecx, dword [ecx]
call dword [sym.imp.Engine.dll_public:_int____thiscall_CGameState::Running_void_]
cmp dword [eax], 0
je 0x416107
push 0x43023a
mov ecx, 0x46203c
call dword [sym.imp.Engine.dll_public:_int___thiscall_CTString::operator_char_const__const]
test eax, eax
je 0x416107
call fcn.00412640
call fcn.0040bae0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x5c0]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x415f9b
cmp dword [ebp - 0x5bc], 0x200
jb 0x415ced
cmp dword [ebp - 0x5bc], 0x20e
ja 0x415ced
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_int___thiscall_cWeb::IsWebHandle_void_]
test eax, eax
je 0x415d28
cmp dword [ebp - 0x5bc], 0x100
jne 0x415d02
cmp dword [ebp - 0x5b8], 0x79
je 0x415d28
cmp dword [ebp - 0x5bc], 0x104
je 0x415d28
lea eax, [ebp - 0x5c0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x5c0]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x5bc], 0x112
jne 0x415e2a
mov edx, dword [ebp - 0x5b8]
and edx, 0xfffffff0
mov dword [ebp - 0x5a0], edx
cmp dword [ebp - 0x5a0], 0xf020
je 0x415d70
cmp dword [ebp - 0x5a0], 0xf030
je 0x415dcc
cmp dword [ebp - 0x5a0], 0xf120
je 0x415da1
jmp 0x415e2a
mov eax, dword [sym.imp.Engine.dll_int__bWindowChanging]
cmp dword [eax], 0
je 0x415d7f
jmp 0x415e2a
mov ecx, dword [sym.imp.Engine.dll_int__bWindowChanging]
mov dword [ecx], 1
push 6
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x415e2a
mov ecx, dword [sym.imp.Engine.dll_int__bWindowChanging]
cmp dword [ecx], 0
je 0x415dae
jmp 0x415e2a
mov edx, dword [sym.imp.Engine.dll_int__bWindowChanging]
mov dword [edx], 1
push 1
mov eax, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x415e2a
mov edx, dword [sym.imp.Engine.dll_int__bWindowChanging]
cmp dword [edx], 0
je 0x415dd9
jmp 0x415e2a
mov eax, dword [sym.imp.Engine.dll_int__bWindowChanging]
mov dword [eax], 1
push 1
mov ecx, dword [sym.imp.Engine.dll_long_int_sam_iDisplayDepth]
mov edx, dword [ecx]
push edx
mov eax, dword [sym.imp.Engine.dll_long_int_sam_iScreenSizeJ]
mov ecx, dword [eax]
push ecx
mov edx, dword [sym.imp.Engine.dll_long_int_sam_iScreenSizeI]
mov eax, dword [edx]
push eax
mov ecx, dword [sym.imp.Engine.dll_long_int_sam_iDisplayAdapter]
mov edx, dword [ecx]
push edx
mov eax, dword [sym.imp.Engine.dll_long_int_sam_iGfxAPI]
mov ecx, dword [eax]
push ecx
call fcn.00411750
add esp, 0x18
push 1
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x5bc], 0x12
jne 0x415e38
call fcn.00412f00
cmp dword [ebp - 0x5bc], 6
jne 0x415e69
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xffff
movzx edx, cx
test edx, edx
je 0x415e8d
mov eax, dword [ebp - 0x5b8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
jne 0x415e8d
cmp dword [ebp - 0x5bc], 0x1f
je 0x415e8d
cmp dword [ebp - 0x5bc], 8
je 0x415e8d
cmp dword [ebp - 0x5bc], 0x1c
jne 0x415ea7
cmp dword [ebp - 0x5b8], 0
jne 0x415ea7
push 0
push 1
push 0x282
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x415f26
cmp dword [ebp - 0x5bc], 6
jne 0x415ed7
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xffff
movzx edx, cx
cmp edx, 1
je 0x415ef2
mov eax, dword [ebp - 0x5b8]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 2
je 0x415ef2
cmp dword [ebp - 0x5bc], 7
je 0x415ef2
cmp dword [ebp - 0x5bc], 0x1c
jne 0x415f26
cmp dword [ebp - 0x5b8], 0
je 0x415f26
cmp dword [ebp - 0x5bc], 7
jne 0x415f0e
mov ecx, 7
lea esi, [ebp - 0x5c0]
lea edi, [ebp - 0x5c0]
rep movsd dword es:[edi], dword [esi]
push 0
push 1
push 0x282
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.Engine.dll_class_CUIManager____cdecl_SE_Get_UIManagerPtr_void_]
mov dword [ebp - 0x624], eax
push 0x461fd8
lea ecx, [ebp - 0x5c0]
push ecx
mov ecx, dword [ebp - 0x624]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CUIManager::MsgProc_struct_tagMSG___int__]
mov edx, dword [sym.imp.Engine.dll_class_CGameState___pGameState]
mov ecx, dword [edx]
call dword [sym.imp.Engine.dll_public:_long_int____thiscall_CGameState::GetGameMode_void_]
cmp dword [eax], 0
jne 0x415f80
mov eax, dword [0x462000]
cmp dword [eax + 8], 0
je 0x415f74
mov ecx, dword [0x462000]
cmp dword [ecx + 8], 3
jne 0x415f80
mov dword [ebp - 0x5d8], 1
jmp 0x415f8a
mov dword [ebp - 0x5d8], 0
mov edx, dword [ebp - 0x5d8]
mov dword [ebp - 0x640], edx
jmp 0x415ca8
mov eax, dword [sym.imp.Engine.dll_int__bWindowChanging]
mov dword [eax], 0
call fcn.004131d0
call fcn.00414c30
mov ecx, dword [ebp - 0x594]
add ecx, 1
mov dword [ebp - 0x594], ecx
mov edx, dword [sym.imp.Engine.dll_class_CTimer___pTimer]
mov eax, dword [edx]
mov dword [ebp - 0x618], eax
lea ecx, [ebp - 0x648]
push ecx
mov ecx, dword [ebp - 0x618]
call dword [sym.imp.Engine.dll_public:_class_CTimerValue___thiscall_CTimer::GetHighPrecisionTimer_void_]
mov dword [ebp - 0x61c], eax
mov edx, dword [ebp - 0x61c]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
call fcn.0042b810
divsd xmm0, qword [0x42fdd0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x584], xmm0
movzx eax, byte [0x4620a0]
test eax, eax
jne 0x416102
mov ecx, dword [sym.imp.Engine.dll_float_g_fFramePerSecond]
movss xmm0, dword [ecx]
ucomiss xmm0, dword [0x4313a4]
lahf
test ah, 0x44
jnp 0x41604d
movss xmm0, dword [ebp - 0x584]
subss xmm0, dword [ebp - 0x5a4]
comiss xmm0, dword [0x43138c]
jb 0x416102
cvtsi2ss xmm0, dword [ebp - 0x594]
movss xmm1, dword [ebp - 0x584]
subss xmm1, dword [ebp - 0x5a4]
divss xmm0, xmm1
mov edx, dword [sym.imp.Engine.dll_float_g_fFramePerSecond]
movss dword [edx], xmm0
mov eax, dword [sym.imp.Engine.dll_float_g_fFramePerSecond]
movss xmm0, dword [0x431398]
comiss xmm0, dword [eax]
jbe 0x4160a3
movss xmm0, dword [ebp - 0x584]
movss dword [ebp - 0x590], xmm0
mov ecx, dword [sym.imp.Engine.dll_int_g_bNoPlaySnd]
mov dword [ecx], 1
jmp 0x4160e8
movss xmm0, dword [ebp - 0x590]
ucomiss xmm0, dword [0x431380]
lahf
test ah, 0x44
jnp 0x4160e8
movss xmm0, dword [ebp - 0x584]
subss xmm0, dword [ebp - 0x590]
comiss xmm0, dword [0x43138c]
jbe 0x4160e8
xorps xmm0, xmm0
movss dword [ebp - 0x590], xmm0
mov edx, dword [sym.imp.Engine.dll_int_g_bNoPlaySnd]
mov dword [edx], 0
mov dword [ebp - 0x594], 0
movss xmm0, dword [ebp - 0x584]
movss dword [ebp - 0x5a4], xmm0
jmp 0x415c6f
call fcn.0040c110
call fcn.0040b9f0
mov eax, dword [0x462000]
mov edx, dword [eax]
mov ecx, dword [0x462000]
mov eax, dword [edx + 0x44]
call eax
call fcn.00413050
mov dword [ebp - 0x620], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x350]
call fcn.00419ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [ebp - 0x620]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b23a
mov esp, ebp
pop ebp
ret