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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x98
mov ebp, dword [esp + 0xb8]
mov edx, dword [0x5ed05c]
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0xb4]
lea ecx, [edx*4]
mov edx, dword [ebp]
mov dword [esp + 0x28], ecx
test edx, edx
mov dword [esp + 0x80], edx
mov ebp, dword [0x5ed044]
jne 0x48722b
mov dword [esp + 0x54], 0
jmp 0x487239
lea ecx, [edx + ebp]
shl ecx, 4
mov ebx, dword [ecx + eax - 0x10]
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [ecx]
mov esi, dword [esi]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edx
lea edi, [ebp + ebx]
shl edi, 4
mov ebx, esi
and ebx, 2
mov edx, 1
mov dword [0x5e1a48], 0
test ebp, ebp
mov dword [0x5e1a4c], 1
mov ecx, dword [edi + eax - 0x10]
mov dword [esp + 0x2c], ebx
jle 0x48758a
mov edi, dword [esp + 0x38]
and esi, 4
sub edi, dword [esp + 0x80]
mov ebx, 1
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x34]
sub edi, dword [esp + 0x28]
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], esi
mov edi, ebx
shl edi, 4
mov esi, dword [0x5e1a48]
cmp esi, ecx
mov dword [0x5e1a50], esi
mov edi, dword [edi + eax - 0x10]
mov dword [0x5e1a48], edi
jge 0x487579
cmp edi, dword [esp + 0x54]
jle 0x487579
shl edx, 4
mov dword [esp + 4], ecx
add ebx, dword [0x5ed048]
mov dword [esp + 0x24], 1
mov ecx, dword [eax + edx - 8]
mov dword [0x5e1a54], ecx
mov ecx, dword [0x5ed040]
cmp ebx, ecx
mov esi, dword [eax + edx - 0xc]
cmovl ecx, ebx
imul ecx, dword [esp + 0x28]
mov edi, dword [eax + edx - 4]
lea edx, [esi + esi + 5]
mov esi, dword [esp + 0x20]
mov dword [0x5e1a58], edi
mov dword [esp + 8], ebp
lea edi, [edx + edi*2]
lea ebx, [esi + ecx]
mov dword [esp], ebx
mov ebp, ebx
lea ebx, [esi + ecx + 8]
mov dword [esp + 0x14], ebx
lea ebx, [esi + edi*4]
mov edi, dword [esp + 0x24]
lea edx, [esi + edx*4]
lea ebx, [ecx + ebx - 4]
mov dword [esp + 0x10], ebx
lea edx, [ecx + edx - 4]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0xd0]
jmp 0x487365
mov ebp, dword [esp]
add esp, 0xffffffe0
mov eax, 0x5eca4c
mov edx, 0x5eca50
mov ecx, 0x5eca54
mov dword [esp + 0xc], 0x5e1a4c
mov dword [esp + 0x10], 0x5c24c0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0x5ed05c
mov dword [esp + 0x1c], ebx
call fcn.00487dec
movsd xmm0, qword [0x5c2940]
movsd qword [0x5e1a40], xmm0
cmp dword [ebx], 0
jl 0x487947
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x40], 0
jle 0x487a25
mov ecx, dword [0x5e1a48]
mov ebp, 1
mov edx, dword [0x5e1a50]
mov ebx, eax
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0xb4]
mov edx, dword [0x5ed044]
mov ecx, ebp
add edx, dword [esp + 0x80]
mov eax, ebx
shl edx, 4
shl ecx, 4
mov dword [0x5e1a5c], ebx
lea ebx, [edi + edx]
mov ebx, dword [ebx + ecx - 0x10]
mov dword [0x5e1a60], ebx
cmp ebx, dword [esp + 0x44]
jle 0x48750c
cmp eax, dword [esp + 0x3c]
jge 0x48750c
add edx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov ebp, dword [ecx + edx - 0xc]
mov ebx, dword [ecx + edx - 8]
mov edx, dword [ecx + edx - 4]
mov dword [0x5e1a64], ebx
lea eax, [ebp + ebp + 5]
mov ebp, dword [esp + 0x20]
add esp, 0xffffffb0
mov ecx, dword [esp + 0x110]
mov dword [0x5e1a68], edx
lea edx, [eax + edx*2]
lea ebx, [ebp + esi]
mov dword [esp + 0xc], ecx
lea ebp, [ebp + esi + 8]
mov ecx, dword [esp + 0x114]
lea edx, [ebx + edx*4 - 4]
mov dword [esp + 0x10], ecx
lea eax, [ebx + eax*4 - 4]
mov dword [esp + 0x14], 0x5e1a40
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x5e1a50
mov dword [esp + 0x28], 0x5e1a48
mov dword [esp + 0x2c], 0x5e1a54
mov dword [esp + 0x30], 0x5e1a58
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
mov edx, 0x5ecf7c
mov dword [esp + 0x3c], eax
mov eax, 0x5ecf88
mov dword [esp + 0x40], 0x5e1a5c
mov dword [esp + 0x44], 0x5e1a60
mov dword [esp + 0x48], 0x5e1a64
mov dword [esp + 0x4c], 0x5e1a68
mov ecx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
call fcn.004880bc
mov edx, dword [esp + 0x7c]
inc ebp
cmp ebp, dword [esp + 0x40]
lea esi, [esi + edx*4]
jle 0x4873ee
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0xd0]
mov eax, dword [0x5ecf74]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
inc edi
cmp edi, 3
jg 0x487560
cmp edi, 2
je 0x4879b0
cmp edi, 3
je 0x487954
mov dword [esp + 0x30], edx
cmp edi, 1
jne 0x4873ac
jmp 0x487362
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0xb4]
mov ebx, dword [0x5e1a4c]
inc ebx
mov dword [0x5e1a4c], ebx
mov edx, ebx
cmp ebx, ebp
jle 0x4872b6
cmp dword [esp + 0x2c], 0
je 0x487947
movsd xmm2, qword [0x5ecfd8]
pxor xmm1, xmm1
ucomisd xmm2, xmm1
jp 0x4875ad
je 0x487932
cmp dword [0x5ecf74], 0
jne 0x487932
movaps xmm0, xmm1
mov edx, dword [esp + 0x38]
subsd xmm0, xmm2
sub edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x54]
test edx, edx
movsd qword [0x5e1a40], xmm0
mov dword [esp + 0x30], edx
jle 0x487a2f
mov edx, dword [0x5ed044]
xor edi, edi
mov ebx, dword [esp + 0x80]
mov esi, dword [0x5ecf7c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], edi
lea ecx, [ebx + edx]
add edx, ebx
shl edx, 4
shl ecx, 4
add edx, eax
mov ebx, dword [0x5ecf88]
add ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 4], ebx
mov dword [esp], esi
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov ecx, ebp
shl ebx, 4
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + edi + 8]
mov esi, dword [ebx + edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + edi + 0xc]
mov edi, dword [esp + 0x34]
lea esi, [esi + esi + 5]
mov dword [esp + 0x20], eax
mov ebp, dword [ebp + ebx]
lea eax, [esi + eax*2]
mov dword [esp + 0x14], ecx
lea esi, [edi + esi*4 - 4]
add esi, edx
lea eax, [edi + eax*4 - 4]
mov dword [esp + 0x3c], esi
lea ebx, [edx + edi + 8]
add eax, edx
lea edi, [ecx*8]
mov dword [esp + 0x24], edi
mov edi, ebp
mov dword [esp + 0x74], eax
sub edi, ecx
mov esi, dword [ebx + 4]
cmp ebp, ecx
mov eax, dword [ebx]
mov dword [esp + 0x44], esi
mov esi, 0
mov dword [esp + 0x40], eax
lea eax, [ecx + 1]
mov dword [esp + 0x50], esi
mov dword [esp + 0x78], edi
jle 0x487880
sub ebx, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0xc4]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x4c]
mov ebp, dword [ecx + eax*4]
mov ecx, dword [ecx + eax*4 - 4]
sub ebp, ecx
mov ebx, dword [edi + eax*8]
sub ebx, dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
mov edx, dword [edi + eax*8 + 4]
lea ebx, [ebp - 1]
mov edi, ebp
imul edi, ebx
mov dword [esp + 0x48], eax
mov eax, edi
shr eax, 0x1f
sub edx, dword [esp + 0x44]
add edi, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], edx
sub edx, ecx
sar edi, 1
add edx, edi
mov eax, edx
cdq
idiv ebp
mov dword [esp + 0x84], ebp
test ebx, ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [ebp + esi*8]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
mov ebp, dword [eax + edx*4 - 4]
mov dword [esp + 0x68], edi
mov edi, 0
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x48]
js 0x48780e
mov ebp, dword [esp + 0xcc]
xor ebx, ebx
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
add ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
lea ebp, [ebp + esi*8]
mov dword [esp + 0x94], ebp
lea esi, [edx + esi*8]
mov dword [esp + 0x90], esi
xor edx, edx
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x3c]
mov esi, ebx
lea ecx, [ebx + 1]
imul esi, ecx
mov edi, esi
shr edi, 0x1f
add esi, edi
lea edi, [ebx + edx]
sar esi, 1
mov eax, dword [esp + 0x8c]
sub eax, esi
add eax, edi
mov edi, dword [esp + 0x90]
add edx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x84]
movsd xmm2, qword [edi + ebx*8]
mulsd xmm2, xmm0
addsd xmm2, qword [ebp + eax*8]
movsd qword [ebp + eax*8], xmm2
mov eax, dword [esp + 0x94]
movsd qword [eax + ebx*8], xmm2
mov ebx, ecx
jb 0x4877a4
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x84]
mov dword [0x5e1b54], esi
mov edx, dword [esp + 0x70]
inc eax
inc edx
mov dword [esp + 0x70], edx
cmp edx, dword [esp + 0x78]
jb 0x4876cf
mov ecx, dword [esp + 0x6c]
mov dword [0x5e1b34], edi
mov dword [0x5e1b38], ecx
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [0x5e1b3c], ebx
mov dword [0x5e1b40], edi
mov dword [0x5e1b44], ecx
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [0x5e1b48], ebx
mov dword [0x5e1b4c], edi
mov dword [0x5e1b50], ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x2c]
inc ebx
cmp ebx, dword [esp + 0x30]
lea edx, [edx + ecx*4]
mov dword [esp + 0x2c], ebx
jb 0x487629
mov dword [esp + 0x48], eax
mov edi, eax
mov dword [0x5e1b58], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
mov dword [0x5e1b5c], edi
mov edi, esi
mov dword [0x5e1b60], edi
mov edi, dword [esp + 0x44]
mov dword [0x5e1b64], edi
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov dword [0x5e1b68], edi
mov dword [0x5e1b70], edx
mov dword [0x5e1a64], edx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 4]
mov esi, dword [esp]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xb4]
mov dword [0x5e1b6c], ecx
mov dword [0x5e1b74], ebp
mov dword [0x5e1b78], edi
mov dword [0x5e1a68], ecx
mov dword [0x5e1a5c], edx
mov dword [0x5e1a60], ebp
mov dword [0x5e1b7c], esi
mov dword [0x5e1b80], ebx
movsd xmm2, qword [0x5ecfd8]
ucomisd xmm2, xmm1
jp 0x48793a
je 0x487947
cmp dword [0x5ecf74], 2
je 0x487a3c
add esp, 0x98
pop ebp
pop ebx
pop edi
pop esi
ret 0x34
test edx, edx
je 0x487536
mov dword [esp + 0x30], edx
add esp, 0xffffffe0
mov eax, 0x5eca64
mov edx, 0x5eca68
mov ecx, 0x5eca6c
mov dword [esp + 0xc], 0x5e1a4c
mov dword [esp + 0x10], 0x5c24c0
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0x5ed05c
mov dword [esp + 0x1c], ebx
call fcn.00487dec
movsd xmm0, qword [0x5ecfe0]
movsd qword [0x5e1a40], xmm0
jmp 0x4873ac
lea esi, [esi]
lea edi, [edi]
test ecx, ecx
je 0x487536
cmp eax, 1
jne 0x487536
mov dword [esp + 0x30], edx
add esp, 0xffffffe0
mov eax, 0x5eca58
mov edx, 0x5eca5c
mov ecx, 0x5eca60
mov dword [esp + 0xc], 0x5e1a4c
mov dword [esp + 0x10], 0x5c24c0
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0x5ed05c
mov dword [esp + 0x1c], ebx
call fcn.00487dec
pxor xmm0, xmm0
subsd xmm0, qword [0x5ecfd8]
movsd qword [0x5e1a40], xmm0
jmp 0x4873ac
mov dword [0x5e1a60], eax
jmp 0x487529
mov edx, ebp
mov dword [0x5e1a60], edx
jmp 0x487932
mov edx, dword [esp + 0x38]
subsd xmm1, xmm2
sub edx, dword [esp + 0x80]
movsd qword [0x5e1a40], xmm1
test edx, edx
mov dword [esp + 0x38], edx
jle 0x487dbd
mov ecx, 1
movsd qword [esp], xmm1
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x54]
mov ecx, dword [0x5ed044]
mov edx, ebx
add ecx, dword [esp + 0x80]
mov edi, dword [esp + 0xc]
shl ecx, 4
shl edi, 4
add ecx, dword [esp + 0xb4]
mov dword [0x5e1a5c], ebx
mov dword [0x5e1b78], edx
mov ebx, dword [ecx + edi - 0x10]
mov eax, dword [edi + ecx - 0xc]
mov esi, dword [edi + ecx - 8]
mov ebp, dword [edi + ecx - 4]
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax + 5]
mov dword [0x5e1a68], ebp
mov dword [0x5e1b6c], ebp
mov dword [0x5e1a64], esi
lea edi, [ecx + 8]
mov dword [esp + 0x14], edi
lea edi, [eax + ebp*2]
mov ebp, dword [esp + 0x14]
lea edi, [ecx + edi*4 - 4]
mov dword [0x5e1b70], esi
lea ecx, [ecx + eax*4 - 4]
mov dword [esp + 0x10], ecx
mov esi, ebx
mov ecx, dword [0x5ecf88]
sub esi, edx
mov dword [0x5e1b80], ecx
cmp ebx, edx
mov ecx, dword [ebp]
mov ebp, dword [ebp + 4]
mov eax, dword [0x5ecf7c]
mov dword [0x5e1a60], ebx
mov dword [esp + 0x18], edi
mov dword [0x5e1b7c], eax
mov dword [0x5e1b74], ebx
mov dword [0x5e1b68], ecx
mov dword [0x5e1b64], ebp
jle 0x487da3
mov edi, dword [esp + 0xc4]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], eax
lea edi, [edi + edx*4]
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], edx
movsd xmm0, qword [esp]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
mov esi, dword [ecx + ebx*4]
mov ebp, dword [ecx + ebx*4 + 4]
sub ebp, esi
mov eax, dword [edi + ebx*8 + 8]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + ebx*8 + 0xc]
lea ebx, [ebp - 1]
mov edi, ebp
imul edi, ebx
mov edx, edi
shr edx, 0x1f
sub eax, dword [esp + 0x20]
add edi, edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
sub eax, ecx
sar edi, 1
add eax, edi
cdq
idiv ebp
mov dword [esp + 0x58], ebp
test ebx, ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [ebp + esi*8]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov ebp, dword [eax + edx*4 - 4]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebp
mov ebp, 0
mov ebx, dword [esp + 0x30]
js 0x487c7c
mov ebp, dword [esp + 0xcc]
xor edx, edx
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0x3c]
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], ecx
lea ebp, [ebp + esi*8]
mov dword [esp + 0x68], ebp
lea esi, [eax + esi*8]
mov dword [esp + 0x64], esi
xor eax, eax
mov ebx, dword [esp + 0x10]
mov esi, edx
lea ebp, [edx + 1]
imul esi, ebp
mov edi, esi
shr edi, 0x1f
add esi, edi
lea edi, [edx + eax]
sar esi, 1
mov ecx, dword [esp + 0x60]
sub ecx, esi
add ecx, edi
mov edi, dword [esp + 0x64]
add eax, dword [esp + 0x5c]
cmp ebp, dword [esp + 0x58]
movsd xmm1, qword [edi + edx*8]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + ecx*8]
movsd qword [ebx + ecx*8], xmm1
mov ecx, dword [esp + 0x68]
movsd qword [ecx + edx*8], xmm1
mov edx, ebp
jb 0x487c26
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
mov dword [0x5e1b54], esi
inc ebx
cmp ebx, dword [esp + 0x24]
jb 0x487b64
mov dword [0x5e1b34], ebp
mov ebp, dword [esp + 0x4c]
mov dword [0x5e1b38], ebp
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x48]
mov dword [0x5e1b3c], edi
mov dword [0x5e1b40], ebp
mov dword [0x5e1b5c], eax
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x54]
cmp ebx, edx
mov dword [0x5e1b44], edi
mov dword [0x5e1b48], ebp
mov dword [0x5e1b4c], esi
mov dword [0x5e1b50], ecx
mov dword [0x5e1b60], eax
jle 0x487cfb
lea eax, [ebx + 1]
mov dword [0x5e1b58], eax
jmp 0x487d02
inc edx
mov dword [0x5e1b58], edx
add esp, 0xffffffc8
mov ebp, dword [esp + 0x110]
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0xfc]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x5e1a40
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, 0x5ecf88
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, 0x5ecf7c
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x5e1a5c
mov dword [esp + 0x2c], 0x5e1a60
mov dword [esp + 0x30], 0x5e1a64
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x34], 0x5e1a68
call fcn.00488b2c
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0xc]
inc ebp
cmp ebp, dword [esp + 0x38]
lea ecx, [eax + edx*4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0xc], ebp
jle 0x487a71
jmp 0x487947
mov eax, 0
mov dword [0x5e1b5c], eax
mov dword [0x5e1b60], eax
jg 0x487cf1
jmp 0x487cfb
mov eax, dword [esp + 0x54]
mov dword [0x5e1a60], eax
add esp, 0x98
pop ebp
pop ebx
pop edi
pop esi
ret 0x34