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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10097596
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
push 1
xor eax, eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x54]
push 0x100a5588
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
call fcn.10057740
mov dword [esp + 0xa0], 0
mov eax, dword [edi]
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.100639a0
test eax, eax
je 0x10053ff2
mov bl, byte [eax + 0x1a]
mov edx, dword [eax + 0x30]
cmp bl, 1
je 0x10053d23
cmp bl, 2
jne 0x10053d39
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10053d39
movzx eax, word [eax + 0x18]
lea ecx, [ecx*2 + 2]
cmp eax, ecx
je 0x10053d41
test edx, edx
jne 0x10053ff2
cmp bl, 1
je 0x10053d4e
test edx, edx
jne 0x10053ff2
cmp edx, 0xffffffff
je 0x10053ff2
mov dword [esi], edx
lea ecx, [esp + 0x68]
push 0x100a558c
lea edx, [esp + 0x54]
call fcn.1005c670
add esp, 4
mov byte [esp + 0xa0], 1
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.10055bc0
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10053f8b
mov eax, dword [eax]
lea ecx, [esp + 0x68]
cmp ecx, eax
je 0x10053daf
push 0xffffffffffffffff
push 0
push eax
call fcn.10057620
push ecx
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10055d90
mov byte [esp + 0xa0], 3
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10053eab
push 0
push 4
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 4
jne 0x10053eab
cmp dword [ecx + 0xc], 0
jne 0x10053eab
mov eax, 0x809
cmp word [esp + 0x18], ax
jne 0x10053eab
movzx eax, word [esp + 0x1a]
cdq
push edx
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [esp + 0x14]
movzx eax, word [esp + 0x1a]
cdq
cmp eax, dword [ecx + 8]
jne 0x10053eab
cmp edx, dword [ecx + 0xc]
jne 0x10053eab
mov eax, 0x600
cmp word [esp + 0x80], ax
jb 0x10053eab
cmp word [esp + 0x82], 5
jne 0x10053eab
push 0
push 4
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 4
jne 0x10053eab
cmp dword [ecx + 0xc], 0
jne 0x10053eab
mov eax, dword [esp + 0x18]
cmp ax, 0xa
je 0x10053f6e
mov ebx, 0x85
cmp ax, bx
je 0x10053ed3
movzx eax, word [esp + 0x1a]
push 1
cdq
push edx
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x10053f39
xor bl, bl
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10053f8d
mov ecx, dword [eax]
push 1
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
jmp 0x10053f8d
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [esp + 0x14]
push 0
push 7
mov esi, dword [eax + 8]
add esi, dword [eax]
mov edi, dword [eax + 0xc]
adc edi, dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 7
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
jne 0x10053eab
mov eax, dword [esp + 0x28]
and eax, 0xff00
cmp eax, 0x100
je 0x10053fda
movzx eax, word [esp + 0x1a]
cdq
add eax, esi
push 0
adc edx, edi
push edx
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
mov ecx, dword [esp + 0x14]
push 0
push 4
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 4
jne 0x10053eab
cmp dword [ecx + 0xc], 0
jne 0x10053eab
mov eax, dword [esp + 0x18]
cmp ax, 0xa
jne 0x10053e82
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10053f8b
mov ecx, dword [eax]
push 1
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
xor bl, bl
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10053fa9
push eax
call esi
add esp, 4
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x7c], 8
jb 0x10053fc1
push dword [esp + 0x68]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jmp 0x10053ffa
mov ecx, dword [esp + 0x20]
call fcn.10053bd0
test al, al
je 0x10053eab
mov bl, 1
jmp 0x10053ead
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor bl, bl
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x10054015
push dword [esp + 0x50]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
mov al, bl
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.10081d64
mov esp, ebp
pop ebp
ret