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

Disassembly:
sub esp, 0x230
push ebx
xor ebx, ebx
cmp byte [esp + 0x238], bl
push esi
mov esi, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2c], ebx
jne 0x4c22cc
cmp byte [0x9205a4], bl
jne 0x4c22cc
mov eax, dword [0x8f71bc]
cmp eax, 0xa
jl 0x4c2bd9
cmp eax, 0xd
jg 0x4c2bd9
fld qword [0xa1e878]
fcomp dword [0x5ae038]
fnstsw ax
test ah, 5
jnp 0x4c2bd9
push ebp
push edi
lea ecx, [esi + 0xc]
call fcn.004bcb30
mov eax, 0xf
mov dword [esp + 0x108], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xb4], eax
push ebx
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
mov dword [esp + 0x1c0], 0x5ed674
mov dword [esp + 0x1c8], 0x5ed66c
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0049dd10
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 4]
mov ebp, 0x5ed5f4
lea ecx, [esp + 0x1c4]
mov dword [esp + edx + 0x1b8], ebp
call fcn.0049bff0
lea eax, [esi + 0xdf8]
mov eax, dword [eax]
cmp eax, ebx
mov edi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x200], ebx
mov dword [esp + 0x204], ebx
mov esi, eax
jne 0x4c23f8
mov esi, 0x5ad73f
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c2400
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xf8]
call fcn.0040a500
mov eax, dword [0x9206a0]
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xfc]
mov dword [esp + 0x40], eax
mov byte [esp + 0x1c], 0x2e
call fcn.004b9100
mov esi, eax
cmp esi, 0xffffffff
je 0x4c2a6e
push esi
push ebx
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040a330
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc4]
call fcn.0040a330
cmp dword [esp + 0x30], 0x10
jb 0x4c2492
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00588796
add esp, 4
push 0xffffffffffffffff
push esi
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040a330
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xe0]
call fcn.0040a330
cmp dword [esp + 0x30], 0x10
jb 0x4c24de
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00588796
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x68]
call fcn.0040a330
push 1
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x1c], 0x5c
call fcn.0043bcb0
cmp eax, 0xffffffff
je 0x4c2572
mov byte [esp + 0x10], 0x5c
mov esi, 0xf
push 0xffffffffffffffff
add eax, 1
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040a330
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x68]
call fcn.0040a330
cmp dword [esp + 0x30], 0x10
jb 0x4c255c
mov eax, dword [esp + 0x1c]
push eax
call fcn.00588796
add esp, 4
push 1
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x68]
call fcn.0043bcb0
cmp eax, 0xffffffff
jne 0x4c2517
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x8c]
call fcn.0040a330
push 1
push 0x5c6420
lea ecx, [esp + 0x88]
call fcn.0040a410
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x8c]
call fcn.0040a040
lea ecx, [esp + 0x14]
call fcn.00567a20
mov eax, dword [0x679828]
cmp eax, ebx
jne 0x4c25c7
mov eax, 0x5ad73f
cmp dword [esp + 0x98], 0x10
mov ecx, dword [esp + 0x84]
jae 0x4c25df
lea ecx, [esp + 0x84]
push 1
push eax
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00567650
lea ecx, [esp + 0x114]
call fcn.0056b630
lea ecx, [esp + 0x14]
call fcn.00567170
test eax, eax
je 0x4c261b
lea ecx, [esp + 0x14]
call fcn.00567170
push eax
lea ecx, [esp + 0x3c]
call fcn.0040a6f0
jmp 0x4c265b
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004b9bb0
lea edx, [esp + 0x1b0]
push edx
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0049cf40
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x4c]
call fcn.004ba7e0
push ebx
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x130]
mov dword [esp + 0x130], 0x5ed674
mov dword [esp + 0x138], 0x5ed66c
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0049dd10
mov edx, dword [esp + 0x128]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x134]
mov dword [esp + eax + 0x128], ebp
call fcn.0049bff0
mov dword [esp + 0x134], edi
or edi, 0xffffffff
xor ebp, ebp
cmp dword [esp + 0x4c], ebx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], ebx
je 0x4c2900
lea ebx, [ebx]
mov eax, dword [esp + 0x60]
mov esi, 0x10
cmp dword [esp + 0x74], esi
jae 0x4c26f3
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x70]
push ecx
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.0043bcb0
test eax, eax
jne 0x4c287b
mov edx, dword [esp + 0x70]
push 0xffffffffffffffff
add edx, 1
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040a330
cmp dword [esp + 0x2c], ebx
ja 0x4c273e
call fcn.00587c29
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x4c274c
lea eax, [esp + 0x1c]
movsx ecx, byte [eax]
push ecx
call fcn.0058e74c
add esp, 4
test eax, eax
je 0x4c2868
mov edx, dword [esp + 0x128]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x150]
lea ecx, [esp + ecx + 0x128]
add ebp, 1
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.0049d550
lea ecx, [esp + 0x134]
call fcn.0049b430
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x4c27a6
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x140]
call fcn.0049cdd0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x12c]
call fcn.004beae0
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x78]
jbe 0x4c27df
mov dword [esp + 0x78], eax
cmp eax, edi
jae 0x4c280c
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00567170
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x4c27f3
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xa4]
call fcn.0040a500
push 8
call fcn.00588cb9
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4c283e
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x4c282b
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
call fcn.00566e70
jmp 0x4c2840
xor esi, esi
mov eax, dword [esi]
cmp eax, ebx
jne 0x4c284b
mov eax, 0x5ad73f
push eax
call fcn.0058b0cc
add esp, 4
push 1
push esi
lea ecx, [esp + 0x11c]
call fcn.00406b80
mov esi, 0x10
cmp dword [esp + 0x30], esi
jb 0x4c287b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00588796
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00567140
lea ecx, [esp + 0x14]
call fcn.00567170
test eax, eax
je 0x4c28b8
lea ecx, [esp + 0x14]
call fcn.00567170
mov ecx, eax
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x4c28a0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.0040a500
jmp 0x4c28f6
mov edx, dword [esp + 0x50]
cmp edx, 0x10
mov esi, dword [esp + 0x3c]
mov eax, esi
jae 0x4c28cb
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
add eax, ecx
cmp edx, 0x10
mov ecx, 0xfffffffe
jae 0x4c28df
lea esi, [esp + 0x3c]
push eax
push ecx
mov edx, ecx
push esi
push edx
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x4c]
call fcn.004ba7e0
cmp dword [esp + 0x4c], ebx
jne 0x4c26e0
push 1
lea ecx, [esp + 0x118]
call fcn.004440d0
mov eax, dword [esp + 0x34]
add eax, 0xffffffff
cmp ebp, eax
jbe 0x4c2958
mov eax, dword [0x679828]
cmp eax, ebx
jne 0x4c2927
mov eax, 0x5ad73f
push eax
push ebx
lea ecx, [esp + 0xa4]
call fcn.004bc1e0
mov ecx, dword [esp + 0xa0]
mov ebp, 0x10
cmp dword [esp + 0xb4], ebp
jae 0x4c2951
lea ecx, [esp + 0xa0]
call fcn.005689d0
jmp 0x4c295d
mov ebp, 0x10
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0xd4]
push ecx
add edx, 1
push edx
push 0x5ae2e4
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x1d0]
push ecx
call fcn.0049daf0
add esp, 8
push eax
call fcn.004be460
add esp, 8
mov ecx, eax
call fcn.004be930
push eax
call fcn.0049daf0
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x1c8]
call fcn.004bc210
cmp dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x1c]
jae 0x4c29c2
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x54]
mov eax, dword [esi + 0xdf8]
cmp eax, ebx
jne 0x4c29d5
mov eax, 0x5ad73f
push ecx
push eax
call fcn.0058d5fb
add esp, 8
cmp dword [esp + 0x30], ebp
jb 0x4c29f2
mov eax, dword [esp + 0x1c]
push eax
call fcn.00588796
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c8]
call fcn.004bc210
cmp dword [esp + 0x30], ebp
mov eax, dword [esp + 0x1c]
jae 0x4c2a11
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x1cd0]
call fcn.00566e70
cmp dword [esp + 0x30], ebp
jb 0x4c2a30
mov edx, dword [esp + 0x1c]
push edx
call fcn.00588796
add esp, 4
lea ecx, [esp + 0x17c]
call fcn.0049cbc0
lea eax, [esp + 0x17c]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005881d0
add esp, 4
lea ecx, [esp + 0x114]
call fcn.00406be0
lea ecx, [esp + 0x14]
call fcn.00567ae0
jmp 0x4c2a77
mov esi, dword [esp + 0x54]
mov ebp, 0x10
cmp dword [esi + 4], 1
jne 0x4c2a91
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.004b7540
mov ecx, edi
call fcn.004b7630
mov dword [esi + 4], ebx
lea ecx, [esp + 0x20c]
call fcn.0049cbc0
lea ecx, [esp + 0x20c]
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005881d0
add esp, 4
cmp dword [esp + 0xb4], ebp
jb 0x4c2ad1
mov edx, dword [esp + 0xa0]
push edx
call fcn.00588796
add esp, 4
cmp dword [esp + 0x98], ebp
mov esi, 0xf
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x4c2b04
mov eax, dword [esp + 0x84]
push eax
call fcn.00588796
add esp, 4
cmp dword [esp + 0x74], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x4c2b2c
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00588796
add esp, 4
cmp dword [esp + 0xd0], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x4c2b51
mov edx, dword [esp + 0xbc]
push edx
call fcn.00588796
add esp, 4
cmp dword [esp + 0xec], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x4c2b7f
mov eax, dword [esp + 0xd8]
push eax
call fcn.00588796
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x4c2ba7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00588796
add esp, 4
cmp dword [esp + 0x108], ebp
pop edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
pop ebp
jb 0x4c2be2
mov edx, dword [esp + 0xec]
push edx
call fcn.00588796
add esp, 4
pop esi
pop ebx
add esp, 0x230
ret 4
push ebx
lea ecx, [esi + 0xc]
call fcn.004bc780
pop esi
pop ebx
add esp, 0x230
ret 4