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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov esi, dword [esp + 0x78]
xor ebp, ebp
mov ebx, dword [ebx]
push edi
mov edi, dword [esp + 0x9c]
mov esi, dword [esi]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov eax, dword [edi]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x24], esi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x6717785b
push dword [eax + 0x10]
movzx eax, word [edi + 0x5c]
push eax
call ecx
pop ecx
pop ecx
test eax, eax
je 0x6717785b
mov eax, dword [esp + 0x80]
mov dword [eax], 0x85
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x98]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x10], eax
mov eax, 0x80
movzx ecx, word [ebx]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebp
push 0xfffffffffffffffe
pop ebp
mov dword [esp + 0x2c], ebp
cmp cx, ax
je 0x671778ae
inc eax
cmp cx, ax
je 0x671778ae
mov eax, 0x83
cmp cx, ax
je 0x671778ae
xor eax, eax
mov dword [esp + 0x40], eax
mov edx, eax
jmp 0x671778c0
movzx edx, word [esi - 4]
xor eax, eax
inc eax
mov dword [esp + 0x40], eax
lea eax, [esi + 4]
mov dword [esp + 0x24], eax
mov eax, 0x88
cmp cx, ax
jne 0x671778f5
movzx eax, word [ebx + 4]
mov dword [esp + 0x4c], eax
mov word [esp + 0x68], ax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x64], eax
xor eax, eax
mov word [esp + 0x6a], ax
mov ax, word [edi + 0x5e]
mov word [esp + 0x6c], ax
lea eax, [esp + 0x64]
mov dword [edi + 0x60], eax
and dword [esp + 0x48], 0
lea ecx, [esp + 0x10]
xor eax, eax
mov dword [esp + 0x38], 0x78
mov word [ebx + 2], ax
mov esi, ebx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], esi
lea eax, [eax*2 + 4]
mov dword [esp + 0x54], eax
add eax, ebx
mov ebx, dword [esp + 0xa0]
test ebx, ebx
cmove ecx, dword [esp + 0x48]
or dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x40], 0
mov dword [esp + 0x14], eax
je 0x67177966
test edx, edx
je 0x67177966
push 0x7d
pop esi
mov word [eax], si
mov esi, dword [esp + 0x34]
mov word [eax + 2], dx
add eax, 4
add dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
push ecx
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.67174b6b
add esp, 0x2c
test eax, eax
je 0x67177851
mov ecx, dword [esp + 0x3c]
cmovs ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
test ebx, ebx
jne 0x67177a5b
mov eax, dword [esp + 0x38]
cmp word [esi], ax
je 0x671779e6
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
jmp 0x67177a5b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
cmp ecx, eax
jne 0x671779fe
cmp edi, edx
je 0x67177a18
test ecx, ecx
js 0x67177a0c
test ebp, ebp
jns 0x67177a0c
mov dword [esp + 0x18], edi
mov ebp, ecx
mov edi, dword [esp + 0x30]
mov ecx, edi
mov dword [esp + 0x2c], ecx
jmp 0x67177a1c
mov edi, dword [esp + 0x30]
test ecx, ecx
jns 0x67177a38
test eax, eax
js 0x67177a38
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jns 0x67177a3c
mov ecx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
jmp 0x67177a40
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, ecx
xor eax, ebp
test eax, 0xfffffffd
jne 0x67177a59
cmp dword [esp + 0x18], edx
jne 0x67177a59
mov dword [esp + 0x18], edx
or ebp, ecx
jmp 0x67177a5b
mov ebp, edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
and eax, 0xffff0000
cmp eax, 0x80010000
jne 0x67177abe
test ebx, ebx
je 0x67177a82
mov eax, dword [esp + 0x78]
add dword [esp + 0x10], 2
mov eax, dword [eax]
add eax, dword [esp + 0x54]
jmp 0x67177aa4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov word [ecx], ax
mov eax, ecx
sub eax, esi
mov esi, ecx
sar eax, 1
mov word [ecx + 2], ax
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], ecx
lea eax, [esi + 4]
movzx edx, word [edi]
add edi, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x9c]
jmp 0x6717793d
mov esi, dword [esp + 0x14]
test ebx, ebx
jne 0x67177aec
mov ebx, dword [esp + 0x34]
mov edx, esi
sub edx, ebx
sar edx, 1
movzx ecx, word [ebx + 2]
mov eax, ecx
mov word [ebx + 2], dx
neg eax
mov edx, ecx
lea ebx, [ebx + eax*2]
test ecx, ecx
jne 0x67177ad0
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x50]
push 0x79
pop eax
mov word [esi], ax
mov eax, esi
sub eax, ecx
sar eax, 1
mov word [esi + 2], ax
add esi, 4
cmp dword [esp + 0x4c], 0
jbe 0x67177b89
mov edx, dword [esp + 0x9c]
xor ebx, ebx
mov eax, dword [edx + 0x60]
cmp word [eax + 6], bx
je 0x67177b77
mov eax, esi
sub eax, ecx
and eax, 0xfffffffe
push eax
push ecx
lea eax, [ecx + 4]
push eax
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x5c]
mov eax, 0x84
add esp, 0xc
mov word [edx], ax
lea eax, [esi + 4]
sub eax, edx
sar eax, 1
movzx eax, ax
mov word [edx + 2], ax
push 0x79
pop edx
mov word [esi + 4], dx
mov edx, dword [esp + 0x9c]
mov word [esi + 6], ax
add esi, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x9c]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x60]
jmp 0x67177b7b
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov ebx, dword [esp + 0xa0]
mov dword [edx + 0x60], eax
jmp 0x67177b8d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
mov dword [eax], esi
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
mov eax, dword [esp + 0x88]
mov dword [eax], edx
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x2c]
mov dword [eax], edx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov eax, dword [esp + 0x94]
mov dword [eax], ebp
test ebx, ebx
je 0x67177bf0
mov edx, dword [ebx]
mov eax, 0x7fffffeb
sub eax, edx
cmp eax, ecx
jae 0x67177bec
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
jmp 0x67177851
add ecx, edx
mov dword [ebx], ecx
mov eax, dword [esp + 0x3c]
jmp 0x67177853