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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d0fc
sub esp, 0x80
mov ebx, dword [0x6ce540]
mov dword [esp + 0x2c], ebx
mov ebx, dword [0x6ce544]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x84]
xor ebx, ebx
mov ebx, dword [0x6ce540]
mov ebp, eax
sub ebp, ebx
mov ebx, dword [0x6ce540]
sub eax, ebx
shr eax, 2
xor ebx, ebx
mov ecx, dword [0x6ce538]
mov ebp, eax
shr ebp, 2
sub ecx, ebp
dec ecx
and eax, 3
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov ebp, dword [esp + 0x84]
mov ebx, dword [0x6ce540]
sub ebp, ebx
mov ebx, ebp
shr ebx, 0xd
mov ebp, dword [0x6ca92c]
cmp ebx, ebp
jae 0x41d0f5
mov ebp, dword [0x6ca928]
shl ebx, 2
add ebp, ebx
mov ebx, dword [ebp]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0x20], ebp
mov ebx, dword [esp + 0x20]
cmp ebx, 0
jne 0x41cf0e
mov ebx, 0x5fa990
mov dword [esp], ebx
mov dword [esp + 4], 0x11
call fcn.0042b7d0
xor edi, edi
mov ebp, dword [esp + 0x20]
cmp edi, ebp
jae 0x41cf95
cmp edi, 0
je 0x41cf57
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x5c], ecx
cmp ecx, 3
jae 0x41d0dd
xor ebx, ebx
mov dword [esp + 0x58], edx
mov eax, ecx
inc eax
mov dword [esp + 0x78], edx
mov ecx, edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
cmp edi, 4
je 0x41cfe0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x70], eax
movzx esi, byte [eax]
mov ebx, esi
mov dword [esp + 0x74], ecx
and ecx, 0x1f
shr ebx, cl
and ebx, 0x10
cmp ebx, 0
jne 0x41d0d3
xor eax, eax
cmp al, 0
jne 0x41cfe0
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x20]
xor ecx, ecx
add eax, ebx
adc edx, ecx
mov ebx, dword [esp + 0x88]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
xor ecx, ecx
add eax, edi
adc edx, ecx
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
add esp, 0x80
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
movzx esi, byte [eax]
mov ebx, esi
mov dword [esp + 0x64], ecx
and ecx, 0x1f
shr ebx, cl
and ebx, 1
cmp ebx, 0
jne 0x41d0c9
xor eax, eax
cmp al, 0
jne 0x41d01d
add edi, 4
jmp 0x41cf10
mov ebx, dword [esp + 0x84]
add ebx, edi
mov eax, dword [ebx]
cmp eax, 0
je 0x41d015
mov ebx, dword [esp + 0x2c]
cmp ebx, eax
ja 0x41d015
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jae 0x41d015
mov ecx, eax
sub ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jb 0x41d015
mov dword [esp], eax
mov ebx, dword [esp + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 8], edi
call fcn.004110b0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], esi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x4c], ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, 0
je 0x41d015
mov dword [esp], eax
mov ebx, dword [esp + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
call fcn.0041d1f0
mov edi, dword [esp + 0x24]
jmp 0x41d015
mov eax, 1
jmp 0x41d010
mov eax, 1
jmp 0x41cf90
mov dword [esp + 0x58], edx
mov ecx, edx
dec ecx
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
jmp 0x41cf47
call fcn.00429b10
ud2
call fcn.00452240
jmp fcn.0041ce40