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

Disassembly:
mov ecx, dword [0x5d54ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41bf61
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
lea ecx, [eax + 0x40]
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00402ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x88]
cmp edx, ecx
sete bl
xchg ebp, ebx
setl bl
xchg ebp, ebx
mov esi, dword [esp + 0x84]
cmp esi, eax
xchg edi, ebx
setb bl
xchg edi, ebx
and ebx, edi
or ebx, ebp
test bl, bl
jne 0x41bd82
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x68], ecx
sar ecx, 0x1f
mov dword [esp + 0x64], ecx
lea ebp, [eax + 0x28]
mov dword [esp + 0x74], ebp
nop
mov edi, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.00402ca0
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00402ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x20]
sub edx, ebx
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x2c]
sbb ebx, esi
mov esi, eax
mov eax, edx
mov edi, dword [esp + 0x68]
mul edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
imul eax, ebp
imul ebx, edi
add edx, ebx
add eax, edx
mov dword [esp + 0x60], eax
test esi, esi
setne dl
test ecx, ecx
setne bl
or edx, ebx
test dl, dl
je 0x41bcbd
mov eax, dword [esp + 0x74]
mov dword [esp], eax
xor eax, eax
sub eax, esi
mov dword [esp + 4], eax
mov eax, 0
sbb eax, ecx
mov dword [esp + 8], eax
call fcn.00402d00
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0x38]
mov dword [esp + 0x78], ecx
nop
mov dword [esp], ecx
call fcn.00402ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
setne dl
test eax, eax
setne bl
or ebx, edx
test bl, bl
je 0x41bd1b
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x78]
mov dword [esp], edx
xor edx, edx
sub edx, eax
mov dword [esp + 4], edx
mov edx, 0
sbb edx, ecx
mov dword [esp + 8], edx
call fcn.00402d00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
movzx ebx, byte [edx + 0x50]
test bl, bl
jne 0x41bd78
mov ebx, dword [0x5d54ec]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
nop
inc dword [ebp + 0x7c]
mov ebp, dword [0x596c48]
mov dword [esp + 0x70], ebp
mov esi, dword [0x596c4c]
mov dword [esp + 0x5c], esi
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0x6c], ebx
xor edi, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x68], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
xor edi, edi
jmp 0x41be41
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
jmp 0x41bd86
add esp, 0x7c
ret
movzx esi, byte [edx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41bdef
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00460400
movsd xmm0, qword [0x500ae8]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00460360
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
add ebp, eax
mov eax, dword [esp + 0x48]
adc ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
sub edx, eax
mov eax, dword [esp + 0x60]
sbb eax, ecx
sub edx, ebp
mov dword [esp + 4], edx
sbb eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0041bf70
add esp, 0x7c
ret
mov ebp, dword [esp + 0x54]
lea edi, [ebp + 1]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], ecx
mov ecx, eax
mov eax, ebx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
cmp edi, esi
jge 0x41bf14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + edi*4]
test byte [eax], al
add eax, 0x968
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.0041c360
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp al, 1
ja 0x41bea9
test al, al
jne 0x41bed1
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x41be1b
cmp al, 2
je 0x41beb3
cmp al, 3
jne 0x41becc
mov ebx, dword [esp + 0x58]
add ecx, ebx
mov ebx, dword [esp + 0x68]
adc edx, ebx
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x41be1b
cmp al, 4
jne 0x41bf4a
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
lea eax, [0x597ec0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402d00
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
adc ecx, edx
mov edx, dword [esp + 0x68]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x58]
jmp 0x41be1b
mov ebp, dword [ebx + 0x7c]
lea esi, [ebp - 1]
nop
mov edi, dword [0x5d54ec]
mov edi, dword fs:[edi]
mov edi, dword [edi]
mov dword [ebx + 0x7c], esi
cmp ebp, 1
jne 0x41bf3d
movzx ebx, byte [edi + 0x65]
test bl, bl
je 0x41bf3d
mov dword [edi + 8], 0xfffffade
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
jmp 0x41bd86
lea eax, [0x4e1f7f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004386b0
nop
call fcn.004662a0
jmp fcn.0041bb90