Function at 0x10105f77
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 0x10105faa
cmp eax, 0x1b1
je 0x10105faa
cmp eax, 0x164
je 0x10105faa
xor eax, eax
jmp 0x1010622b
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 0x10105fe0
xor eax, eax
inc eax
mov esi, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], esi
jmp 0x10105fe4
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
push ebx
call fcn.10105b02
sub eax, 0x16
je 0x10106065
sub eax, 0x12
je 0x1010605e
dec eax
je 0x10106049
sub eax, 0x140
je 0x1010601a
sub eax, 0x4c
je 0x101060b2
test esi, esi
jne 0x10105fe8
cmp dword [esp + 0x74], esi
je 0x10105fe8
jmp 0x10106232
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.100d6ff9
test eax, eax
jne 0x101060c1
test esi, esi
jne 0x10105fe8
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 0x10105fe8
dec esi
mov dword [esp + 0x68], esi
jns 0x10105fe8
test edi, edi
je 0x10105fe8
push 0xffffe06e
jmp 0x10106237
inc esi
mov dword [esp + 0x68], esi
jmp 0x10105fe8
test esi, esi
jle 0x1010606d
test edi, edi
jne 0x101060d0
test edi, edi
jne 0x101060ec
cmp dword [esp + 0x74], edi
je 0x101060da
cmp dword [ebx + 0x20], 1
jne 0x10106232
mov eax, dword [ebx + 0x18]
cmp word [eax], 0x29
jne 0x10106232
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.10105b02
xor edx, edx
jmp 0x10105fb5
push 0xffffe038
push 0xfffffc17
jmp 0x1010623c
push 0xffffe038
push 0xfffff254
jmp 0x1010623c
push 0xffffe06d
jmp 0x10106237
push 0xa
pop ecx
lea esi, [esp + 0x3c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x10106228
push 0xa
pop ecx
lea esi, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.1010440c
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x78], 0x10010474
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.101054cb
push ebp
call fcn.1010440c
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.101054cb
push ebx
call fcn.10105b02
push ebp
mov esi, eax
call fcn.1010440c
cmp esi, 0x106
je 0x10106172
or dword [ebp + 0x14], 2
jmp 0x1010617a
push ebx
call fcn.10105b02
mov esi, eax
or dword [ebp + 0x14], edi
push ebp
call fcn.1010440c
cmp esi, 0x28
mov dword [ebp + 0x78], 0x10010494
push 0
mov dword [ebp + 0x94], 0xa
mov eax, dword [ebx + 0x14]
pop esi
mov dword [ebp + 0x7c], eax
cmove esi, edi
jmp 0x101061d6
mov ecx, edi
sub ecx, 0x16
je 0x101061e5
sub ecx, 0x12
je 0x101061d5
dec ecx
je 0x101061cc
sub ecx, 0x12
je 0x101061c6
sub ecx, 0x113
je 0x101061c6
sub ecx, 0x24
jne 0x101061d6
test esi, esi
je 0x101061ed
jmp 0x101061d6
dec esi
js 0x10106054
jmp 0x101061d6
inc esi
push ebx
call fcn.10105b02
mov edi, eax
cmp edi, 0x16
jne 0x101061a5
jmp 0x101061ed
test esi, esi
jg 0x101060d0
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.101054cb
cmp edi, 0x14e
jne 0x10106226
xor eax, eax
inc eax
push eax
push ebx
push ebp
push dword [esp + 0x78]
call fcn.101036b6
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.101043d1
int3