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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x180fd00c]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.18005c3b
xor ebx, ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], bl
call fcn.18005c3b
mov eax, dword [edi + 8]
mov esi, ebx
mov ecx, dword [edi + 4]
sub eax, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
cmp eax, 8
jb 0x18067f16
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [ecx + esi*8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
js 0x18067f06
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*8]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [esp + 0x14]
call fcn.18005bdc
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*8]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
call dword [eax + 8]
movzx eax, al
lea ecx, [esp + 0x38]
push eax
call fcn.18068ea7
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov eax, dword [edi + 8]
inc esi
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 3
cmp esi, eax
jne 0x18067ea6
mov ecx, dword [esp + 0x30]
lea ecx, [ecx - 0x10]
call fcn.180060dc
lea ecx, [eax + 0x10]
mov esi, dword [ecx - 0xc]
add ecx, 0xfffffff0
call fcn.18003140
test esi, esi
jne 0x18067f3e
mov ebx, 0x80004005
jmp 0x18068041
cmp dword [esp + 0x34], 0x17
ja 0x1806803c
cmp dword [esp + 0x38], 0x3b
ja 0x1806803c
cmp dword [esp + 0x3c], 0x3c0
ja 0x1806803c
push dword [esp + 0x14]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.18068e1f
push ebx
call fcn.180cc262
pop ecx
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x5c]
push 9
xor eax, eax
mov dword [esp + 0x24], edx
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.180cbd74
pop ecx
pop ecx
test eax, eax
jne 0x18067fc2
push 9
pop ecx
lea esi, [esp + 0x80]
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x18]
push dword [esp + 0x60]
inc eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x88]
add eax, 0x76c
push eax
call 0x1806584b
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
push 0x3c
pop ecx
imul ecx
mov ecx, dword [esp + 0x14]
add eax, ecx
adc edx, dword [esp + 0x18]
cmp esi, dword [esp + 0x18]
jl 0x18068027
jg 0x18068017
cmp dword [esp + 0x1c], ecx
jb 0x18068027
cmp esi, edx
jg 0x18068027
jl 0x18068023
cmp dword [esp + 0x1c], eax
ja 0x18068027
mov al, 1
jmp 0x18068029
mov al, bl
mov ecx, dword [esp + 0x54]
lea esi, [esp + 0x34]
mov edi, dword [esp + 0x58]
mov byte [ecx], al
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x18068041
mov ebx, 0x8000ffff
lea ecx, [esp + 0x30]
call fcn.18068063
mov ecx, dword [esp + 0xa4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.180a61d8
mov esp, ebp
pop ebp
ret 0xc