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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x58
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov edx, dword [0x5ecf7c]
shl edx, 3
mov dword [esp + 0x3c], edx
mov edx, dword [ecx]
mov ecx, dword [ebx]
mov esi, dword [0x5f12ec]
mov eax, dword [esp + 0x78]
lea ebp, [ecx + edx - 1]
cmp ebp, esi
mov dword [eax], 0
cmovl esi, ebp
mov dword [esp + 0x48], esi
mov esi, dword [0x5ed068]
test esi, esi
jle 0x46ca45
mov ebp, dword [0x5ed284]
mov ecx, dword [esp + 0x8c]
mov edi, dword [0x5ed27c]
mov dword [esp + 0xc], edi
mov edi, dword [0x5ed280]
mov dword [esp + 0x4c], ebp
shl ebp, 2
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x7c]
mov ecx, dword [ecx]
sub edi, ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 8], edi
lea edi, [esi*8]
mov ebx, dword [0x5ed288]
neg edi
mov dword [esp + 0x50], ecx
sub ebp, dword [esp + 0x3c]
mov ecx, dword [0x5d974c]
shl ecx, 2
mov dword [esp + 0x40], ebx
neg ecx
mov dword [esp + 0x24], ebp
mov ebx, dword [0x5d9700]
mov ebp, dword [0x5d96e0]
add edi, ebp
mov eax, dword [0x5d9770]
shl ebx, 3
shl eax, 2
sub edi, ebx
add ecx, dword [0x5d972c]
neg eax
mov dword [esp + 0x10], 1
sub ebp, ebx
mov dword [esp + 4], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], esi
add eax, dword [0x5d9750]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0xc]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
jle 0x46ca3a
cmp esi, ebx
jge 0x46c936
cmp ebx, dword [esp + 0x44]
jg 0x46c936
test edi, edi
jle 0x46ca3a
mov ebp, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ebp, [ebp + ecx*8]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ebx, [ebp + ebx*8]
mov dword [esp + 0x34], ebx
mov ebx, edx
mov ebp, dword [ecx + edx*4 + 4]
cmp eax, ebp
jg 0x46c91c
cmp ebp, dword [esp + 0x48]
jg 0x46c91c
sub ebp, eax
mov esi, dword [esp + 0x38]
inc ebp
imul ebp, dword [esp + 0x3c]
movsd xmm0, qword [esi + ebx*8]
mov esi, dword [esp + 0x34]
addsd xmm0, qword [ebp + esi - 8]
movsd qword [ebp + esi - 8], xmm0
inc edx
add ebx, dword [esp + 0x54]
cmp edx, edi
jb 0x46c8ed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
jmp 0x46ca3a
cmp ebx, dword [esp + 0x4c]
jle 0x46ca3a
cmp ebx, dword [esp + 0x40]
jg 0x46ca3a
mov edx, dword [esp + 8]
mov ebp, dword [edx + ebx*4 - 4]
mov ebx, dword [edx + ebx*4]
dec ebx
cmp ebx, ebp
jl 0x46ca3a
mov edx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + ebp*4 - 4]
cdq
xor eax, edx
sub eax, edx
test eax, eax
jle 0x46ca25
cmp esi, eax
jge 0x46ca25
cmp eax, dword [esp + 0x44]
jg 0x46ca25
cmp dword [esp + 0x50], 0
jle 0x46ca25
mov edi, dword [esp + 0x24]
mov edx, 1
mov dword [esp], ebx
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x1c]
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], edi
mov ebp, dword [ecx + edx*4]
cmp ebx, ebp
jg 0x46ca08
cmp ebp, dword [esp + 0x48]
jg 0x46ca08
mov edi, dword [esp + 0x2c]
sub ebp, ebx
mov esi, dword [esp + 0x84]
inc ebp
imul ebp, dword [esp + 0x3c]
movsd xmm0, qword [esi + edi*8 - 8]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mulsd xmm0, qword [esi + eax*8]
addsd xmm0, qword [ebp + edi - 8]
movsd qword [ebp + edi - 8], xmm0
inc edx
add eax, dword [esp + 0x54]
cmp edx, dword [esp + 0x50]
jle 0x46c9c9
mov ebx, dword [esp]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x80]
inc ebp
cmp ebp, ebx
jle 0x46c978
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
inc ecx
cmp ecx, dword [esp + 0x54]
jle 0x46c8a0
add esp, 0x58
pop ebp
pop ebx
pop edi
pop esi
ret 0x24