Function at 0x454740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x462fef
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov esi, ecx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
call eax
mov edi, eax
test edi, edi
je 0x45498d
jmp 0x4547a0
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push edi
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call edx
push str.FILE
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], 0
call dword [sym.imp.MSVCP80.dll_public:_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::compare_wchar_t_const__const]
test eax, eax
jne 0x454964
push 0x64
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x98], 1
je 0x4547f5
push eax
call fcn.00454200
mov ebp, eax
jmp 0x4547f7
xor ebp, ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x4737d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0xa0], 3
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x2c]
push edx
push edi
mov ecx, esi
call eax
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x98], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x454874
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x454865
lea eax, [esp + 0x58]
push 0
push eax
call dword [sym.imp.K8Common.dll_public:_static_unsigned_long_long_unsigned___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToUInt64_wchar_t_const___wchar_t_const___]
add esp, 8
mov dword [ebp], eax
push 0x4737cc
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xa0], 4
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, esi
call edx
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x98], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x4548da
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x4548c8
lea eax, [esp + 0x58]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.K8Common.dll_public:_static_unsigned_long_long_unsigned___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToUInt64_wchar_t_const___wchar_t_const___]
add esp, 8
mov dword [ebp + 4], eax
jmp 0x4548dc
xor ebx, ebx
push ebp
mov ecx, edi
call fcn.00454bf0
test al, al
je 0x4549b6
mov eax, 3
sub eax, 1
mov dword [esp + eax*4 + 0x2c], ebx
jns 0x4548f1
mov eax, 3
nop
sub eax, 1
mov dword [esp + eax*4 + 0x3c], ebx
jns 0x454900
mov ecx, dword [ebp]
sub ecx, 1
mov eax, 0x51eb851f
mul ecx
mov ecx, edx
mov edx, dword [ebp + 4]
sub edx, 1
mov eax, 0x51eb851f
mul edx
shr ecx, 5
shr edx, 5
cmp ecx, edx
jne 0x4549b6
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [ebp + 0xc], 1
mov dword [esp + 0x24], ebp
call fcn.00454d30
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push edi
mov ecx, esi
call eax
lea ecx, [esp + 0x70]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test edi, edi
jne 0x4547a0
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0045d098
add esp, 0x88
ret 8
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x45498f