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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420127
sub esp, 0x44
mov eax, dword [esp + 0x48]
test byte [eax], al
lea ecx, [eax + 0xd8]
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
call fcn.004021a0
mov eax, dword [esp + 8]
cmp eax, 0x80000000
sete al
seta cl
and eax, 1
or ecx, eax
test cl, cl
jne 0x420123
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
movzx ecx, byte [0xf180c8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x34], eax
test cl, cl
jne 0x420115
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x114]
mov dword [esp + 0x24], edx
mov ebx, dword [ecx + 0x110]
mov dword [esp + 0x38], ebx
mov ebp, dword [ecx + 0x118]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x4c]
xor edi, edi
jmp 0x41ff77
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x34]
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
test esi, esi
jbe 0x4200b7
mov dword [esp + 0x20], esi
lea eax, [ecx + 0xe0]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call fcn.00402000
mov eax, dword [esp + 4]
test eax, eax
jbe 0x41ffe5
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jae 0x41ffe1
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
sub eax, ecx
mov dword [esp + 8], eax
call fcn.00401fe0
movzx eax, byte [esp + 0xc]
test al, al
je 0x41ffdb
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
sub esi, eax
movzx eax, byte [esp + 0x1f]
jmp 0x41ff61
mov esi, dword [esp + 0x20]
jmp 0x41ffd4
mov ecx, eax
jmp 0x41ffab
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x200
call fcn.004020d0
mov eax, dword [esp + 0xc]
add eax, 0xfffffe00
mov ecx, eax
shr eax, 9
mov edx, dword [esp + 0x24]
cmp eax, edx
jae 0x42009b
movzx eax, byte [esp + 0x1f]
test al, al
je 0x420080
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.00420140
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jb 0x42006a
sub ecx, eax
mov esi, ecx
mov eax, 1
jmp 0x41ff61
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
sub eax, ecx
mov dword [esp + 4], eax
call fcn.00402030
xor ecx, ecx
jmp 0x42005e
mov dword [esp + 0x2c], ecx
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00408720
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x420024
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 8], 0x80000000
mov dword [esp + 4], 0
call fcn.004021c0
movzx eax, byte [esp + 0x1f]
test al, al
jne 0x420105
movzx eax, byte [0xf180c8]
test al, al
jne 0x4200fe
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 0x4200fa
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4200fa
mov dword [eax + 8], 0xfffffade
add esp, 0x44
ret
call fcn.0044af30
jmp 0x4200cb
nop
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00408930
jmp 0x4200c0
call fcn.0044ae30
mov eax, dword [esp + 0x34]
jmp 0x41ff37
add esp, 0x44
ret
call fcn.00456af0
jmp fcn.0041fec0