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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x67463180]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], ebx
cmp eax, 0x20
jae 0x670a7fd4
xor ecx, ecx
mov word [esp + eax + 0x50], cx
add eax, 2
cmp eax, 0x1e
jbe 0x670a7b64
push esi
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x670a7b9e
jmp 0x670a7b90
movzx eax, word [edx + ecx*2]
inc ecx
inc word [esp + eax*2 + 0x54]
cmp ecx, esi
jb 0x670a7b90
mov eax, dword [ebx]
push ebp
mov ebp, 0xf
cmp word [esp + ebp*2 + 0x58], 0
jne 0x670a7bb4
dec ebp
cmp ebp, 1
jae 0x670a7ba6
cmp eax, ebp
cmova eax, ebp
test ebp, ebp
jne 0x670a7bf8
mov ecx, dword [edi]
mov dword [esp + 0x10], 0x140
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
add dword [edi], 4
mov ecx, dword [edi]
mov dword [ecx], eax
add dword [edi], 4
mov dword [ebx], 1
xor eax, eax
mov ecx, dword [esp + 0x98]
pop ebp
pop esi
pop edi
pop ebx
xor ecx, esp
call fcn.67226d38
add esp, 0x8c
ret
mov ebx, 1
mov dword [esp + 0x24], ebx
cmp ebp, ebx
jbe 0x670a7c16
cmp word [esp + ebx*2 + 0x58], 0
jne 0x670a7c12
inc ebx
cmp ebx, ebp
jb 0x670a7c05
mov dword [esp + 0x24], ebx
cmp eax, ebx
mov edx, 1
mov ecx, edx
cmovb eax, ebx
mov dword [esp + 0x1c], eax
movzx eax, word [esp + ecx*2 + 0x58]
add edx, edx
sub edx, eax
js 0x670a7fcc
inc ecx
cmp ecx, 0xf
jbe 0x670a7c26
test edx, edx
jle 0x670a7c56
cmp dword [esp + 0xa0], 0
je 0x670a7fcc
cmp ebp, 1
jne 0x670a7fcc
xor eax, eax
mov ecx, 2
mov word [esp + 0x7a], ax
jmp 0x670a7c70
mov ax, word [esp + ecx + 0x78]
add ax, word [esp + ecx + 0x58]
mov word [esp + ecx + 0x7a], ax
add ecx, 2
cmp ecx, 0x1e
jb 0x670a7c70
xor ecx, ecx
test esi, esi
je 0x670a7cb9
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
movzx eax, word [ebx + ecx*2]
test ax, ax
je 0x670a7cb0
movzx eax, word [esp + eax*2 + 0x78]
mov word [edx + eax*2], cx
movzx eax, word [ebx + ecx*2]
inc word [esp + eax*2 + 0x78]
inc ecx
cmp ecx, esi
jb 0x670a7c95
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0xa0]
sub eax, 0
je 0x670a7d08
dec eax
je 0x670a7ce1
or eax, 0xffffffff
mov dword [esp + 0x34], 0x672c6388
mov dword [esp + 0x40], 0x672c63c8
mov dword [esp + 0x2c], eax
jmp 0x670a7d1c
mov eax, 0x672c6308
sub eax, 0x202
mov dword [esp + 0x34], eax
mov eax, 0x672c6348
sub eax, 0x202
mov dword [esp + 0x40], eax
mov eax, 0x100
mov dword [esp + 0x2c], eax
jmp 0x670a7d1c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0x13
mov eax, dword [edi]
xor edx, edx
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x44], eax
lea ecx, [eax - 1]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xa0]
cmp ecx, 1
jne 0x670a7d5f
cmp eax, 0x354
jmp 0x670a7d69
cmp ecx, 2
jne 0x670a7d70
cmp eax, 0x250
jae 0x670a7fc2
nop
mov edi, dword [esp + 0x2c]
mov al, bl
sub al, dl
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov ecx, eax
cmp ecx, edi
jge 0x670a7d90
mov byte [esp + 0x10], 0
jmp 0x670a7dae
jle 0x670a7da7
mov eax, dword [esp + 0x40]
mov al, byte [eax + ecx*2]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x34]
mov ax, word [eax + ecx*2]
jmp 0x670a7dae
mov byte [esp + 0x10], 0x60
xor eax, eax
mov ecx, ebx
mov word [esp + 0x12], ax
sub ecx, edx
mov edi, 1
mov edx, dword [esp + 0x44]
shl edi, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
lea eax, [edi*4]
mov dword [esp + 0x3c], eax
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x18]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x3c]
mov dword [ecx], eax
sub edx, edi
jne 0x670a7de6
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test esi, edx
je 0x670a7e06
mov edi, edi
shr edx, 1
test esi, edx
jne 0x670a7e00
test edx, edx
je 0x670a7e13
lea eax, [edx - 1]
and esi, eax
add esi, edx
jmp 0x670a7e15
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, 0xffff
add eax, 2
add word [esp + ebx*2 + 0x58], cx
mov dword [esp + 0x20], eax
jne 0x670a7e43
cmp ebx, ebp
je 0x670a7f28
movzx eax, word [eax]
mov ecx, dword [esp + 0x4c]
movzx ebx, word [ecx + eax*2]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
cmp ebx, ecx
jbe 0x670a7d70
mov edi, dword [esp + 0x48]
and edi, esi
mov dword [esp + 0x3c], edi
cmp edi, dword [esp + 0x28]
je 0x670a7d70
mov eax, edx
mov edx, dword [esp + 0x18]
test eax, eax
cmove eax, ecx
mov ecx, dword [esp + 0x50]
sub ebx, eax
mov dword [esp + 0x14], eax
lea edx, [edx + ecx*4]
mov ecx, ebx
mov dword [esp + 0x18], edx
mov edx, 1
shl edx, cl
lea ecx, [eax + ebx]
cmp ecx, ebp
jae 0x670a7eb8
lea edi, [esp + 0x58]
lea edi, [edi + ecx*2]
lea ebx, [ebx]
movzx eax, word [edi]
sub edx, eax
test edx, edx
jle 0x670a7eb4
inc ecx
inc ebx
add edi, 2
add edx, edx
cmp ecx, ebp
jb 0x670a7ea0
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], ecx
cmp eax, 1
jne 0x670a7ee3
cmp ecx, 0x354
jmp 0x670a7eee
cmp eax, 2
jne 0x670a7ef4
cmp ecx, 0x250
jae 0x670a7fc2
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
mov eax, dword [edx]
mov byte [eax + edi*4], bl
mov eax, dword [edx]
mov ebx, dword [esp + 0x24]
mov byte [eax + edi*4 + 1], cl
mov ecx, dword [edx]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, ecx
sar eax, 2
mov word [ecx + edi*4 + 2], ax
jmp 0x670a7d70
mov ecx, dword [esp + 0x14]
mov al, bl
mov ebp, dword [esp + 0x30]
sub al, cl
mov byte [esp + 0x11], al
xor eax, eax
mov byte [esp + 0x10], 0x40
mov word [esp + 0x12], ax
test esi, esi
je 0x670a7fa9
mov edi, dword [esp + 0x28]
lea esp, [esp]
test ecx, ecx
je 0x670a7f75
mov eax, dword [esp + 0x48]
and eax, esi
cmp eax, edi
je 0x670a7f75
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [ebp]
mov ebx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov edx, esi
shr edx, cl
mov ecx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test esi, eax
je 0x670a7f98
shr eax, 1
test esi, eax
jne 0x670a7f92
test eax, eax
je 0x670a7fa9
lea ecx, [eax - 1]
and esi, ecx
mov ecx, dword [esp + 0x14]
add esi, eax
jne 0x670a7f50
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
shl eax, 2
add dword [ebp], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x670a7bdd
mov eax, 1
jmp 0x670a7bdf
or eax, 0xffffffff
jmp 0x670a7bdf
call fcn.6722788a
int3