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

Disassembly:
push 0xffffffffffffffff
push 0x47cb34
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x134]
xor ebx, ebx
mov edi, ecx
cmp edi, ebx
mov dword [esp + 0x18], ebp
mov esi, edx
mov dword [esp + 0x1c], ebx
jne 0x4211b5
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x483c32
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00402ed0
mov eax, ebp
jmp 0x42153c
mov ecx, esi
mov eax, edi
call fcn.00421100
test eax, eax
jne 0x421263
lea ebp, [esi + edi]
cmp ebp, edi
mov eax, edi
je 0x4211eb
nop
mov cl, byte [eax]
mov dl, cl
sub dl, 1
cmp dl, 0x1e
jbe 0x421263
cmp cl, bl
je 0x421263
add eax, 1
cmp ebp, eax
jne 0x4211d0
push 0x48684c
lea ecx, [esp + 0x64]
call fcn.00402de0
push eax
lea esi, [esp + 0x24]
mov dword [esp + 0x130], ebx
call fcn.00404010
add esp, 4
mov esi, dword [esp + 0x18]
push eax
mov edi, 0x48684c
mov byte [esp + 0x130], 1
call fcn.00404010
mov edi, 0x10
add esp, 4
cmp dword [esp + 0x38], edi
jb 0x42123f
mov eax, dword [esp + 0x24]
push eax
call fcn.0045ac5a
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jb 0x42153a
mov ecx, dword [esp + 0x64]
push ecx
jmp 0x421532
lea eax, [esi + esi + 3]
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
cmp eax, 0xf
mov dword [esp + 0x12c], 2
je 0x4212c4
push 1
push eax
lea ecx, [esp + 0x108]
call fcn.00403560
test al, al
je 0x4212c4
cmp dword [esp + 0x118], 0x10
mov eax, dword [esp + 0x104]
mov dword [esp + 0x114], ebx
jae 0x4212c2
lea eax, [esp + 0x104]
mov byte [eax], bl
push 1
push 0x48684c
lea eax, [esp + 0x108]
call fcn.00403930
add esi, edi
cmp edi, esi
mov dword [esp + 0x1c], esi
mov ebp, edi
je 0x4214ea
mov al, byte [ebp]
movsx ecx, al
add ecx, 0xfffffff8
cmp ecx, 0x54
ja case.0x421300.11
movzx edx, byte [ecx + 0x421584]
jmp dword [edx*4 + 0x421564]
push 2
push 0x486850
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
push 2
push 0x486854
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
push 2
push 0x486858
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
push 2
push 0x48685c
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
push 2
push 0x486860
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
push 2
push 0x486864
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
push 2
push 0x486868
lea eax, [esp + 0x108]
call fcn.00403930
jmp 0x4214df
mov cl, al
sub cl, 1
cmp cl, 0x1e
jbe 0x4213d4
cmp al, bl
je 0x4213d4
push eax
mov eax, 1
lea edi, [esp + 0x104]
call fcn.00403250
jmp 0x4214df
lea edx, [esp + 0x7c]
push edx
call fcn.00418200
lea eax, [esp + 0x7c]
push 0x48686c
push eax
mov byte [esp + 0x134], 3
call fcn.00420a00
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x421402
xor eax, eax
jmp 0x421409
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [eax + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
cmp esi, ebx
mov dword [eax + 0x10], edx
jne 0x421423
xor eax, eax
jmp 0x42142a
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x10], 4
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x58]
add eax, esi
push 4
push edx
mov byte [eax + 0x30], 0x30
call fcn.0045ab80
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push edx
push ecx
call eax
movsx ecx, byte [ebp]
add esp, 0x10
push ecx
push esi
call fcn.00421ae0
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x7c]
call fcn.00418320
push 0xffffffffffffffff
push ebx
push eax
lea esi, [esp + 0x10c]
mov byte [esp + 0x138], 4
call fcn.00403840
cmp dword [esp + 0x54], 0x10
jb 0x42149c
mov edx, dword [esp + 0x40]
push edx
call fcn.0045ac5a
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x12c], 2
call fcn.00418290
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xcc], vtable.std::ios_base.0
call fcn.0045a9a7
mov esi, dword [esp + 0x20]
add esp, 4
add ebp, 1
cmp ebp, esi
jne 0x4212e7
push 1
push 0x48684c
lea eax, [esp + 0x108]
call fcn.00403930
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x108]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004032f0
cmp dword [esp + 0x118], 0x10
jb 0x42153a
mov edx, dword [esp + 0x104]
push edx
call fcn.0045ac5a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x11c
ret