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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x5c]
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x68]
push edi
mov edx, dword [edx]
push eax
mov eax, dword [ebx + 0xc]
push dword [esp + 0x74]
mov dword [esp + 0x1c], edx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
lea eax, [eax + ecx*4]
push eax
push edx
call fcn.670a78d0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x670ac40a
mov edi, dword [esp + 0x68]
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
movzx eax, word [eax + ecx*4]
push eax
lea eax, [edi + 4]
push eax
call fcn.670b6440
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x670ac40a
cmp word [edi + 0x3a], 1
jae 0x670abefe
pop edi
mov eax, 0xffff
pop ebx
add esp, 0x58
ret
push ebp
lea eax, [esp + 0x14]
push eax
movzx eax, word [edi + 0x36]
add eax, eax
push eax
call fcn.670b5c80
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
test eax, eax
jne 0x670ac409
movzx ecx, word [edi + 0x3a]
mov dword [esp + 0x30], eax
add ecx, ecx
push esi
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.670b5c80
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
test eax, eax
jne 0x670ac3f7
mov ecx, 1
lea eax, [esp + 0x18]
mov dword [esp + 0x38], ecx
movzx ecx, word [edi + 0x38]
push eax
add ecx, ecx
push ecx
call fcn.670b5c80
mov dword [esp + 0x30], eax
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x670ac3e6
mov eax, dword [ebx + 0x14]
lea edx, [edi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x48], edx
push ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0xc]
push esi
lea ecx, [ecx + ecx*4]
movzx eax, word [eax + ecx*4]
push eax
push edx
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670abfb6
cmp eax, 0xffff
jne 0x670ac3c9
movzx ecx, word [esi]
mov eax, dword [edi]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x670abfd8
push 0x1570
call fcn.670b5cc0
add esp, 4
jmp 0x670ac3c5
xor eax, eax
xor edx, edx
mov dword [esp + 0x40], eax
cmp dx, word [ecx + 4]
jae 0x670ac3c0
mov dx, word [esp + 0x7c]
mov ebx, 0xffff
movzx eax, ax
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [esp + 0x4c], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
movq qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x5c]
shr eax, 0x10
mov dword [esp + 0x24], eax
cmp dx, bx
je 0x670ac02e
cmp dx, ax
jb 0x670ac3a9
mov edx, dword [esp + 0x74]
mov bx, word [esp + 0x5c]
movzx eax, bx
mov esi, dword [edx + 0x10]
cmp eax, esi
ja 0x670ac39f
mov eax, dword [esp + 0x24]
movzx ebp, word [esp + 0x60]
mov ecx, dword [edx + 0xc]
movzx eax, ax
add eax, ebp
movzx edi, cx
add eax, ecx
cmp eax, dword [edx + 4]
ja 0x670ac39f
mov eax, edi
test bx, bx
je 0x670ac196
lea eax, [esi - 1]
xor ecx, ecx
movzx esi, ax
xor ebp, ebp
mov dword [esp + 0x20], esi
mov eax, edi
cmp cx, bx
jae 0x670ac196
lea eax, [esp + 0x10]
movzx esi, si
push eax
mov eax, dword [edx + 0x18]
push dword [esp + 0x7c]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x28]
call fcn.670a78d0
mov ebx, dword [esp + 0x84]
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670ac112
cmp eax, 0xffff
jne 0x670ac3c9
movzx ecx, word [esp + 0x5c]
lea eax, [esi + 1]
movzx edi, bp
sub ecx, edi
cmp eax, ecx
je 0x670ac39f
mov eax, dword [esp + 0x20]
add eax, 0xffff
movzx esi, ax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x18]
push dword [esp + 0x7c]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x28]
call fcn.670a78d0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x670ac0b9
jmp 0x670ac115
movzx edi, bp
mov esi, dword [esp + 0x20]
cmp bp, word [esp + 0x34]
jb 0x670ac162
mov eax, dword [esp + 0x30]
push 0
lea eax, [eax + edi*2]
push eax
movzx eax, si
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
movzx eax, word [eax + ecx*4]
push eax
mov eax, dword [esp + 0x7c]
add eax, 0x10
push eax
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670ac15b
cmp eax, 0xffff
jne 0x670ac3c9
movzx eax, bp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov ax, word [eax + edi*2]
cmp ax, word [ecx + edi*2]
jne 0x670ac39f
mov edx, dword [esp + 0x74]
inc ebp
add esi, 0xffff
mov dword [esp + 0x20], esi
cmp bp, word [esp + 0x5c]
jb 0x670ac088
movzx eax, word [edx + 0xc]
inc eax
mov ebp, 1
movzx edi, ax
mov eax, ebp
cmp ax, word [esp + 0x24]
jae 0x670ac2a4
jmp 0x670ac1b4
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x10]
movzx esi, di
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x7c]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x28]
call fcn.670a78d0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670ac238
cmp eax, 0xffff
jne 0x670ac3c9
movzx eax, word [esp + 0x60]
mov edx, dword [esp + 0x24]
movzx ebx, bp
sub eax, ebx
movzx ecx, dx
mov edx, dword [esp + 0x74]
add eax, esi
add eax, ecx
cmp eax, dword [edx + 4]
je 0x670ac39f
inc edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x7c]
movzx esi, di
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x28]
call fcn.670a78d0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x670ac1de
jmp 0x670ac23b
movzx ebx, bp
mov esi, dword [esp + 0x2c]
cmp bp, word [esp + 0x38]
jb 0x670ac284
push 0
lea eax, [esi + ebx*2]
push eax
movzx eax, di
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + ecx*4]
push eax
push dword [esp + 0x54]
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670ac27d
cmp eax, 0xffff
jne 0x670ac3c9
movzx ecx, bp
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
mov ax, word [eax + ebx*2 - 2]
cmp ax, word [esi + ebx*2]
jne 0x670ac39f
inc ebp
inc edi
cmp bp, word [esp + 0x24]
jb 0x670ac1b0
xor ebp, ebp
nop word [eax + eax]
cmp bp, word [esp + 0x60]
jae 0x670ac410
lea eax, [esp + 0x10]
movzx esi, di
push eax
mov eax, dword [esp + 0x78]
push dword [esp + 0x7c]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x14]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x28]
call fcn.670a78d0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670ac33a
cmp eax, 0xffff
jne 0x670ac3c9
movzx eax, word [esp + 0x60]
mov edx, dword [esp + 0x74]
movzx ebx, bp
sub eax, ebx
add eax, esi
cmp eax, dword [edx + 4]
je 0x670ac39f
inc edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x7c]
movzx esi, di
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x28]
call fcn.670a78d0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x670ac2e9
jmp 0x670ac33d
movzx ebx, bp
cmp bp, word [esp + 0x3c]
jb 0x670ac386
mov eax, dword [esp + 0x28]
push 0
lea eax, [eax + ebx*2]
push eax
movzx eax, di
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + ecx*4]
push eax
mov eax, dword [esp + 0x7c]
add eax, 0x28
push eax
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670ac37f
cmp eax, 0xffff
jne 0x670ac3c9
movzx ecx, bp
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov ax, word [eax + ebx*2]
cmp ax, word [ecx + ebx*2]
jne 0x670ac39f
inc ebp
inc edi
jmp 0x670ac2b0
mov dx, word [esp + 0x7c]
mov ebx, 0xffff
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x40], eax
cmp ax, word [ecx + 4]
jb 0x670abff4
mov eax, 0xffff
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x670ac3de
push ecx
call fcn.670b5cd0
mov eax, dword [esp + 0x1c]
add esp, 4
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
test esi, esi
je 0x670ac3f7
push esi
call fcn.670b5cd0
mov eax, dword [esp + 0x1c]
add esp, 4
pop esi
test ebp, ebp
je 0x670ac409
push ebp
call fcn.670b5cd0
mov eax, dword [esp + 0x18]
add esp, 4
pop ebp
pop edi
pop ebx
add esp, 0x58
ret
push dword [esp + 0x80]
push dword [esp + 0x78]
push dword [esp + 0x60]
push dword [esp + 0x6e]
push dword [esp + 0x34]
push dword [esp + 0x80]
call fcn.670a79d0
add esp, 0x18
jmp 0x670ac3c5