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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov edi, dword [esp + 0x98]
mov esi, ecx
mov ecx, edx
mov ebx, edx
call fcn.004aa2f0
test al, al
je 0x60601e
mov ecx, dword [edi]
mov byte [esi + 0x10], 3
lea eax, [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [ecx + 0xc]
add esp, 0x8c
jmp 0x60659f
mov edx, dword [esp + 0x94]
mov ecx, ebx
mov dword [esp + 0x10], esi
call fcn.004817e0
movzx ecx, word [ebx + 0x38]
mov ebp, eax
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov edi, dword [ebx + 0x1c]
xor esi, esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x5c], ecx
and ebp, ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 0x50], ecx
jmp 0x606086
movzx eax, byte [eax + 4]
mov ecx, dword [esp + 0x94]
cmp al, byte [ecx + 4]
je 0x606145
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [esp + 0x50]
inc esi
inc ebp
mov eax, ebp
nop dword [eax + eax]
mov ebp, eax
xor eax, eax
cmp ebp, edi
jae 0x606090
movzx ebx, word [ecx + ebp*4]
cmp ebx, 0xffff
je 0x6061f4
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x5c]
movzx eax, word [ecx + ebp*4 + 2]
mov edx, ebp
mov ecx, esi
and ecx, eax
sub edx, ecx
and edx, esi
mov esi, dword [esp + 0x54]
cmp edx, esi
jb 0x606238
cmp ax, word [esp + 0xc]
jne 0x606080
cmp dword [esp], ebx
jbe 0x6065a4
mov eax, dword [esp + 8]
imul ecx, ebx, 0x34
mov edx, dword [esp + 0x94]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + ecx + 0x20]
test ecx, ecx
setne al
cmp dword [edx], 0
sete dl
cmp al, dl
je 0x606080
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x58]
test ecx, ecx
lea eax, [eax + edx + 0x20]
je 0x60605f
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x94]
cmp ecx, dword [edx + 8]
jne 0x606080
push ecx
mov ecx, dword [esp + 0x98]
push dword [ecx + 4]
push dword [eax + 4]
call fcn.007be090
add esp, 0xc
test eax, eax
jne 0x606080
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x58]
mov edx, dword [esp]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 8]
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x14], xmm0
cmp dword [eax + edi], 0
je 0x60618c
add eax, edi
mov esi, dword [esp + 4]
mov edx, dword [eax + 4]
mov ecx, esi
call fcn.005aed20
mov edx, dword [esi + 0x28]
mov esi, dword [esp + 0x10]
cmp edx, ebx
jbe 0x6065c1
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x24]
mov ecx, dword [eax + 0x24]
movsd xmm0, qword [ecx + edi + 0xc]
movsd xmm1, qword [ecx + edi + 0x14]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
movzx edx, byte [ecx + edi + 0x1f]
movzx eax, byte [ecx + edi + 0x1c]
mov byte [esp + 0x2a], dl
movzx edx, word [ecx + edi + 0x1d]
mov word [esp + 0x28], dx
mov dword [ecx + edi + 0x1c], ebx
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
movsd qword [ecx + edi + 0xc], xmm0
movsd qword [ecx + edi + 0x14], xmm1
jmp 0x606570
mov esi, dword [esp + 0x94]
mov eax, dword [esi]
test eax, eax
je 0x606297
lea ecx, [esi + 0xc]
lea edx, [esp + 0x14]
push dword [esi + 8]
push dword [esi + 4]
push ecx
push edx
call dword [eax]
add esp, 0x10
movsd xmm0, qword [esp + 0x19]
mov esi, dword [esp + 0x14]
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x20]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x43], ecx
jmp 0x60629d
mov ecx, dword [esp + 4]
cmp esi, 0x200
mov esi, dword [esp + 0x94]
setae bl
mov eax, dword [ecx]
xor eax, 2
or eax, dword [ecx + 4]
mov eax, dword [esi]
setne bh
test eax, eax
je 0x6063b2
lea ecx, [esi + 0xc]
lea edx, [esp + 0x14]
push dword [esi + 8]
push dword [esi + 4]
push ecx
push edx
call dword [eax]
add esp, 0x10
movsd xmm0, qword [esp + 0x19]
mov esi, dword [esp + 0x14]
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x20]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x43], ecx
jmp 0x6063b8
movzx eax, byte [esi + 4]
xor esi, esi
movsd xmm0, qword [esp + 0x3c]
mov edx, dword [esp + 0x43]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x30], al
mov ebx, dword [esp + 4]
movsd qword [esp + 0x31], xmm0
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x98]
mov ecx, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp]
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
cmp ecx, 0x7fff
ja 0x606402
movsd xmm0, qword [esp + 0x2c]
mov eax, dword [edx + 0x10]
movsd xmm1, qword [esp + 0x34]
movsd xmm2, qword [edx + 8]
cmp ecx, dword [ebx + 0x20]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [edx]
mov dword [esp + 0x24], eax
mov eax, ecx
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0x14], xmm0
jne 0x606343
mov esi, ecx
lea ecx, [ebx + 0x20]
mov edx, esi
call fcn.00481be0
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov edi, dword [ebx + 0x1c]
mov dword [esp + 8], ecx
mov esi, dword [esp + 8]
imul ecx, eax, 0x34
inc eax
cmp ebp, edi
mov dword [esi + ecx], 0
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
movsd qword [esi + ecx + 0xc], xmm0
movsd qword [esi + ecx + 0x14], xmm1
mov edx, dword [esp + 0x24]
mov dword [esi + ecx + 0x1c], edx
mov edx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x68]
movsd qword [esi + ecx + 0x20], xmm0
movsd qword [esi + ecx + 0x28], xmm1
mov word [esi + ecx + 0x30], dx
mov dword [ebx + 0x28], eax
jae 0x6065b3
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp]
mov word [eax + ebp*4], cx
mov word [eax + ebp*4 + 2], dx
jmp 0x60656a
movzx eax, byte [esi + 4]
xor esi, esi
movsd xmm0, qword [esp + 0x3c]
mov edx, dword [esp + 0x43]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x30], al
movsd qword [esp + 0x31], xmm0
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x98]
mov ecx, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp]
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
cmp ecx, 0x7fff
jbe 0x60643d
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x48]
push dword [esp + 0x44]
push dword [esp + 0x44]
push eax
call dword [ecx + 0xc]
add esp, 0xc
test esi, esi
je 0x606430
lea eax, [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call dword [esi + 0xc]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov byte [eax + 0x10], 3
jmp 0x606599
movsd xmm0, qword [esp + 0x2c]
mov esi, dword [esp + 4]
mov eax, dword [edx + 0x10]
movsd xmm1, qword [esp + 0x34]
movsd xmm2, qword [edx + 8]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [edx]
cmp ecx, dword [esi + 0x20]
mov dword [esp + 0x24], eax
mov eax, ecx
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0x14], xmm0
jne 0x60649b
mov edx, dword [esp]
lea ecx, [esi + 0x20]
call fcn.00481be0
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0x50], edx
and bl, bh
imul ecx, eax, 0x34
inc eax
mov byte [esp + 0x54], bl
mov ebx, dword [esp + 8]
mov dword [ebx + ecx], 0
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
movsd qword [ebx + ecx + 0xc], xmm0
movsd qword [ebx + ecx + 0x14], xmm1
mov edx, dword [esp + 0x24]
mov dword [ebx + ecx + 0x1c], edx
mov edx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x68]
movsd qword [ebx + ecx + 0x20], xmm0
movsd qword [ebx + ecx + 0x28], xmm1
mov word [ebx + ecx + 0x30], dx
mov dword [esi + 0x28], eax
mov esi, dword [esp]
mov ebx, dword [esp + 0x50]
xor eax, eax
nop dword [eax]
mov ecx, ebp
xor ebp, ebp
cmp ecx, edi
jae 0x606500
movzx edx, word [ebx + ecx*4]
cmp dx, 0xffff
je 0x606532
mov ebp, esi
movzx esi, word [ebx + ecx*4 + 2]
inc eax
mov word [ebx + ecx*4], bp
mov ebp, dword [esp + 0xc]
mov dword [esp + 0xc], esi
mov esi, edx
mov word [ebx + ecx*4 + 2], bp
inc ecx
mov ebp, ecx
jmp 0x606500
mov edx, dword [esp + 0xc]
mov word [ebx + ecx*4], si
cmp eax, 0x80
setb al
mov word [ebx + ecx*4 + 2], dx
movzx ecx, byte [esp + 0x54]
not cl
test cl, al
mov ecx, dword [esp + 4]
jne 0x60656a
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x60656a
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov esi, dword [esp + 0x10]
mov al, 2
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movzx ecx, word [esp + 0x28]
movzx edx, byte [esp + 0x2a]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov word [esi + 0x11], cx
mov byte [esi + 0x13], dl
mov byte [esi + 0x10], al
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp]
mov ecx, ebx
push 0x8ac150
call fcn.007c1be0
mov ecx, ebp
mov edx, edi
push 0x8ac160
call fcn.007c1be0
mov ecx, ebx
push 0x8ac1c0
call fcn.007c1be0
int3