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

Disassembly:
push 0xffffffffffffffff
push 0x496a33
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cb08c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd0]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.00437ed0
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 4]
lea edi, [ebx + 0x3c]
lea esi, [esp + esi + 0x34]
mov dword [esp + 0x18], edi
call fcn.00438090
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov edi, dword [esp + eax + 0x44]
mov esi, dword [esp + eax + 0x4c]
mov ecx, edi
shr ecx, 8
and cl, 1
mov dword [esp + 0x24], esi
je 0x436cf6
test esi, esi
mov byte [esp + 0x17], 1
jne 0x436cfb
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xcc]
push 0xffffffffffffffff
push 0
call fcn.00402ea0
cmp byte [esp + 0x17], 0
jne 0x436e0c
test esi, esi
jle 0x436d2c
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0xc4]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0041de00
mov edx, dword [ebp + 0x14]
mov esi, dword [edx]
add esp, 8
test byte [ebx + 0x60], 2
mov byte [esp + 0x1c], 0
je 0x436d9c
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
sub eax, esi
je 0x436d86
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.0041d320
cmp byte [esi], al
je 0x436d9c
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.0041d320
cmp byte [esi], al
je 0x436d9c
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.0041d320
mov byte [esp + 0x1c], al
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov edx, dword [ebp + 0x14]
sub eax, dword [edx]
mov ecx, dword [ebx + 0x5c]
xor edx, edx
cmp byte [esp + 0x1c], dl
mov dword [esp + 0x20], eax
setne dl
sub ecx, edx
cmp eax, ecx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x20]
jb 0x436dc8
lea eax, [esp + 0x18]
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 + 0x18], cl
mov ecx, dword [esp + 0x1c]
and edx, 0xffffff01
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0xd8]
push edx
push ecx
push eax
push esi
call fcn.00438220
add esp, 0x1c
jmp 0x43706e
mov edx, dword [esp + 0xc4]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0041de00
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x14]
mov eax, dword [ecx]
mov esi, dword [edi]
mov edx, dword [esp + 0xd0]
mov ebx, eax
add esp, 8
sub ebx, esi
test byte [edx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x436e76
sub eax, esi
je 0x436e71
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.0041d320
cmp byte [esi], al
je 0x436e76
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.0041d320
cmp byte [esi], al
je 0x436e76
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
cmp ebx, eax
jne 0x436ea4
mov edx, dword [esp + 0xc8]
cmp eax, dword [edx + 0x5c]
jg 0x436ea4
cmp byte [esp + 0x17], 0
jne 0x436ea4
mov ecx, dword [esp + 0xcc]
push ebx
push esi
call fcn.00402dd0
jmp 0x43706e
mov ecx, dword [esp + 0xcc]
push ebx
push esi
call fcn.00402dd0
mov esi, ebp
call fcn.004381b0
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.00437ed0
mov eax, dword [esp + 0xd4]
mov byte [esp + 0xbc], 1
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx + 4]
mov edi, dword [esp + 0x18]
lea esi, [esp + esi + 0x74]
call fcn.00438090
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x436f0e
lea eax, [esp + 0x74]
push eax
call fcn.00438330
add esp, 4
mov ecx, dword [esp + 0xc4]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0041de00
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
add esp, 8
sub eax, dword [ecx]
jne 0x436f4e
mov edx, dword [esp + 0xc8]
test byte [edx + 0x60], 2
je 0x436f4e
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1b], 1
call fcn.00438330
add esp, 4
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + 0x5c]
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea eax, [esp + 0x18]
jb 0x436f7c
lea eax, [esp + 0x20]
mov edi, dword [eax]
cmp dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
ja 0x436f9b
push edi
push ecx
mov ecx, dword [esp + 0xd4]
call fcn.00402dd0
jmp 0x43705d
mov cl, byte [esp + 0x17]
xor eax, eax
test cl, cl
setne al
lea edx, [esp + 0x20]
add ebx, eax
cmp edi, ebx
mov dword [esp + 0x18], ebx
jb 0x436fb8
lea edx, [esp + 0x18]
mov edx, dword [edx]
movzx ecx, cl
mov esi, ecx
cmp esi, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
jae 0x4370fb
mov edi, esi
sub edi, eax
mov ebx, dword [esp + 0xcc]
cmp edi, dword [ebx + 0x14]
jbe 0x436fe8
call fcn.00471ad5
mov edx, dword [esp + 0x18]
cmp dword [ebx + 0x18], 0x10
jb 0x436ff3
mov eax, dword [ebx + 4]
jmp 0x436ff6
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x1c]
mov cl, byte [esi + ecx]
cmp cl, byte [edi + eax]
jne 0x43700c
add esi, 1
add edi, 1
cmp esi, edx
jb 0x436fd3
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp esi, edi
jb 0x43701a
mov esi, ecx
mov edx, dword [esp + 0x1c]
push esi
push edx
mov ecx, ebx
call fcn.00402dd0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0xa4]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x28], cl
mov edx, dword [esp + 0x28]
sub eax, edi
push edx
push eax
mov ecx, ebx
call fcn.00409a80
mov eax, dword [esp + 0x1c]
sub edi, esi
push edi
add esi, eax
push esi
mov ecx, ebx
call fcn.00402ce0
lea eax, [esp + 0x6c]
mov byte [esp + 0xbc], 0
call fcn.00437b80
mov esi, ebp
call fcn.004381b0
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 0x4370cc
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4370cc
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 0x4370cc
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.00457b56
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
mov ebx, dword [esp + 0xcc]
jmp 0x437014