Function at 0x1010617a
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 0x101061ad
cmp eax, 0x1b1
je 0x101061ad
cmp eax, 0x164
je 0x101061ad
xor eax, eax
jmp 0x1010642e
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 0x101061e3
xor eax, eax
inc eax
mov esi, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], esi
jmp 0x101061e7
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
push ebx
call 0x1018df77
sub eax, 0x16
je 0x10106268
sub eax, 0x12
je 0x10106261
dec eax
je 0x1010624c
sub eax, 0x140
je 0x1010621d
sub eax, 0x4c
je 0x101062b5
test esi, esi
jne 0x101061eb
cmp dword [esp + 0x74], esi
je 0x101061eb
jmp 0x10106435
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.100d71fc
test eax, eax
jne 0x101062c4
test esi, esi
jne 0x101061eb
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 0x101061eb
dec esi
mov dword [esp + 0x68], esi
jns 0x101061eb
test edi, edi
je 0x101061eb
push 0xffffe06e
jmp 0x1010643a
inc esi
mov dword [esp + 0x68], esi
jmp 0x101061eb
test esi, esi
jle 0x10106270
test edi, edi
jne 0x101062d3
test edi, edi
jne 0x101062ef
cmp dword [esp + 0x74], edi
je 0x101062dd
cmp dword [ebx + 0x20], 1
jne 0x10106435
mov eax, dword [ebx + 0x18]
cmp word [eax], 0x29
jne 0x10106435
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.10105d05
xor edx, edx
jmp 0x101061b8
push 0xffffe038
push 0xfffffc17
jmp 0x1010643f
push 0xffffe038
push 0xfffff254
jmp 0x1010643f
push 0xffffe06d
jmp 0x1010643a
push 0xa
pop ecx
lea esi, [esp + 0x3c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x1010642b
push 0xa
pop ecx
lea esi, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.1010460f
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x78], 0x100105a8
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.101056ce
push ebp
call fcn.1010460f
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.101056ce
push ebx
call fcn.10105d05
push ebp
mov esi, eax
call fcn.1010460f
cmp esi, 0x106
je 0x10106375
or dword [ebp + 0x14], 2
jmp 0x1010637d
push ebx
call fcn.10105d05
mov esi, eax
or dword [ebp + 0x14], edi
push ebp
call fcn.1010460f
cmp esi, 0x28
mov dword [ebp + 0x78], 0x100105c8
push 0
mov dword [ebp + 0x94], 0xa
mov eax, dword [ebx + 0x14]
pop esi
mov dword [ebp + 0x7c], eax
cmove esi, edi
jmp 0x101063d9
mov ecx, edi
sub ecx, 0x16
je 0x101063e8
sub ecx, 0x12
je 0x101063d8
dec ecx
je 0x101063cf
sub ecx, 0x12
je 0x101063c9
sub ecx, 0x113
je 0x101063c9
sub ecx, 0x24
jne 0x101063d9
test esi, esi
je 0x101063f0
jmp 0x101063d9
dec esi
js 0x10106257
jmp 0x101063d9
inc esi
push ebx
call fcn.10105d05
mov edi, eax
cmp edi, 0x16
jne 0x101063a8
jmp 0x101063f0
test esi, esi
jg 0x101062d3
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.101056ce
cmp edi, 0x14e
jne 0x10106429
xor eax, eax
inc eax
push eax
push ebx
push ebp
push dword [esp + 0x78]
call fcn.101038b9
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.101045d4
int3