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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x5c
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x94]
mov ecx, dword [0x5ed068]
test ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [eax], 0
mov eax, 0
mov edx, dword [edx]
jle 0x46e145
mov ebp, dword [0x5ed280]
mov dword [esp + 0x4c], ebp
mov ebp, dword [0x5ed29c]
imul ebp, dword [esp + 0x58]
mov edi, dword [0x5d96e0]
sub ebp, dword [0x5d9700]
mov esi, dword [0x5d9770]
shl esi, 2
mov ebx, dword [0x5ed27c]
neg esi
mov ecx, dword [0x5ed288]
lea ebp, [edi + ebp*8]
mov dword [esp + 0x50], ebx
mov ebx, dword [0x5ed284]
mov dword [esp + 0x48], ecx
mov ecx, 1
add esi, dword [0x5d9750]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], edx
mov eax, dword [esi + ecx*4]
test eax, eax
jle 0x46e0b1
cmp eax, dword [esp + 0x50]
jle 0x46ded2
cmp eax, dword [esp + 0x4c]
jg 0x46ded2
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x44]
lea edi, [edx + ebp*4 + 4]
mov ebp, dword [esp + 0x40]
mov edx, dword [esi + ecx*4]
test ebp, ebp
mov dword [esp + 0x28], edi
mov dword [0x5e18e4], ebp
mov dword [esp + 0x24], edx
jne 0x46ddb3
mov edi, ebp
mov ebp, dword [esp + 0x28]
mov dword [ebp + edi*4], edx
inc edi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], edi
mov ebp, dword [edx]
mov dword [esp + 0x44], ebp
jmp 0x46deb1
mov edx, edi
mov edi, dword [esp + 0x24]
lea edx, [edx + ebp*4]
mov dword [esp + 0x1c], edx
cmp edi, dword [edx - 4]
jle 0x46dde7
mov edi, ebp
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [ebp + edi*4], edx
inc edi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], edi
mov ebp, dword [edx]
mov dword [esp + 0x44], ebp
jmp 0x46deb1
je 0x46deb1
mov edx, ebp
test edx, edx
mov dword [esp + 0x14], edx
jle 0x46e1a9
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x14]
mov ebp, edi
mov edi, dword [esp + 0x28]
cmp ebp, dword [edi + ebx*4 - 4]
jg 0x46e196
dec ebx
mov edx, ebx
test ebx, ebx
jg 0x46de09
mov dword [esp + 0x14], ebx
mov edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [0x5e18ec], edx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp edx, dword [ebp + edi*4]
jge 0x46deb1
mov ebp, dword [esp + 0x40]
mov edx, ebp
sub edx, edi
mov dword [esp + 0xc], edx
cmp ebp, edi
jle 0x46e189
xor edx, edx
mov dword [esp], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov ecx, edx
mov ebx, dword [esp]
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + ecx*4 - 4]
inc ebx
mov dword [edi + ecx*4], edx
dec ecx
cmp ebx, ebp
jb 0x46de6a
mov edx, dword [esp + 0x40]
mov ebp, edx
neg ebp
add ebp, edx
add ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [0x5e18e8], ebp
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
inc dword [esp + 0x40]
mov dword [ebp + edi*4], edx
mov edx, dword [esp + 0x7c]
mov ebp, dword [edx]
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
movsd xmm0, qword [ebp + eax*8 - 8]
addsd xmm0, qword [edx + ecx*8]
movsd qword [ebp + eax*8 - 8], xmm0
jmp 0x46e0b1
cmp ebx, eax
jge 0x46e0b1
cmp eax, dword [esp + 0x48]
jg 0x46e0b1
sub eax, ebx
mov edx, dword [esp + 0x84]
mov ebp, dword [edx + eax*4 - 4]
mov eax, dword [edx + eax*4]
dec eax
cmp eax, ebp
jl 0x46e0b1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + ebp*4 - 4]
mov esi, eax
cdq
xor esi, edx
sub esi, edx
cmp ecx, esi
jge 0x46e09a
cmp esi, dword [esp + 0x4c]
jg 0x46e09a
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
lea edx, [edx + edi*4 + 4]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
test edi, edi
mov dword [0x5e18e4], edi
jne 0x46df6a
mov dword [edx + edi*4], esi
inc edi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], edi
mov edi, dword [edx]
mov dword [esp + 0x44], edi
jmp 0x46e05e
lea edx, [edx + edi*4]
mov dword [esp + 0x20], edx
cmp esi, dword [edx - 4]
jle 0x46df91
mov edx, dword [esp + 0x2c]
mov dword [edx + edi*4], esi
inc edi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], edi
mov edi, dword [edx]
mov dword [esp + 0x44], edi
jmp 0x46e05e
je 0x46e05e
mov edx, edi
test edx, edx
mov dword [esp + 0x18], edx
jle 0x46e1db
mov ebx, edx
mov edi, dword [esp + 0x2c]
cmp esi, dword [edi + ebx*4 - 4]
jg 0x46e1c5
dec ebx
mov edx, ebx
test ebx, ebx
jg 0x46dfab
mov dword [esp + 0x18], ebx
mov edx, ebx
mov ebx, dword [esp + 0x88]
mov dword [0x5e18ec], edx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
cmp esi, dword [edx + edi*4]
jge 0x46e05e
mov edx, edi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x40]
lea edi, [edx + 1]
neg edi
cmp esi, edx
lea edi, [esi + edi + 1]
mov esi, dword [esp + 0x10]
jle 0x46e1b6
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov ecx, edx
mov ebx, dword [esp + 8]
mov ebp, edi
mov edi, dword [esp + 0x20]
mov edx, dword [edi + ecx*4 - 4]
inc ebx
mov dword [edi + ecx*4], edx
dec ecx
cmp ebx, ebp
jb 0x46e015
mov edx, dword [esp + 0x40]
mov edi, edx
neg edi
add edi, edx
add edi, dword [esp + 0x18]
mov ebp, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x88]
mov dword [0x5e18e8], edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
inc dword [esp + 0x40]
mov dword [edx + edi*4], esi
mov edx, dword [esp + 0x7c]
mov edi, dword [edx]
mov dword [esp + 0x44], edi
test eax, eax
jle 0x46e1e8
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
movsd xmm0, qword [eax + ebp*8 - 8]
andps xmm0, xmmword [0x5c15d0]
mulsd xmm0, qword [edx + edi*8]
mov eax, dword [esp + 0x90]
addsd xmm0, qword [eax + esi*8 - 8]
movsd qword [eax + esi*8 - 8], xmm0
inc ebp
cmp ebp, dword [esp + 0x54]
jle 0x46df18
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x58]
jle 0x46dd51
mov eax, dword [esp + 0x40]
cmp eax, 1
mov edx, dword [esp + 0x44]
jle 0x46e145
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ecx, dword [0x5ecf7c]
mov dword [0x5e18f0], ecx
lea ebx, [ebx + edx*4]
mov ebp, dword [ebx + eax*4]
mov dword [0x5e18f4], eax
mov dword [esi + ebp*4 - 4], 1
mov ecx, dword [ebx + 4]
cmp ecx, 1
jle 0x46e100
mov dword [esi + ecx*4 - 8], 1
lea ebp, [eax - 1]
test ebp, ebp
jle 0x46e222
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x44], edx
mov eax, 1
mov edi, dword [ebx + ecx*4 + 4]
lea edx, [edi + 1]
cmp edx, dword [ebx + ecx*4 + 8]
je 0x46e133
mov dword [esi + edi*4 - 4], eax
mov edx, dword [ebx + ecx*4 + 8]
mov dword [esi + edx*4 - 8], eax
inc ecx
cmp ecx, ebp
jb 0x46e11a
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [0x5e18f8], eax
mov ecx, dword [esp + 0x78]
add eax, edx
cmp eax, dword [ecx]
jle 0x46e166
mov eax, dword [esp + 0x94]
mov dword [eax], 0xfffffffd
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret 0x28
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [ecx]
inc ebp
mov dword [edx], eax
mov dword [ecx], ebp
mov dword [ebx + ebp*4], eax
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret 0x28
mov edx, ebp
mov dword [0x5e18e8], edx
jmp 0x46de93
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x34]
mov dword [0x5e18ec], edx
jmp 0x46de2a
mov edx, ebp
mov dword [0x5e18ec], edx
jmp 0x46de2a
mov edx, dword [esp + 0x40]
mov dword [0x5e18e8], edx
jmp 0x46e045
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x88]
mov dword [0x5e18ec], edx
jmp 0x46dfcf
mov edx, edi
mov dword [0x5e18ec], edx
jmp 0x46dfcf
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
movsd xmm0, qword [eax + ebp*8 - 8]
mov eax, dword [esp + 0x90]
movsd xmm1, qword [edx + edi*8]
mulsd xmm1, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [eax + esi*8 - 8]
movsd qword [eax + esi*8 - 8], xmm1
jmp 0x46e09a
mov dword [0x5e18f8], 1
jmp 0x46e145