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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov eax, dword [eax]
mov edx, dword [eax + 0x24]
lea eax, [esp + 8]
push eax
mov eax, dword [ebx + 0xc]
push dword [esp + 0x70]
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 0x670b3eca
mov ebp, dword [esp + 0x64]
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
push ebp
call fcn.670b6440
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x670b3eca
cmp word [ebp + 0x1c], 1
jae 0x670b39cf
pop ebp
mov eax, 0xffff
pop ebx
add esp, 0x54
ret
push edi
lea eax, [esp + 0x14]
push eax
movzx eax, word [ebp + 0xc]
add eax, eax
push eax
call fcn.670b5c80
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edi
test eax, eax
jne 0x670b3ec9
xor ecx, ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], ecx
movzx ecx, word [ebp + 0x1c]
push esi
push eax
add ecx, ecx
push ecx
call fcn.670b5c80
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], esi
test eax, eax
jne 0x670b3eb7
mov ecx, 1
lea eax, [esp + 0x18]
mov dword [esp + 0x34], ecx
movzx ecx, word [ebp + 0x2c]
push eax
add ecx, ecx
push ecx
call fcn.670b5c80
mov dword [esp + 0x2c], eax
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x670b3ea6
mov eax, dword [ebx + 0x14]
lea edx, [ebp + 0x20]
xor ecx, ecx
mov dword [esp + 0x40], edx
push ecx
mov dword [esp + 0x3c], 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 0x670b3a89
cmp eax, 0xffff
jne 0x670b3e89
movzx ecx, word [esi]
mov eax, dword [ebp + 0x40]
lea ebp, [eax + ecx*8]
mov dword [esp + 0x44], ebp
test ebp, ebp
jne 0x670b3aac
push 0x1570
call fcn.670b5cc0
add esp, 4
jmp 0x670b3e85
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x3c], eax
cmp cx, word [ebp]
jae 0x670b3e80
mov dx, word [esp + 0x78]
mov ebx, 0xffff
nop dword [eax + eax]
movzx eax, ax
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 4]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [esp + 0x48], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
movq qword [esp + 0x58], xmm0
mov ebp, dword [esp + 0x58]
shr ebp, 0x10
mov dword [esp + 0x20], ebp
cmp dx, bx
je 0x670b3b07
cmp dx, bp
jb 0x670b3e69
mov edx, dword [esp + 0x70]
mov di, word [esp + 0x58]
movzx eax, di
mov ecx, dword [edx + 0xc]
movzx esi, cx
cmp eax, ecx
ja 0x670b3e64
movzx ebx, word [esp + 0x5c]
movzx eax, bp
add eax, ebx
add eax, ecx
cmp eax, dword [edx + 4]
ja 0x670b3e5f
mov eax, esi
test di, di
je 0x670b3c51
lea eax, [esi - 1]
xor ecx, ecx
xor ebx, ebx
movzx ebp, ax
mov eax, esi
cmp cx, di
jae 0x670b3c51
lea eax, [esp + 0x10]
movzx esi, bp
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x78]
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 0x670b3bd1
cmp eax, 0xffff
jne 0x670b3e89
movzx ecx, word [esp + 0x58]
lea eax, [esi + 1]
movzx edi, bx
sub ecx, edi
cmp eax, ecx
je 0x670b3e5f
lea eax, [esp + 0x10]
inc ebp
push eax
mov eax, dword [esp + 0x74]
push dword [esp + 0x78]
movzx esi, bp
mov eax, dword [eax + 0x14]
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 0x670b3b80
jmp 0x670b3bd4
movzx edi, bx
cmp bx, word [esp + 0x30]
jb 0x670b3c21
mov eax, dword [esp + 0x2c]
push 0
lea eax, [eax + edi*2]
push eax
movzx eax, bp
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + ecx*4]
push eax
mov eax, dword [esp + 0x78]
add eax, 0x10
push eax
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670b3c1a
cmp eax, 0xffff
jne 0x670b3e89
movzx ecx, bx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov ax, word [eax + edi*2]
cmp ax, word [ecx + edi*2]
jne 0x670b3e5f
mov edx, dword [esp + 0x70]
inc ebx
add ebp, 0xffff
cmp bx, word [esp + 0x58]
jb 0x670b3b56
movzx eax, word [edx + 0xc]
inc eax
mov ebp, 1
movzx edi, ax
mov eax, ebp
cmp ax, word [esp + 0x20]
jae 0x670b3d64
jmp 0x670b3c74
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x10]
movzx esi, di
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x78]
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 0x670b3cf8
cmp eax, 0xffff
jne 0x670b3e89
movzx eax, word [esp + 0x5c]
mov edx, dword [esp + 0x20]
movzx ebx, bp
sub eax, ebx
movzx ecx, dx
mov edx, dword [esp + 0x70]
add eax, esi
add eax, ecx
cmp eax, dword [edx + 4]
je 0x670b3e5f
inc edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x78]
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 0x670b3c9e
jmp 0x670b3cfb
movzx ebx, bp
mov esi, dword [esp + 0x28]
cmp bp, word [esp + 0x34]
jb 0x670b3d44
push 0
lea eax, [esi + ebx*2]
push eax
movzx eax, di
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + ecx*4]
push eax
push dword [esp + 0x4c]
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670b3d3d
cmp eax, 0xffff
jne 0x670b3e89
movzx ecx, bp
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x4c]
mov ax, word [eax + ebx*2 - 2]
cmp ax, word [esi + ebx*2]
jne 0x670b3e5f
inc ebp
inc edi
cmp bp, word [esp + 0x20]
jb 0x670b3c70
xor ebp, ebp
nop word [eax + eax]
cmp bp, word [esp + 0x5c]
jae 0x670b3ed0
lea eax, [esp + 0x10]
movzx esi, di
push eax
mov eax, dword [esp + 0x74]
push dword [esp + 0x78]
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 0x670b3dfa
cmp eax, 0xffff
jne 0x670b3e89
movzx eax, word [esp + 0x5c]
mov edx, dword [esp + 0x70]
movzx ebx, bp
sub eax, ebx
add eax, esi
cmp eax, dword [edx + 4]
je 0x670b3e5f
inc edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x14]
push dword [esp + 0x78]
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 0x670b3da9
jmp 0x670b3dfd
movzx ebx, bp
cmp bp, word [esp + 0x38]
jb 0x670b3e46
mov eax, dword [esp + 0x24]
push 0
lea eax, [eax + ebx*2]
push eax
movzx eax, di
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + ecx*4]
push eax
mov eax, dword [esp + 0x78]
add eax, 0x30
push eax
call fcn.670b67f0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x670b3e3f
cmp eax, 0xffff
jne 0x670b3e89
movzx ecx, bp
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov ax, word [eax + ebx*2]
cmp ax, word [ecx + ebx*2]
jne 0x670b3e5f
inc ebp
inc edi
jmp 0x670b3d70
mov ebx, 0xffff
mov dx, word [esp + 0x78]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
inc eax
mov dword [esp + 0x3c], eax
cmp ax, word [ebp]
jb 0x670b3ad0
mov eax, 0xffff
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x670b3e9e
push ecx
call fcn.670b5cd0
mov eax, dword [esp + 0x1c]
add esp, 4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x670b3eb7
push esi
call fcn.670b5cd0
mov eax, dword [esp + 0x1c]
add esp, 4
pop esi
test edi, edi
je 0x670b3ec9
push edi
call fcn.670b5cd0
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x54
ret
push dword [esp + 0x7c]
push dword [esp + 0x74]
push dword [esp + 0x5c]
push dword [esp + 0x6a]
push dword [esp + 0x30]
push dword [esp + 0x7c]
call fcn.670adb50
add esp, 0x18
jmp 0x670b3e85