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

Disassembly:
sub esp, 0x3c
movzx ecx, byte [esi + 0x2b]
mov eax, dword [esi + 0x2c]
push ebx
mov ebx, dword [esp + 0x50]
push edi
movzx edi, byte [esi + 0x2a]
cmp edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
jge 0x4846f5
lea edx, [esi + 0x78]
push ebp
mov dword [esp + 0x20], edx
jmp 0x4842f6
mov eax, dword [esp + 0x28]
test al, 1
lea ecx, [edi + 0xc]
mov dword [esp + 0x24], ecx
je 0x48430e
sar eax, 1
add ecx, 0xc
test al, 1
jne 0x484301
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x4c]
sar eax, 1
xor ecx, ecx
cmp ebp, 4
mov dword [esp + 0x28], eax
jl 0x48438d
mov edx, dword [esp + 0x20]
lea ebx, [ebp - 3]
mov ebp, dword [esp + 0x50]
lea edi, [esp + 0x34]
lea eax, [ebp + 8]
sub edi, ebp
lea ebp, [esp + 0x38]
sub ebp, dword [esp + 0x50]
jmp 0x484340
fld dword [edx - 0x48]
add ecx, 4
fmul dword [eax - 8]
add edx, 0x120
add eax, 0x10
cmp ecx, ebx
fstp dword [esp + ecx*4 + 0x24]
fld dword [eax - 0x14]
fmul dword [edx - 0x120]
fstp dword [esp + ecx*4 + 0x28]
fld dword [edx - 0xd8]
fmul dword [eax - 0x10]
fstp dword [edi + eax - 0x10]
fld dword [edx - 0x90]
fmul dword [eax - 0xc]
fstp dword [eax + ebp - 0x10]
jl 0x484340
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
cmp ecx, ebp
jge 0x4843c9
mov edx, dword [esp + 0x1c]
lea eax, [ecx + ecx*8]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x50]
lea ebp, [esp + 0x34]
lea eax, [esi + eax*4 + 0x30]
sub edx, ebp
lea esp, [esp]
lea ebp, [edx + ecx*4]
fld dword [esp + ebp + 0x34]
mov ebp, dword [esp + 0x4c]
fmul dword [eax]
inc ecx
add eax, 0x48
cmp ecx, ebp
fstp dword [esp + ecx*4 + 0x30]
jl 0x4843b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc edx
mov dword [esp + 0x1c], edx
mov edx, 4
add ecx, edx
cmp edi, eax
mov dword [esp + 0x20], ecx
jge 0x4846e8
mov eax, dword [esp + 0x54]
lea ecx, [eax + edi*4]
lea eax, [eax + edi*4 + 0x800]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x484410
movsx eax, byte [edi + esi + 0x41f]
lea ecx, [eax + 3]
cmp ecx, 7
ja case.0x484424.1
jmp dword [ecx*4 + 0x4846fc]
movzx ecx, byte [edi + esi + 0x31f]
xor eax, eax
test ebp, ebp
fld dword [ecx*4 + 0x5a5170]
fmul dword [0x5a43cc]
fstp dword [esp + 0xc]
jle 0x4846c0
mov edi, dword [esp + 0x14]
mov dl, byte [esi + 0x28]
mov cl, al
shr dl, cl
test dl, 1
je 0x4844af
mov ecx, dword [esp + 0x5c]
cmp byte [eax + ecx], 0
je 0x4844a9
mov cx, word [esi + 0x1a2]
mov dword [esp + 0x30], ebx
xor ebx, ebx
mov bh, cl
movzx edx, cx
shr edx, 8
xor bx, word [edx*2 + 0x5a51d8]
mov ecx, ebx
mov ebx, dword [esp + 0x30]
mov word [esi + 0x1a2], cx
movsx ecx, cx
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fmul dword [esp + eax*4 + 0x34]
fmul dword [esp + 0xc]
fstp dword [edi]
jmp 0x4844af
mov dword [edi], 0
mov ecx, dword [esp + 0x4c]
inc eax
add edi, 0x400
cmp eax, ecx
jl 0x484452
jmp 0x4846b8
mov eax, dword [ebx + 0x14]
test eax, eax
jl 0x4844d6
fld dword [ebx + eax*4]
dec eax
mov dword [ebx + 0x14], eax
jmp 0x4845d8
push 5
push esi
call fcn.00483910
mov dword [ebx + 0x14], 1
mov edx, dword [eax*4 + 0x5a4690]
mov dword [ebx], edx
mov ecx, dword [eax*4 + 0x5a4610]
mov dword [ebx + 4], ecx
fld dword [eax*4 + 0x5a4590]
add esp, 8
jmp 0x4845d8
mov eax, dword [ebx + 0x18]
test eax, eax
jl 0x48451b
fld dword [ebx + eax*4 + 8]
dec eax
mov dword [ebx + 0x18], eax
jmp 0x4845d8
push 7
push esi
call fcn.00483910
mov dword [ebx + 0x18], 1
mov edx, dword [eax*4 + 0x5a4b10]
mov dword [ebx + 8], edx
mov ecx, dword [eax*4 + 0x5a4910]
mov dword [ebx + 0xc], ecx
fld dword [eax*4 + 0x5a4710]
add esp, 8
jmp 0x4845d8
push 3
push esi
call fcn.00483910
fld dword [eax*4 + 0x5a4d10]
add esp, 8
jmp 0x4845d8
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x484574
fld dword [ebx + 0x10]
mov dword [ebx + 0x1c], 0xffffffff
jmp 0x4845d8
push 7
push esi
call fcn.00483910
mov dword [ebx + 0x1c], 0
mov edx, dword [eax*4 + 0x5a4f30]
mov dword [ebx + 0x10], edx
fld dword [eax*4 + 0x5a4d30]
add esp, 8
jmp 0x4845d8
push edx
push esi
call fcn.00483910
fld dword [eax*4 + 0x5a5130]
add esp, 8
jmp 0x4845d8
mov edi, eax
push eax
neg edi
push esi
lea ebp, [edi + 0x20]
call fcn.00483910
mov ecx, ebp
mov ebp, dword [esp + 0x54]
shl eax, cl
add esp, 8
sar eax, cl
lea ecx, [edi + 0x10]
mov edi, dword [esp + 0x10]
shl eax, cl
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
movzx eax, byte [edi + esi + 0x31f]
fmul dword [eax*4 + 0x5a5170]
xor eax, eax
cmp ebp, 4
fstp dword [esp + 0xc]
jl 0x484681
mov edi, dword [esp + 0x18]
add ebp, 0xfffffffd
lea ecx, [ecx]
mov dl, byte [esi + 0x28]
mov cl, al
shr dl, cl
test dl, 1
je 0x48461a
fld dword [esp + 0xc]
fmul dword [esp + eax*4 + 0x34]
fstp dword [edi - 0x800]
mov dl, byte [esi + 0x28]
mov cl, al
inc cl
shr dl, cl
test dl, 1
je 0x484636
fld dword [esp + 0xc]
fmul dword [esp + eax*4 + 0x38]
fstp dword [edi - 0x400]
mov dl, byte [esi + 0x28]
mov cl, al
add cl, 2
shr dl, cl
test dl, 1
je 0x48464f
fld dword [esp + 0xc]
fmul dword [esp + eax*4 + 0x3c]
fstp dword [edi]
mov dl, byte [esi + 0x28]
mov cl, al
add cl, 3
shr dl, cl
test dl, 1
je 0x48466c
fld dword [esp + 0xc]
fmul dword [esp + eax*4 + 0x40]
fstp dword [edi + 0x400]
add eax, 4
add edi, 0x1000
cmp eax, ebp
jl 0x484600
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
cmp eax, ebp
jge 0x4846c0
mov edx, dword [esp + 0x54]
mov ecx, eax
shl ecx, 8
add ecx, edi
lea edi, [edx + ecx*4]
mov dl, byte [esi + 0x28]
mov cl, al
shr dl, cl
test dl, 1
je 0x4846a9
fld dword [esp + 0xc]
fmul dword [esp + eax*4 + 0x34]
fstp dword [edi]
mov ecx, dword [esp + 0x4c]
inc eax
add edi, 0x400
cmp eax, ecx
jl 0x484693
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, 4
add eax, edx
add ecx, edx
inc edi
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
jl 0x484410
movzx eax, byte [esi + 0x2b]
cmp edi, eax
jl 0x4842f2
pop ebp
pop edi
pop ebx
add esp, 0x3c
ret