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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7519e9
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x580]
mov dword fs:[0], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x40]
mov eax, dword [0x833348]
add eax, 0xc4
push eax
call fcn.004f8e60
mov ecx, dword [0x833348]
mov dword [esp + 0x588], 0
mov eax, dword [ecx + 0xb0]
mov edi, dword [eax]
mov edi, dword [edi]
mov dword [esp + 0x24], edi
cmp edi, dword [eax]
je 0x4ed584
xor eax, eax
lea edx, [edi + 0x10]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x4ec9cb
mov eax, dword [edi + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0xf4]
movzx eax, word [eax + 0x2c]
test al, 1
jne 0x4ed525
mov esi, dword [edx + 0x58]
mov esi, dword [esi]
mov dword [esp + 0x28], esi
cmp esi, dword [edx + 0x58]
je 0x4ed525
nop
mov ebx, dword [esi + 0x19c]
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x19c]
je 0x4ed4c6
lea ecx, [esp + 0x424]
call fcn.004e5bc0
mov ecx, dword [0x833348]
lea eax, [esp + 0x3c]
push 1
push 1
push 0x10000
push eax
push dword [ebx + 0x10]
mov dword [esp + 0x50], 0
mov ecx, dword [ecx + 0xa8]
mov byte [esp + 0x59c], 1
call fcn.0047e480
mov dword [esp + 0x20], eax
cmp dword [eax + 0x5fc], 0
je 0x4ed464
add eax, 0xe8
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.00405090
test al, al
je 0x4ed464
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x424]
push dword [eax + 0x5fc]
call fcn.00426780
push dword [edi + 0x14]
lea ecx, [esp + 0x47c]
call fcn.00426780
mov ecx, dword [esp + 0x2c]
call fcn.00625670
lea ecx, [esp + 0x520]
movzx eax, word [eax + 4]
push eax
call fcn.004265e0
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xf4]
call fcn.00572450
cmp eax, 5
je 0x4ecae6
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xf4]
call fcn.00572450
cmp eax, 6
je 0x4ecae6
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xf4]
call fcn.00572450
cmp eax, 8
jne 0x4ecaf6
mov ecx, dword [esp + 0x1c]
call fcn.00433a20
test eax, 0x1000
je 0x4ecb53
movzx eax, word [edi + 0x12]
test eax, 0x8000
je 0x4ecb53
push 0x13a3
lea ecx, [esp + 0x498]
call fcn.00434720
lea ecx, [esp + 0x70]
call fcn.00609540
lea eax, [esp + 0x70]
mov byte [esp + 0x588], 2
push eax
lea ecx, [esp + 0x498]
call fcn.004f6ed0
lea ecx, [esp + 0x70]
call fcn.004f7460
push eax
lea ecx, [esp + 0x498]
call fcn.004f5a60
lea ecx, [esp + 0x70]
jmp 0x4ecbce
lea ecx, [esp + 0x58]
call fcn.00609540
lea eax, [esp + 0x368]
mov byte [esp + 0x588], 3
push eax
lea ecx, [edi + 0x10]
call fcn.00434700
lea ecx, [esp + 0x58]
mov byte [esp + 0x588], 4
push ecx
mov ecx, eax
call fcn.004f6fe0
cmp dword [esp + 0x380], 8
mov byte [esp + 0x588], 3
mov dword [esp + method.wbs::StringBase_wchar_t_.virtual_0], vtable.wbs::StringBase_wchar_t_.0
jb 0x4ecbb4
push dword [esp + 0x36c]
call fcn.006f75a9
add esp, 4
lea ecx, [esp + 0x58]
call fcn.004f7460
push eax
lea ecx, [esp + 0x498]
call fcn.004f5a60
lea ecx, [esp + 0x58]
mov byte [esp + 0x588], 1
call fcn.005ec500
mov ecx, dword [esp + 0x2c]
call fcn.00625670
lea ecx, [esp + 0x4b0]
push dword [eax]
call fcn.00426780
push 0x780470
lea ecx, [esp + 0x4d0]
call fcn.004f5a60
mov ecx, dword [esp + 0x2c]
call fcn.00625670
add eax, 0x1e8
lea ecx, [esp + 0x30]
push eax
call fcn.0041eca0
mov edx, dword [esp + 0x30]
mov byte [esp + 0x588], 5
mov eax, dword [edx]
cmp eax, edx
je 0x4eccf9
lea esi, [eax + 8]
mov ecx, 0x84
lea edi, [esp + 0x154]
rep movsd dword es:[edi], dword [esi]
cmp word [esp + 0x154], 0x400
je 0x4ecc59
mov eax, dword [eax]
cmp eax, edx
jne 0x4ecc31
jmp 0x4eccf1
push dword [esp + 0x160]
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x370]
call fcn.004f5910
lea ecx, [esp + 0x64]
mov byte [esp + 0x588], 6
call fcn.00609540
lea eax, [esp + 0x64]
mov byte [esp + 0x588], 7
push eax
lea ecx, [esp + 0x36c]
call fcn.004f6fe0
lea ecx, [esp + 0x64]
call fcn.004f7460
push eax
lea ecx, [esp + 0x4d0]
call fcn.004f5a60
lea ecx, [esp + 0x64]
mov byte [esp + 0x588], 6
call fcn.005ec500
cmp dword [esp + 0x380], 8
mov byte [esp + 0x588], 5
mov dword [esp + method.wbs::StringBase_wchar_t_.virtual_0], vtable.wbs::StringBase_wchar_t_.0
jb 0x4eccf1
push dword [esp + 0x36c]
call fcn.006f75a9
add esp, 4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
call fcn.00625670
test byte [eax + 0xc], 2
je 0x4ed01f
mov dword [esp + 0x7c], 0x780468
or dword [esp + 0x38], 1
xorps xmm0, xmm0
push 4
mov byte [esp + 0x58c], 8
mov dword [esp + 0xd0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [esp + 0xcc], 0x48
mov dword [esp + 0x100], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x201
mov dword [esp + 0xe8], 6
mov dword [esp + 0xec], 0
movlpd qword [esp + 0xf0], xmm0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xdc], 0
call fcn.006f7558
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4ecdca
push 1
call fcn.006f2fc3
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
jmp 0x4ecdcc
xor ecx, ecx
lea eax, [esp + 0x80]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x104], eax
lea ecx, [esp + 0xcc]
lea eax, [esp + 0x44]
mov dword [esp + 0x108], 0
push eax
call fcn.0042b8d0
push eax
mov dword [esp + 0x58c], 0xd
call fcn.00425a50
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x588], 9
test ecx, ecx
je 0x4ece36
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4ece36
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [esp + 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esp + 0x104], 0
mov byte [esp + 0x10c], al
jne 0x4ece77
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
or eax, 4
and eax, 0x17
mov dword [esp + 0xd8], eax
test ecx, eax
jne 0x4ed5c0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x588], 0xf
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x7c], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x78], eax
lea ecx, [esp + 0x80]
call fcn.00425ee0
mov dword [esp + 0x80], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 4
lea eax, [esp + 0x7c]
mov byte [esp + 0x588], 0x11
push 0x785658
push eax
call fcn.0042d540
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
jne 0x4ecef4
xor ecx, ecx
jmp 0x4ecefb
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x2c]
call fcn.00625670
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 8]
push eax
call fcn.004a6a80
lea eax, [esp + 0x384]
push eax
lea ecx, [esp + 0x80]
call fcn.0042c110
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x378]
mov byte [esp + 0x594], 0x12
mov dword [esp + 0x38c], 0xf
mov dword [esp + 0x388], 0
mov byte [esp + 0x378], 0
call fcn.00404c20
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
lea eax, [esp + 0x368]
mov byte [esp + 0x588], 0x13
push eax
lea ecx, [esp + 0x4ec]
call fcn.004f59b0
cmp dword [esp + 0x380], 0x10
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x4ecfb7
push dword [esp + 0x36c]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x398], 0x10
mov dword [esp + 0x380], 0xf
mov dword [esp + 0x37c], 0
mov byte [esp + 0x36c], 0
jb 0x4ecfee
push dword [esp + 0x384]
call fcn.006f75a9
add esp, 4
lea ecx, [esp + 0xcc]
mov byte [esp + 0x588], 5
call fcn.00426420
lea eax, [esp + 0xcc]
mov dword [esp + 0xcc], vtable.std::ios_base.0
push eax
call fcn.006f3261
add esp, 4
jmp 0x4ed030
push 0x780470
lea ecx, [esp + 0x4ec]
call fcn.004f5a60
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x4f4], 0
setne al
test al, al
je 0x4ed05a
lea eax, [ecx + 0x558]
push eax
lea ecx, [esp + 0x55c]
call fcn.004f5a60
jmp 0x4ed0d5
mov dword [esp + 0x398], 0xf
mov dword [esp + 0x394], 0
mov byte [esp + 0x384], 0
lea eax, [esp + 0x384]
mov byte [esp + 0x588], 0x14
push eax
add ecx, 8
call fcn.00573d30
cmp dword [esp + 0x398], 0x10
lea eax, [esp + 0x384]
lea ecx, [esp + 0x558]
cmovae eax, dword [esp + 0x384]
push eax
call fcn.004f5a60
cmp dword [esp + 0x398], 0x10
mov byte [esp + 0x588], 5
jb 0x4ed0d5
push dword [esp + 0x384]
call fcn.006f75a9
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
and eax, 0x700
cmp eax, 0x200
ja 0x4ed26d
je 0x4ed266
test eax, eax
je 0x4ed10a
cmp eax, 0x100
jne 0x4ed285
push 0x13b6
jmp 0x4ed279
push 0x13b5
lea ecx, [esp + 0x508]
call fcn.00434720
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x25c], 1
jbe 0x4ed285
push 1
push 0x77fed0
lea ecx, [esp + 0x3f8]
mov dword [esp + 0x40c], 0xf
mov dword [esp + 0x408], 0
mov byte [esp + 0x3f8], 0
call fcn.00409620
mov dword [esp + 0x3ec], 0x77e84c
push 2
push 0x77fed4
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x590], 0x15
mov dword [esp + 0x3bc], 0xf
mov dword [esp + 0x3b8], 0
mov byte [esp + 0x3a8], 0
call fcn.00409620
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3a8]
mov byte [esp + 0x590], 0x16
push eax
lea ecx, [esp + 0x514]
call fcn.004094b0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x504]
push dword [eax + 0x25c]
call fcn.00426780
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3f8]
push ecx
lea ecx, [eax + 4]
call fcn.004094b0
cmp dword [esp + 0x3b4], 0x10
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x4ed21a
push dword [esp + 0x3a0]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x404], 0x10
mov dword [esp + 0x3b4], 0xf
mov dword [esp + 0x3b0], 0
mov byte [esp + 0x3a0], 0
mov byte [esp + 0x588], 5
mov dword [esp + 0x3ec], 0x77e84c
jb 0x4ed285
push dword [esp + 0x3f0]
call fcn.006f75a9
add esp, 4
jmp 0x4ed285
push 0x13b7
jmp 0x4ed279
cmp eax, 0x300
jne 0x4ed285
push 0x13b8
lea ecx, [esp + 0x508]
call fcn.00434720
lea ecx, [esp + 0x4c]
call fcn.00609540
lea eax, [esp + 0x4c]
mov byte [esp + 0x588], 0x17
push eax
lea ecx, [esp + 0x508]
call fcn.004f6ed0
lea ecx, [esp + 0x4c]
call fcn.004f7460
push eax
lea ecx, [esp + 0x508]
call fcn.004f5a60
push 1
push 0x780470
lea ecx, [esp + 0x3dc]
mov dword [esp + 0x3f0], 0xf
mov dword [esp + 0x3ec], 0
mov byte [esp + 0x3dc], 0
call fcn.00409620
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x588], 0x18
mov eax, dword [eax + 0xf4]
mov ecx, dword [eax + 0x22]
movzx eax, word [eax + 0x26]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x440]
push eax
call fcn.004265e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3dc]
mov dword [esp + 0x28], eax
push ecx
lea ecx, [eax + 4]
call fcn.004094b0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.00426780
cmp dword [esp + 0x3e8], 0x10
mov byte [esp + 0x588], 0x17
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x4ed374
push dword [esp + 0x3d4]
call fcn.006f75a9
add esp, 4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x408]
push eax
call fcn.004339e0
lea eax, [esp + 0x4c]
mov byte [esp + 0x588], 0x19
push eax
lea ecx, [esp + 0x40c]
call fcn.004f6fe0
lea ecx, [esp + 0x4c]
call fcn.004f7460
push eax
lea ecx, [esp + 0x460]
call fcn.004f5a60
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x424]
push eax
lea ecx, [ecx + 8]
call fcn.004f0100
cmp dword [esp + 0x420], 8
mov dword [esp + 0x408], 0x77e854
jb 0x4ed3ec
push dword [esp + 0x40c]
call fcn.006f75a9
add esp, 4
xor eax, eax
mov dword [esp + 0x420], 7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x41c], 0
mov word [esp + 0x40c], ax
mov byte [esp + 0x588], 5
call fcn.005ec500
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], 0
cmp ecx, edx
je 0x4ed45b
lea esp, [esp]
mov eax, dword [ecx]
push ecx
mov dword [esp + 0x1c], eax
call fcn.006f75a9
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x4ed440
push edx
call fcn.006f75a9
add esp, 4
lea ecx, [esp + 0x424]
call fcn.004e6530
cmp byte [ebx + 0xd], 0
jne 0x4ed4b7
mov eax, dword [ebx + 8]
cmp byte [eax + 0xd], 0
jne 0x4ed49c
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
jne 0x4ed4b7
lea esp, [esp]
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
je 0x4ed490
jmp 0x4ed4b7
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], 0
jne 0x4ed4b5
cmp ebx, dword [eax + 8]
jne 0x4ed4b5
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4ed4a5
mov ebx, eax
cmp ebx, dword [esi + 0x19c]
jne 0x4eca04
lea edx, [edi + 0x10]
cmp byte [esi + 0xd], 0
jne 0x4ed516
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4ed4f3
mov esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4ed516
mov esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4ed4e3
jmp 0x4ed516
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4ed510
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4ed510
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4ed500
mov esi, eax
mov dword [esp + 0x28], esi
cmp esi, dword [edx + 0x58]
jne 0x4ec9f0
mov ecx, dword [0x833348]
cmp byte [edi + 0xd], 0
jne 0x4ed576
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4ed552
mov edi, eax
mov dword [esp + 0x24], edi
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4ed576
mov edi, eax
mov dword [esp + 0x24], edi
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4ed542
jmp 0x4ed576
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4ed570
jmp 0x4ed560
cmp edi, dword [eax + 8]
jne 0x4ed570
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4ed560
mov edi, eax
mov dword [esp + 0x24], edi
mov eax, dword [ecx + 0xb0]
cmp edi, dword [eax]
jne 0x4ec9b7
lea ecx, [esp + 0x40]
mov dword [esp + 0x588], 0xffffffff
call fcn.004f8ea0
mov al, 1
mov ecx, dword [esp + 0x580]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x568]
xor ecx, esp
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret 4
and eax, ecx
test al, 4
je 0x4ed67d
push 0x14
push str.ios_base::badbit_set
lea ecx, [esp + 0x3c0]
mov dword [esp + 0x3d4], 0xf
mov dword [esp + 0x3d0], 0
mov byte [esp + 0x3c0], 0
call fcn.00409620
lea eax, [esp + 0x3b8]
mov dword [esp + 0x588], 0xe
push eax
push 0x805020
push 1
lea ecx, [esp + 0x138]
call fcn.004260e0
cmp dword [esp + 0x3cc], 0x10
mov byte [esp + 0x588], 9
jb 0x4ed642
push dword [esp + 0x3b8]
call fcn.006f75a9
add esp, 4
push 0x7c38ec
lea eax, [esp + 0x130]
mov dword [esp + 0x3d0], 0xf
push eax
mov dword [esp + 0x3d0], 0
mov byte [esp + 0x3c0], 0
mov dword [esp + method.std::logic_error.virtual_0], vtable.std::ios_base::failure.0
call fcn.006f7cb3
test al, 2
je 0x4ed6b6
push str.ios_base::failbit_set
push 0x805020
push 1
lea ecx, [esp + 0x124]
call fcn.00426300
push 0x7c38ec
lea eax, [esp + 0x11c]
mov dword [esp + method.std::logic_error.virtual_0], vtable.std::ios_base::failure.0
push eax
call fcn.006f7cb3
push str.ios_base::eofbit_set
push 0x805020
push 1
lea ecx, [esp + 0x14c]
call fcn.00426300
push 0x7c38ec
lea eax, [esp + 0x144]
mov dword [esp + method.std::logic_error.virtual_0], vtable.std::ios_base::failure.0
push eax
call fcn.006f7cb3
int3