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

Disassembly:
push 0xffffffffffffffff
push 0x4f2423
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53de10]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc4]
mov edi, dword [esp + 0xd0]
lea eax, [esp + 0x2c]
push eax
call fcn.0041cd70
mov edi, dword [esp + 0xd4]
test edi, edi
mov dword [esp + 0xbc], 0
je 0x41c1db
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x38]
mov ebx, edi
call fcn.00413660
lea ecx, [esp + 0x18]
call fcn.00402330
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0xc8]
mov esi, dword [eax + 4]
lea ecx, [ebx + 0x3c]
mov eax, edi
lea esi, [esp + esi + 0x34]
mov edi, ecx
call fcn.0041cf60
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
push ecx
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov edi, dword [esp + eax + 0x4c]
mov esi, dword [esp + eax + 0x54]
mov edx, edi
shr edx, 8
add esp, 8
and dl, 1
mov dword [esp + 0x24], esi
je 0x41c230
test esi, esi
mov byte [esp + 0x17], 1
jne 0x41c235
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xcc]
push 0xffffffffffffffff
push 0
call fcn.00401be0
cmp byte [esp + 0x17], 0
jne 0x41c34e
test esi, esi
jle 0x41c266
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0x38]
push edx
call eax
mov esi, dword [esp + 0xd8]
mov ecx, dword [esi + 0x14]
mov ebp, dword [ecx]
add esp, 8
test byte [ebx + 0x60], 2
mov byte [esp + 0x18], 0
je 0x41c2de
mov edx, dword [esi + 0x24]
mov eax, dword [edx]
sub eax, ebp
je 0x41c2c7
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea edx, [esp + ecx + 0x38]
push edx
call fcn.0040d050
cmp byte [ebp], al
je 0x41c2de
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2d
lea edx, [esp + ecx + 0x38]
push edx
call fcn.0040d050
cmp byte [ebp], al
je 0x41c2de
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x20
lea edx, [esp + ecx + 0x38]
push edx
call fcn.0040d050
mov byte [esp + 0x18], al
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov ecx, dword [esi + 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebx + 0x5c]
xor edx, edx
cmp byte [esp + 0x18], dl
mov dword [esp + 0x28], eax
setne dl
sub ecx, edx
cmp eax, ecx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x28]
jb 0x41c30a
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0x64]
mov edx, dword [ebx + 0x60]
mov eax, dword [eax]
shr edx, 2
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x18]
and edx, 0xffffff01
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
push edi
push edx
push ecx
push eax
mov eax, dword [esp + 0xe4]
push ebp
call fcn.0041d070
add esp, 0x1c
jmp 0x41c5e2
mov edx, dword [ebp]
mov ecx, dword [ebp + 8]
push edx
lea eax, [esp + 0x38]
push eax
call ecx
mov ebx, dword [esp + 0xd8]
mov edx, dword [ebx + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ecx]
mov edx, dword [esp + 0xd0]
mov esi, eax
sub esi, edi
add esp, 8
test byte [edx + 0x60], 2
mov dword [esp + 0x20], esi
mov byte [esp + 0x17], 0
je 0x41c3c1
sub eax, edi
je 0x41c3bc
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea edx, [esp + ecx + 0x38]
push edx
call fcn.0040d050
cmp byte [edi], al
je 0x41c3c1
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2d
lea edx, [esp + ecx + 0x38]
push edx
call fcn.0040d050
cmp byte [edi], al
je 0x41c3c1
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
cmp esi, eax
jne 0x41c3f1
mov ecx, dword [esp + 0xc8]
cmp eax, dword [ecx + 0x5c]
jg 0x41c3f1
cmp byte [esp + 0x17], 0
jne 0x41c3f1
mov ecx, dword [esp + 0xcc]
push esi
push edi
call fcn.00401b10
mov esi, ebx
jmp 0x41c5e2
mov ecx, dword [esp + 0xcc]
push esi
push edi
call fcn.00401b10
mov esi, ebx
call fcn.0041d000
lea edx, [esp + 0x6c]
push edx
mov edi, ebx
call fcn.0041cd70
mov edi, dword [esp + 0xc8]
mov byte [esp + 0xbc], 1
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0xd4]
lea esi, [esp + esi + 0x74]
add edi, 0x3c
call fcn.0041cf60
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
push ecx
lea edx, [esp + 0x78]
push edx
call eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 4]
add esp, 8
cmp byte [esp + 0x17], 0
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x41c474
lea edx, [esp + 0x74]
push edx
mov cl, 0x20
call fcn.0040d510
add esp, 4
mov eax, dword [ebp]
mov edx, dword [ebp + 8]
push eax
lea ecx, [esp + 0x78]
push ecx
call edx
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
add esp, 8
sub eax, dword [ecx]
jne 0x41c4b2
mov edx, dword [esp + 0xc8]
test byte [edx + 0x60], 2
je 0x41c4b2
lea eax, [esp + 0x74]
push eax
mov cl, 0x20
mov byte [esp + 0x1b], 1
call fcn.0040d510
add esp, 4
mov edx, dword [ebx + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + 0x5c]
sub eax, ecx
mov dword [esp + 0x1c], eax
cmp eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x1c]
jb 0x41c4e0
lea eax, [esp + 0x28]
mov ebp, dword [eax]
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
ja 0x41c4ff
push ebp
push ecx
mov ecx, dword [esp + 0xd4]
call fcn.00401b10
jmp 0x41c5ca
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x20]
xor ecx, ecx
test bl, bl
setne cl
add eax, ecx
mov dword [esp + 0x20], eax
cmp ebp, eax
lea eax, [esp + 0x1c]
jb 0x41c520
lea eax, [esp + 0x20]
mov edx, dword [eax]
movzx esi, bl
cmp esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
jae 0x41c57b
mov ebx, esi
sub ebx, ecx
jmp 0x41c540
mov edi, dword [esp + 0xcc]
cmp ebx, dword [edi + 0x14]
jbe 0x41c555
call fcn.004b8c3b
mov edx, dword [esp + 0x20]
cmp dword [edi + 0x18], 0x10
jb 0x41c560
mov eax, dword [edi + 4]
jmp 0x41c563
lea eax, [edi + 4]
mov ecx, dword [esp + 0x18]
mov cl, byte [esi + ecx]
cmp cl, byte [ebx + eax]
jne 0x41c582
add esi, 1
add ebx, 1
cmp esi, edx
jb 0x41c540
jmp 0x41c582
mov edi, dword [esp + 0xcc]
cmp esi, ebp
jb 0x41c58a
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push edx
mov ecx, edi
call fcn.00401b10
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0xa4]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x20]
sub eax, ebp
push edx
call fcn.00401860
mov eax, dword [esp + 0x18]
sub ebp, esi
add esi, eax
push ebp
push esi
mov eax, edi
call fcn.0040b690
lea eax, [esp + 0x6c]
mov byte [esp + 0xbc], 0
call fcn.0041ca20
mov esi, dword [esp + 0xd0]
call fcn.0041d000
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x34]
and eax, ecx
mov dword [esp + 0xbc], 0xffffffff
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov dword [ecx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov esi, dword [esp + 0x30]
test esi, esi
je 0x41c63e
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41c63e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41c63e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], vtable.std::ios_base.0
call fcn.004b8053
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret