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

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41788e
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.00402990
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 ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4176b3
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x60], ecx
sar ecx, 0x1f
mov dword [esp + 0x5c], ecx
lea ebx, [eax + 0x28]
mov dword [esp + 0x74], ebx
nop
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
call fcn.00402950
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00402990
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x20]
sub ebx, ebp
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x24]
sbb ebp, edi
mov edi, eax
mov eax, ebx
mov esi, dword [esp + 0x60]
mul esi
mov dword [esp + 0x30], eax
imul ebp, esi
add edx, ebp
mov ebp, dword [esp + 0x5c]
imul ebp, ebx
add edx, ebp
mov dword [esp + 0x58], edx
test edi, edi
setne bl
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
je 0x4175e6
mov eax, dword [esp + 0x74]
mov dword [esp], eax
xor eax, eax
sub eax, edi
mov edx, 0
sbb edx, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.004029b0
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0x38]
mov dword [esp + 0x78], ecx
nop
mov dword [esp], ecx
call fcn.00402990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test ecx, ecx
setne bl
test eax, eax
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
je 0x41764c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
xor edx, edx
sub edx, ecx
mov ebx, 0
sbb ebx, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.004029b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
movzx ebx, byte [eax + 0x50]
test bl, bl
jne 0x4176a9
mov ebx, dword [0x544900]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
nop
inc dword [ebp + 0x7c]
mov ebp, dword [0x51fc88]
mov dword [esp + 0x70], ebp
mov esi, dword [0x51fc8c]
mov dword [esp + 0x54], esi
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0x6c], ebx
xor edi, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
xor edi, edi
mov eax, dword [esp + 0x64]
jmp 0x41776e
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x4176b7
add esp, 0x7c
ret
movzx esi, byte [eax + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x417720
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00458820
movsd xmm0, qword [0x4b788c]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00458780
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 + 0x80]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x58]
sbb ecx, edx
sub eax, ebp
sbb ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
call fcn.004178a0
add esp, 0x7c
ret
mov ebp, dword [esp + 0x4c]
lea edi, [ebp + 1]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
cmp edi, esi
jge 0x417841
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, dword [ebp + edi*4]
test byte [eax], al
add eax, 0x948
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.00417ca0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
cmp al, 1
ja 0x4177da
test al, al
jne 0x417802
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x41774c
cmp al, 2
je 0x4177e4
cmp al, 3
jne 0x4177fd
mov eax, dword [esp + 0x50]
add eax, ecx
mov ebx, dword [esp + 0x60]
adc ebx, edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x41774c
cmp al, 4
jne 0x417877
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x14]
lea edx, [0x520900]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004029b0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add ecx, eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
adc edx, eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
jmp 0x41774c
mov ebp, dword [ebx + 0x7c]
lea esi, [ebp - 1]
nop
mov edi, dword [0x544900]
mov edi, dword fs:[edi]
mov edi, dword [edi]
mov dword [ebx + 0x7c], esi
cmp ebp, 1
jne 0x41786a
movzx ebx, byte [edi + 0x65]
test bl, bl
je 0x41786a
mov dword [edi + 8], 0xfffffade
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x50]
jmp 0x4176b7
lea eax, [0x49e894]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00434300
nop
call fcn.0045ca70
jmp fcn.004174b0