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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41bd8c
sub esp, 0x80
mov ebx, dword [0x6cc540]
mov dword [esp + 0x2c], ebx
mov ebx, dword [0x6cc544]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x84]
xor ebx, ebx
mov ebx, dword [0x6cc540]
mov ebp, eax
sub ebp, ebx
mov ebx, dword [0x6cc540]
sub eax, ebx
shr eax, 2
xor ebx, ebx
mov ecx, dword [0x6cc538]
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 [0x6cc540]
sub ebp, ebx
mov ebx, ebp
shr ebx, 0xd
mov ebp, dword [0x6c892c]
cmp ebx, ebp
jae 0x41bd85
mov ebp, dword [0x6c8928]
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 0x41bb9e
mov ebx, 0x5f90b4
mov dword [esp], ebx
mov dword [esp + 4], 0x11
call fcn.0042a460
xor edi, edi
mov ebp, dword [esp + 0x20]
cmp edi, ebp
jae 0x41bc25
cmp edi, 0
je 0x41bbe7
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x5c], ecx
cmp ecx, 3
jae 0x41bd6d
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 0x41bc70
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 0x41bd63
xor eax, eax
cmp al, 0
jne 0x41bc70
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 0x41bd59
xor eax, eax
cmp al, 0
jne 0x41bcad
add edi, 4
jmp 0x41bba0
mov ebx, dword [esp + 0x84]
add ebx, edi
mov eax, dword [ebx]
cmp eax, 0
je 0x41bca5
mov ebx, dword [esp + 0x2c]
cmp ebx, eax
ja 0x41bca5
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jae 0x41bca5
mov ecx, eax
sub ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jb 0x41bca5
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.0040fd40
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 0x41bca5
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.0041be80
mov edi, dword [esp + 0x24]
jmp 0x41bca5
mov eax, 1
jmp 0x41bca0
mov eax, 1
jmp 0x41bc20
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 0x41bbd7
call fcn.004287a0
ud2
call fcn.00450ed0
jmp fcn.0041bad0