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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x73e040]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
mov eax, ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [eax + 0xf0]
mov edx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ebx
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x50], eax
mov cl, byte [ebx + 9]
test cl, 0x20
je 0x6812a5
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x30]
mov dword [edi + 0x44], eax
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x4c], ecx
mov ecx, 0x71501c
mov dword [edi + 0x48], eax
movzx eax, byte [ebx + 0xa]
cmp eax, 3
jbe 0x681288
add esi, 0x30
lea edi, [esp + 0xa0]
push 4
pop edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, edx
jbe 0x681255
lea edx, [ebx + 0x70]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0xb0]
mov ebx, dword [esp + 0x10]
lea edx, [eax - 4]
mov dword [esp + 0x14], edx
mov edx, eax
mov eax, dword [esp + 0x14]
mov esi, ebx
mov edi, ecx
add ebx, 0x10
add ecx, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, 1
jne 0x681239
mov ebx, dword [esp + 0xc]
cmp edx, 6
jae 0x68127a
mov eax, edx
lea ecx, [esp + 0x78]
shl eax, 4
add eax, ecx
push 6
pop ecx
sub ecx, edx
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax], edx
lea eax, [eax + 0x10]
mov dword [eax - 0xc], edx
sub ecx, 1
jne 0x681267
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xa0]
lea esi, [ebx + 0x30]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov edx, dword [eax + 0x18]
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebx + 0x20]
call edx
xor esi, esi
jmp 0x6813ef
mov al, byte [ebx + 8]
test cl, 0x40
je 0x681300
mov edx, dword [edi]
mov ecx, dword [ebx + 0x20]
cmp al, 8
jne 0x6812dd
lea eax, [ebx + 0x28]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
push eax
mov ecx, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [edx + 0x2c]
jmp 0x6813ef
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
push eax
mov ecx, edi
mov dword [esp + 0x34], 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [edx + 0x14]
jmp 0x6813ef
cmp al, 4
jne 0x681319
mov eax, dword [edi]
push dword [ebx + 0x20]
mov edx, dword [eax + 0x20]
mov al, byte [ebx + 0xa]
push eax
mov ecx, edi
call edx
jmp 0x6813ef
cmp al, 5
jne 0x681348
mov eax, dword [edi]
lea ecx, [ebx + 0x28]
mov edx, dword [eax + 0x28]
movzx eax, byte [ebx + 0xb]
imul eax, dword [ebx + 0x20]
cmp eax, 0x58
jbe 0x681334
mov ecx, dword [ecx]
push dword [ebx + 0x24]
mov al, byte [ebx + 0xa]
push dword [ebx + 0x20]
push ecx
push eax
mov ecx, edi
call edx
jmp 0x6813ef
cmp al, 6
jne 0x681371
mov eax, dword [edi]
push dword [ebx + 0x24]
mov dword [esp + 0x44], 4
mov dword [esp + 0x4c], esi
mov edx, dword [eax + 0x30]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x50], esi
jmp 0x68130f
cmp al, 7
jne 0x6813b6
mov eax, dword [edi]
push 4
pop ecx
push dword [ebx + 0x28]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
mov ecx, edi
push eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call edx
jmp 0x6813ef
cmp al, 2
jne 0x6813df
mov eax, dword [edi]
push dword [ebx + 0x20]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
add ecx, 0x84
call fcn.0067e4fd
mov ecx, edi
push dword [eax]
call esi
jmp 0x68129e
cmp al, 9
jne 0x6813f5
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call dword [eax + 0x38]
mov edx, eax
test edx, edx
jne 0x681404
mov ebx, dword [ebx + 4]
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x6811cc
mov ecx, dword [esp + 0xd4]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006dd431
mov esp, ebp
pop ebp
ret 4