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

Disassembly:
mov ecx, dword [0x5caff0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x411eda
sub esp, 0x70
mov edx, dword [esp + 0x74]
mov ebx, edx
shr edx, 2
mov ebp, dword [esp + 0x80]
movzx esi, byte [ebp + 0xf]
and edx, 0x1f
mov edi, edx
shl edx, 2
nop
mov eax, ebx
sub ebx, edx
mov dword [esp + 0x54], ebx
xchg esi, eax
test al, 0x40
xchg esi, eax
jne 0x411a45
mov edx, dword [ebp + 4]
mov esi, dword [ebp]
shr edx, 2
mov ecx, edx
mov edx, dword [esp + 0x7c]
cmp edx, esi
je 0x4119fa
mov dword [esp + 0x5c], esi
shr esi, 2
cmp esi, 0x20
ja 0x4119e1
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x411ed4
mov ebp, dword [ebp + 0x14]
mov eax, edx
xor edx, edx
div ebx
mov edx, dword [ebp]
mov ebx, dword [esp + 0x54]
mov ebp, edi
xor edi, edi
mov dword [esp + 0x4c], edi
mov edi, ebp
jmp 0x411db4
mov dword [esp + 0x5c], ecx
mov esi, edi
xor edi, edi
mov dword [esp + 0x4c], edi
xor edi, edi
mov dword [esp + 0x44], edi
mov edi, esi
jmp 0x411cd5
cmp ecx, 0x20
jbe 0x411a0b
mov ebp, dword [ebp + 0x14]
xor edx, edx
mov esi, edi
jmp 0x411c03
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00411560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x411bc2
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], eax
mov edx, dword [ebp + 0x14]
add edx, 4
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00411fc0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x5c]
mov edx, ecx
xor ebx, ebx
mov ebp, dword [esp + 0x54]
xor esi, esi
jmp 0x411abc
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x34]
shl eax, 2
sub ecx, eax
mov dword [esp + 0x10], ecx
call fcn.004116b0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
lea esi, [edx + ecx]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], esi
mov edi, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
mov eax, edi
jmp 0x411b76
mov esi, dword [esp + 0x68]
movzx esi, byte [esi]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.00411560
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
cmp eax, ebx
jne 0x411a77
jmp 0x411b80
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
movzx esi, byte [eax]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 8
call fcn.00411560
nop
mov eax, dword [esp + 0x40]
add eax, 0xfffffff8
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x68]
inc esi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x48]
cmp eax, 8
ja 0x411b22
jmp 0x411ad1
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.004117a0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
add eax, 7
shr eax, 3
mov dword [esp + 4], eax
call fcn.00463930
add esp, 0x70
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.004117a0
add esp, 0x70
ret
mov esi, eax
mov eax, dword [esp + 0x64]
add eax, 4
mov edi, edx
mov edx, ecx
mov ebp, eax
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov ebx, esi
mov esi, eax
mov dword [esp + 0x64], ebp
lea eax, [ecx - 0x20]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x20
call fcn.00411560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
nop
mov ebp, dword [esp + 0x2c]
cmp ebp, 0x20
ja 0x411bea
mov esi, dword [esp + 0x64]
mov esi, dword [esi + 4]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
call fcn.00411560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x411bc2
mov ecx, dword [eax + 4]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x58]
sub edx, ecx
mov dword [esp + 0x10], edx
call fcn.004116b0
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x14]
jmp 0x411d8f
mov eax, dword [eax]
mov dword [esp], ebx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00411560
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x44]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jne 0x411c84
jmp 0x411d99
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [eax]
mov dword [esp], ebx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x20
call fcn.00411560
nop
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 0x20]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
add edx, 4
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, edx
mov edx, dword [esp + 0x7c]
cmp ecx, 0x20
ja 0x411d31
jmp 0x411cdd
mov ebx, edx
mov edx, edi
mov ecx, esi
mov eax, ebp
jmp 0x411bc2
mov esi, dword [esp + 0x50]
mov esi, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x50]
cmp esi, 0x10
ja 0x411e43
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
test eax, 1
je 0x411e18
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
mov dword [esp], ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
call fcn.00411560
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], ebx
shr eax, 1
mov ecx, esi
shl edx, cl
mov ebx, dword [esp + 0x38]
or ebx, edx
mov edx, dword [esp + 0x2c]
add edx, ecx
shl ecx, 1
cmp eax, 1
jne 0x411da6
mov esi, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], esi
jmp 0x411e9a
mov dword [esp + 0x30], eax
mov dword [esp], ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
call fcn.00411560
mov eax, dword [esp + 0x30]
dec eax
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
cmp eax, 1
ja 0x411e51
mov dword [esp], ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.00411560
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x411d99
call fcn.00435650
nop
call fcn.00461dc0
jmp fcn.00411950