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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
push 4
pop ebp
push 6
mov eax, dword [edi + 0xd0]
mov esi, dword [edi]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 8]
lea ebx, [eax + ecx*2]
mov ecx, 0x86
cmp word [ebx], cx
pop eax
cmovne ebp, eax
push ebx
add ebp, ebx
call fcn.67187c69
lea ecx, [esp + 0x24]
sub eax, 4
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
push ebp
push edi
call fcn.67199652
add esp, 0x1c
mov dword [esp + 0x30], eax
xor edx, edx
mov ecx, ebx
mov dword [edi + 0x1c], edx
mov dword [esp + 0x38], edx
push 0x78
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], edx
pop edi
movzx eax, word [ecx + 2]
inc edx
lea ecx, [ecx + eax*2]
cmp word [ecx], di
je 0x671900c8
and dword [esp + 0x1c], 0
push esi
mov dword [esp + 0x28], edx
call fcn.6719e83a
mov edi, dword [esp + 0x58]
mov ecx, dword [edi + 0xd0]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xd0]
push dword [eax + 4]
push dword [eax + 0xc]
call fcn.6719d9ab
push 0
push 3
push esi
call fcn.6719e43b
push edi
call fcn.67194545
mov eax, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [esp + 0x40], 1
setg cl
inc ecx
add eax, ecx
mov dword [esp + 0x2c], ecx
push eax
push edi
mov dword [esp + 0x78], eax
call fcn.67187b91
mov eax, dword [esp + 0x34]
push 0
push 3
lea eax, [eax*4 - 4]
push eax
push 0x8b
push 0x20
push esi
mov dword [esp + 0x6c], eax
call fcn.6719e89a
push dword [esp + 0x50]
push dword [esp + 0x94]
push dword [esp + 0x54]
push 0
push dword [esp + 0x64]
push ebp
push edi
call fcn.67193d02
add esp, 0x58
push 0
push 0xb
push dword [edi + 0x30]
push 0x8d
push 0x20
push esi
call fcn.6719e89a
add esp, 0x18
cmp dword [esp + 0x2c], 0
je 0x671901a7
push 0
push 0x40
push dword [edi + 0x44]
push 0x8d
push 0x20
push esi
call fcn.6719e89a
add esp, 0x18
cmp dword [esp + 0x24], 1
jle 0x671901c4
push 0
push 2
push 0
push 0x8b
push 0x20
push esi
call fcn.6719e89a
add esp, 0x18
push 0x14
lea eax, [esp + 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xd8], eax
mov dword [edi + 0xe8], eax
movzx eax, word [ebx + 2]
lea edx, [ebx + eax*2]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp ecx, ebp
je 0x6719022e
push eax
push 0x8b
push eax
push 2
push 0x20
push esi
call fcn.6719e89a
mov ecx, dword [esp + 0x64]
add esp, 0x18
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push eax
push edx
push ecx
push edi
call fcn.6718f9e6
add esp, 0x10
cmp dword [esi], 0
jne 0x6719067d
cmp ebx, 1
jg 0x67190258
cmp dword [esp + 0x20], 0
jne 0x67190258
xor eax, eax
inc eax
jmp 0x6719025b
push 2
pop eax
push eax
push edi
call fcn.67187b91
push dword [edi + 0x30]
push 0x8d
push 0
push 3
push 0x20
push esi
call fcn.6719e89a
add esp, 0x20
cmp ebx, 1
jg 0x67190285
cmp dword [esp + 0x20], 0
je 0x671902b8
cmp ebx, 3
jle 0x671902a0
push 4
push 0x8b
push esi
call fcn.6719f087
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x671902b8
push dword [esp + 0x1c]
push 0x40
push 4
push 0x8b
push 0x20
push esi
call fcn.6719e89a
add esp, 0x18
push 0x18
push esi
call fcn.6719e7bf
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.67187b03
push esi
call fcn.6719e83a
add esp, 0x18
cmp dword [esp + 0x1c], 0
jne 0x671903c3
mov ecx, dword [edi + 0xd0]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xd0]
push dword [eax + 8]
push dword [eax + 0x10]
call fcn.6719d9ab
push 0
push 1
push esi
call fcn.6719e43b
add esp, 0x14
cmp dword [esp + 0x20], 0
je 0x67190328
push 0xffffffffffffffff
push 0x40
push 4
push 0x8b
push 0
push esi
call fcn.6719dfee
add esp, 0x18
mov dword [esp + 0x34], eax
push 0
push 0x8b
push 0
push 3
push 0x20
push esi
call fcn.6719e89a
push 0
push 1
push dword [esp + 0x50]
push 0x83
push 0x20
push esi
call fcn.6719e89a
push dword [esp + 0x44]
push dword [esp + 0x88]
push dword [esp + 0x48]
push 4
push dword [esp + 0x58]
push ebp
push edi
call fcn.67193d02
add esp, 0x4c
cmp ebx, 1
jle 0x671903ae
push 4
push 0x8b
push 0
push 1
push 0x20
push esi
call fcn.6719e89a
push 2
push edi
call fcn.67198fb4
add esp, 0x20
push 0
cmp ebx, 3
jle 0x671903ec
push 1
push 0x18
push esi
call fcn.6719e6e7
push esi
call fcn.6719e83a
add esp, 0x14
jmp 0x671903c8
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
inc eax
push eax
push edi
call fcn.67198fb4
pop ecx
pop ecx
jmp 0x67190401
cmp ebx, 3
jle 0x671903d5
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x67190401
mov dword [ecx + 4], eax
jmp 0x67190401
push eax
push dword [esp + 0x2c]
call fcn.6719f792
mov eax, dword [esp + 0x24]
inc eax
pop ecx
pop ecx
cmp eax, ebx
jge 0x67190401
push 1
push 0x40
push 0
push 1
push 1
push esi
call fcn.6719dfee
mov dword [esp + 0x40], eax
add esp, 0x18
push dword [esp + 0x44]
inc dword [esp + 0x20]
push edi
call fcn.67189fac
cmp dword [esi], 0
pop ecx
pop ecx
jne 0x6719067d
push esi
call fcn.6719e83a
push eax
push dword [esp + 0x50]
call fcn.6719d9ab
mov edx, dword [esp + 0x38]
add esp, 0xc
push 0x78
pop eax
cmp word [edx], ax
jne 0x6719044c
lea ecx, [edx + 4]
mov dword [esp + 0x4c], ecx
movzx eax, word [edx + 2]
lea edx, [edx + eax*2]
jmp 0x67190200
push esi
call fcn.6719e83a
push dword [esp + 0x18]
mov ebx, eax
push dword [esp + 0x5c]
push dword [esp + 0x1c]
push 1
push dword [esp + 0x2c]
push ebp
push edi
call fcn.67193d02
push dword [esp + 0x50]
push 0x8b
push 0
push 3
push 0x20
push esi
call fcn.6719e89a
push dword [esp + 0x8c]
push edi
call fcn.67198fb4
add esp, 0x40
push 0
push 0x40
push 0
push 1
push 0x20
push esi
call fcn.6719e89a
push 0
push 3
push esi
call fcn.6719e4d8
add esp, 0x24
cmp dword [edi + 0xd8], 0
je 0x6719050d
push esi
call fcn.6719e83a
push eax
push dword [edi + 0xd8]
call fcn.6719d9ab
push dword [edi + 0x30]
push 0x8d
push 0
push 0xb
push 0x20
push esi
call fcn.6719e89a
push dword [esp + 0x38]
push dword [esp + 0x7c]
push dword [esp + 0x3c]
push 2
push dword [esp + 0x4c]
push ebp
push edi
call fcn.67193d02
add esp, 0x40
push ebx
push 0x18
push esi
call fcn.6719e7bf
pop ecx
pop ecx
push eax
call fcn.6719f792
pop ecx
pop ecx
cmp dword [esp + 0x20], 0
je 0x671905a8
push esi
call fcn.6719e83a
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.6719f792
push 2
push edi
call fcn.67198fb4
push 0
push 1
push dword [esp + 0x4c]
push 0x8b
push 0x20
push esi
call fcn.6719e89a
push dword [esp + 0x40]
mov ebx, dword [esp + 0x40]
push dword [esp + 0x84]
push ebx
push 3
push dword [esp + 0x54]
push ebp
push edi
call fcn.67193d02
add esp, 0x48
lea eax, [ebx*4 - 4]
push eax
push 0x8b
push 0
push 3
push 0x20
push esi
call fcn.6719e89a
push dword [esp + 0x6c]
push edi
call fcn.67198fb4
push 0
push 0x40
push 0
push 1
push 0x20
push esi
call fcn.6719e89a
push 0
push 3
push esi
call fcn.6719e4d8
add esp, 0x44
jmp 0x671905ac
mov ebx, dword [esp + 0x10]
cmp dword [edi + 0xe8], 0
je 0x6719060c
push esi
call fcn.6719e83a
push eax
push dword [edi + 0xe8]
call fcn.6719d9ab
push dword [edi + 0x30]
push 0x8d
push 0
push 0xb
push 0x20
push esi
call fcn.6719e89a
push 0
push 0xb
push 0
push 3
push 0x20
push esi
call fcn.6719e89a
push 2
push edi
call fcn.67187b91
add esp, 0x44
push 0xffffffffffffffff
push 0x40
push 4
push 0x8b
push 0x20
push esi
call fcn.6719e89a
add esp, 0x18
push esi
call fcn.6719e83a
push eax
push dword [esp + 0x40]
call fcn.6719d9ab
push 0
push 3
push 0
push 0x8b
push 0x20
push esi
call fcn.6719e89a
push dword [esp + 0x38]
push dword [esp + 0x7c]
push ebx
push 4
push dword [esp + 0x4c]
push ebp
push edi
call fcn.67193d02
add esp, 0x40
lea eax, [ebx*4 - 4]
xor ebx, ebx
push eax
push 0x83
push ebx
push 3
push 0x20
push esi
call fcn.6719e89a
push 1
push 0x40
push ebx
push 1
push 0x20
push esi
call fcn.6719e89a
push ebx
push 3
push esi
call fcn.6719e4d8
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret