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

Disassembly:
sub esp, 0x54
push edi
xor edx, edx
lea edi, [esp + 0xc]
push 9
xor eax, eax
mov dword [esp + 0xc], edx
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0x28
je 0x10106c9b
cmp eax, 0x1b1
je 0x10106c9b
cmp eax, 0x164
je 0x10106c9b
xor eax, eax
jmp 0x10106f1c
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov dword [esp + 0x68], edx
mov esi, ebx
mov dword [esp + 0x70], edx
lea edi, [esp + 0x3c]
mov dword [esp + 0x74], edx
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp eax, 0x28
jne 0x10106cd1
xor eax, eax
inc eax
mov esi, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], esi
jmp 0x10106cd5
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
push ebx
call fcn.101067f3
sub eax, 0x16
je 0x10106d56
sub eax, 0x12
je 0x10106d4f
dec eax
je 0x10106d3a
sub eax, 0x140
je 0x10106d0b
sub eax, 0x4c
je 0x10106da3
test esi, esi
jne 0x10106cd9
cmp dword [esp + 0x74], esi
je 0x10106cd9
jmp 0x10106f23
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.100d7cea
test eax, eax
jne 0x10106db2
test esi, esi
jne 0x10106cd9
push 0xa
pop ecx
mov esi, ebx
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x68]
xor edi, edi
inc edi
and dword [esp + 0x74], eax
jmp 0x10106cd9
dec esi
mov dword [esp + 0x68], esi
jns 0x10106cd9
test edi, edi
je 0x10106cd9
push 0xffffe06e
jmp 0x10106f28
inc esi
mov dword [esp + 0x68], esi
jmp 0x10106cd9
test esi, esi
jle 0x10106d5e
test edi, edi
jne 0x10106dc1
test edi, edi
jne 0x10106ddd
cmp dword [esp + 0x74], edi
je 0x10106dcb
cmp dword [ebx + 0x20], 1
jne 0x10106f23
mov eax, dword [ebx + 0x18]
cmp word [eax], 0x29
jne 0x10106f23
push 0x20
pop edx
push 0xa
mov word [eax], dx
lea esi, [esp + 0x40]
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x14]
push ebx
mov word [eax], dx
call fcn.101067f3
xor edx, edx
jmp 0x10106ca6
push 0xffffe038
push 0xfffffc17
jmp 0x10106f2d
push 0xffffe038
push 0xfffff254
jmp 0x10106f2d
push 0xffffe06d
jmp 0x10106f28
push 0xa
pop ecx
lea esi, [esp + 0x3c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x10106f19
push 0xa
pop ecx
lea esi, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.101050fd
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x78], 0x100106b4
mov dword [ebp + 0x94], 0xa
mov dword [ebp + 0x7c], ecx
mov eax, dword [ebx + 0x14]
push 5
sub eax, ecx
push ebp
push dword [esp + 0x74]
sar eax, 1
mov dword [ebp + 0x98], eax
call fcn.101061bc
push ebp
call fcn.101050fd
push 9
pop eax
xor edi, edi
mov dword [esp + 0x10], eax
inc edi
mov dword [ebp + 0x18], eax
push edi
push ebp
push dword [esp + 0x74]
lea eax, [esp + 0x1c]
mov dword [ebp + 0x80], eax
call fcn.101061bc
push ebx
call fcn.101067f3
push ebp
mov esi, eax
call fcn.101050fd
cmp esi, 0x106
je 0x10106e63
or dword [ebp + 0x14], 2
jmp 0x10106e6b
push ebx
call fcn.101067f3
mov esi, eax
or dword [ebp + 0x14], edi
push ebp
call fcn.101050fd
cmp esi, 0x28
mov dword [ebp + 0x78], 0x100106e0
push 0
mov dword [ebp + 0x94], 0xa
mov eax, dword [ebx + 0x14]
pop esi
mov dword [ebp + 0x7c], eax
cmove esi, edi
jmp 0x10106ec7
mov ecx, edi
sub ecx, 0x16
je 0x10106ed6
sub ecx, 0x12
je 0x10106ec6
dec ecx
je 0x10106ebd
sub ecx, 0x12
je 0x10106eb7
sub ecx, 0x113
je 0x10106eb7
sub ecx, 0x24
jne 0x10106ec7
test esi, esi
je 0x10106ede
jmp 0x10106ec7
dec esi
js 0x10106d45
jmp 0x10106ec7
inc esi
push ebx
call fcn.101067f3
mov edi, eax
cmp edi, 0x16
jne 0x10106e96
jmp 0x10106ede
test esi, esi
jg 0x10106dc1
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
push 5
push ebp
push dword [esp + 0x74]
lea eax, [eax + ecx*2]
sub eax, dword [ebp + 0x7c]
sar eax, 1
mov dword [ebp + 0x98], eax
call fcn.101061bc
cmp edi, 0x14e
jne 0x10106f17
xor eax, eax
inc eax
push eax
push ebx
push ebp
push dword [esp + 0x78]
call fcn.101043a7
mov edi, eax
mov eax, edi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x54
ret 0x10
push 0xffffe012
push 0xfffff234
push ebx
push ebp
call fcn.101050c2
int3