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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4214d2
sub esp, 0x44
mov eax, dword [esp + 0x48]
test byte [eax], al
lea ecx, [eax + 0x100]
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
call fcn.00402100
mov eax, dword [esp + 4]
test eax, eax
setae al
mov ecx, dword [esp + 8]
cmp ecx, 0x80000000
seta cl
sete dl
and edx, eax
or ecx, edx
test cl, cl
jne 0x4214ce
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
movzx ecx, byte [0x733d68]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x34], eax
test cl, cl
jne 0x4214c0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x374]
mov dword [esp + 0x24], edx
mov ebx, dword [ecx + 0x370]
mov dword [esp + 0x38], ebx
mov ebp, dword [ecx + 0x378]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x4c]
xor edi, edi
jmp 0x421322
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov esi, eax
mov edi, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
test esi, esi
jbe 0x421462
mov dword [esp + 0x20], esi
lea eax, [ecx + 0x108]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call fcn.00401f70
mov eax, dword [esp + 4]
test eax, eax
jbe 0x421390
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jae 0x42138c
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
sub eax, ecx
mov dword [esp + 8], eax
call fcn.00401f50
movzx eax, byte [esp + 0xc]
test al, al
je 0x421386
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
sub eax, ecx
movzx ecx, byte [esp + 0x1f]
jmp 0x42130a
mov eax, dword [esp + 0x20]
jmp 0x42137f
mov ecx, eax
jmp 0x421356
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0x200
mov dword [esp + 8], 0
call fcn.00402040
mov eax, dword [esp + 0xc]
add eax, 0xfffffe00
mov ecx, eax
shr eax, 9
mov edx, dword [esp + 0x24]
cmp eax, edx
jae 0x421446
movzx eax, byte [esp + 0x1f]
test al, al
je 0x42142b
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x200
call fcn.004214e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jb 0x421415
sub ecx, eax
mov eax, ecx
mov ecx, 1
jmp 0x42130a
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
sub eax, ecx
mov dword [esp + 4], eax
call fcn.00401fa0
xor ecx, ecx
jmp 0x421409
mov dword [esp + 0x2c], ecx
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00408f90
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x4213cf
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x80000000
call fcn.00402120
movzx eax, byte [esp + 0x1f]
test al, al
jne 0x4214b0
movzx eax, byte [0x733d68]
test al, al
jne 0x4214a9
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4214a5
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4214a5
mov dword [eax + 8], 0xfffffade
add esp, 0x44
ret
call fcn.0044b4a0
jmp 0x421476
nop
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004091a0
jmp 0x42146b
call fcn.0044b3a0
mov eax, dword [esp + 0x34]
jmp 0x4212e0
add esp, 0x44
ret
call fcn.00458300
jmp fcn.00421260