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

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x28]
and dword [esp + 0xc], 0
and dword [esp + 0x18], 0
push ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [edx + 0xc]
push ebp
push esi
mov ecx, dword [ebx + 0x10]
mov esi, 0x8d
sub ecx, dword [edx + 8]
push edi
sar ecx, 1
push 4
mov edi, dword [edx]
mov ebp, dword [eax + ecx*4]
test ebp, ebp
pop ecx
lea eax, [esi - 2]
mov dword [esp + 0x18], ebp
cmove esi, eax
lea eax, [ebp + 4]
mov dword [esp + 0x14], esi
cmove eax, ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x10]
push edx
call fcn.671996e7
movzx ecx, word [esp + 0x2c]
add esp, 0x1c
add ecx, 0xffffffdf
mov dword [esp + 0x28], eax
cmp ecx, 0xc
ja case.0x6718e826.35
movzx ecx, byte [ecx + 0x6718ecca]
jmp dword [ecx*4 + 0x6718ecae]
cmp word [esp + 0x20], 0x11
je 0x6718e99f
cmp word [esp + 0x20], 0x16
je 0x6718e99f
mov esi, dword [ebx + 0x20]
push ebp
push dword [esp + 0x18]
push 0
push 2
pop ebx
push ebx
push 0x20
push edi
call fcn.6719ec17
add esp, 0x18
test esi, esi
mov esi, dword [esp + 0x14]
push dword [esp + 0x24]
push esi
je 0x6718e930
xor ebp, ebp
push ebp
push 3
push 0x20
push edi
call fcn.6719ec17
push ebx
push 0x40
push ebp
push ebx
push ebp
push ebx
push 0x62
push edi
call fcn.6719ee4b
push ebp
push 3
push ebp
push ebx
push 5
push edi
call fcn.6719e36b
add esp, 0x50
mov dword [esp + 0x24], eax
push edi
call fcn.6719ebb7
push 0xfffffffffffffffe
push 0x82
push ebp
inc ebp
mov dword [esp + 0x38], eax
push ebp
push 0x23
push edi
call fcn.6719ec17
push 0
push ebx
push dword [esp + 0x3c]
push esi
push 0x20
push edi
call fcn.6719ec17
mov esi, dword [esp + 0x70]
add esp, 0x34
cmp dword [esi + 0x18], 0
je 0x6718e8ee
push dword [esi + 0x18]
push 0x40
push 0
push ebp
push 0
push ebp
push 0x66
push edi
call fcn.6719ee4b
add esp, 0x20
push dword [esi + 0x14]
movzx eax, word [esi + 0x1c]
push eax
push 0x40
push 0
push ebp
push 0
push edi
call fcn.6719e36b
add esp, 0x18
push eax
call fcn.6719fb0f
mov esi, dword [esp + 0x40]
push ebp
xor ebp, ebp
push ebp
push esi
call fcn.6719bf54
push ebp
push 3
push ebp
push ebx
push 4
push edi
call fcn.6719e36b
mov ebp, dword [esp + 0x44]
add esp, 0x2c
jmp 0x6718e973
push 0
push ebx
push 5
push edi
call fcn.6719e36b
push 1
push 0
push dword [esp + 0x58]
mov dword [esp + 0x48], eax
call fcn.6719bf54
push 0
push ebx
push ebp
push esi
push 0x20
push edi
call fcn.6719ec17
mov eax, dword [esp + 0x78]
push 0x18
push edi
mov eax, dword [eax + 0x14]
mov dword [esp + 0x6c], eax
call fcn.6719eb3c
mov esi, dword [esp + 0x7c]
add esp, 0x44
push dword [esp + 0x28]
push eax
call fcn.6719fb0f
push edi
call fcn.6719ebb7
push eax
push dword [esp + 0x34]
call fcn.6719fb0f
add esp, 0x14
test ebp, ebp
jne case.0x6718e826.35
push ebx
push esi
jmp 0x6718ec88
push edi
call fcn.6719ebb7
push eax
push dword [ebx + 0x18]
call fcn.6719dd28
xor esi, esi
push esi
push 0x8b
push esi
push 2
pop ebx
push ebx
push 0x20
push edi
call fcn.6719ec17
xor ebp, ebp
inc ebp
push ebp
push dword [esp + 0x60]
call fcn.67199331
mov eax, dword [esp + 0x68]
add esp, 0x2c
push dword [eax + 0x14]
push esi
push 0x40
push esi
push ebx
push ebp
push edi
call fcn.6719e36b
add esp, 0x18
push eax
call fcn.6719fb0f
jmp 0x6718ec8d
push ebp
push esi
push 0
push 2
pop ebx
push ebx
push 0x20
push edi
call fcn.6719ec17
xor ebp, ebp
lea eax, [esp + 0x34]
inc ebp
push ebp
push eax
push dword [esp + 0x48]
push dword [esp + 0x44]
push dword [esp + 0x60]
call fcn.6718d30e
push 0
push ebx
mov ebx, dword [esp + 0x4c]
push ebx
push esi
push 0x20
push edi
call fcn.6719ec17
mov eax, dword [esp + 0x80]
add esp, 0x44
push dword [eax + 0x14]
push 0x18
push edi
call fcn.6719eb3c
pop ecx
pop ecx
push eax
call fcn.6719fb0f
push edi
call fcn.6719ebb7
push eax
push dword [esp + 0x2c]
call fcn.6719dd28
add esp, 0x14
test ebx, ebx
jne case.0x6718e826.35
push ebp
push dword [esp + 0x3c]
jmp 0x6718ec88
push dword [esp + 0x24]
xor ebp, ebp
push esi
push 0
inc ebp
push ebp
push 0x20
pop esi
push esi
push edi
call fcn.6719ec17
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0
push 2
pop ebx
push ebx
push esi
push edi
call fcn.6719ec17
push ebp
push 0x40
push 0
push ebp
push 0
push ebp
push 0x262
push edi
call fcn.6719ee4b
add esp, 0x50
push 0
push edi
call fcn.6719eb3c
push eax
lea eax, [esp + 0x28]
push eax
push edi
call fcn.67187e83
push 0
push ebp
push dword [esp + 0x40]
push dword [esp + 0x34]
push esi
push edi
call fcn.6719ec17
push ebp
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x58]
push dword [esp + 0x74]
call fcn.6718d30e
mov ebp, dword [esp + 0x58]
add esp, 0x40
push 0
push ebx
push ebp
push dword [esp + 0x20]
push esi
push edi
call fcn.6719ec17
mov eax, dword [esp + 0x54]
add esp, 0x18
push dword [eax + 0x14]
push 0x18
push edi
call fcn.6719eb3c
pop ecx
pop ecx
push eax
call fcn.6719fb0f
push edi
call fcn.6719ebb7
push eax
push dword [esp + 0x2c]
call fcn.6719dd28
add esp, 0x14
test ebp, ebp
jne case.0x6718e826.35
push ebx
jmp 0x6718ea68
push ebp
push esi
push 0
push 2
pop ebx
push ebx
push 0x20
push edi
call fcn.6719ec17
push 0
push 0x40
push ebp
push esi
push 0x20
push edi
call fcn.6719ec17
mov eax, dword [esp + 0x6c]
add esp, 0x30
xor ebp, ebp
inc ebp
push dword [eax + 0x14]
push 0
push 0x40
push 0
push ebx
push ebp
push edi
call fcn.6719e36b
add esp, 0x18
push eax
call fcn.6719fb0f
push 0x18
push edi
call fcn.6719eb3c
push edi
mov esi, eax
call fcn.6719ebb7
push eax
mov eax, dword [esp + 0x54]
push dword [eax + 0x18]
call fcn.6719dd28
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0
push ebx
push 0x20
push edi
call fcn.6719ec17
mov ebx, dword [esp + 0x4c]
push 0
push 0x40
push ebx
push dword [esp + 0x54]
push 0x20
push edi
call fcn.6719ec17
mov eax, dword [esp + 0x88]
add esp, 0x4c
push dword [eax + 0x14]
push 0x18
push edi
call fcn.6719eb3c
pop ecx
pop ecx
push eax
call fcn.6719fb0f
push edi
call fcn.6719ebb7
push eax
push esi
call fcn.6719fb0f
jmp 0x6718ea5c
push ebp
push esi
push 0
push 2
pop ebx
push ebx
push 0x20
push edi
call fcn.6719ec17
push 0
push 0x40
push ebp
push esi
push 0x20
push edi
call fcn.6719ec17
xor eax, eax
push eax
push 0x40
push eax
push ebx
push eax
push edi
call fcn.6719e36b
mov ebx, dword [esp + 0x80]
add esp, 0x48
xor ebp, ebp
mov esi, eax
inc ebp
lea eax, [esp + 0x1c]
push ebp
push eax
push dword [esp + 0x30]
push dword [esp + 0x2c]
push ebx
call fcn.6718d30e
mov eax, dword [esp + 0x50]
add esp, 0x14
push dword [eax + 0x14]
push 0x18
push edi
call fcn.6719eb3c
pop ecx
pop ecx
push eax
call fcn.6719fb0f
push edi
call fcn.6719ebb7
push eax
push dword [esp + 0x2c]
call fcn.6719dd28
push edi
call fcn.6719ebb7
push eax
push esi
call fcn.6719fb0f
add esp, 0x20
cmp dword [esp + 0x18], 0
jne case.0x6718e826.35
push ebp
push ebx
call fcn.67199331
pop ecx
pop ecx
push edi
call fcn.6719ebb7
push eax
mov eax, dword [esp + 0x44]
push dword [eax + 0xc]
call fcn.6719dd28
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret