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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x868], ebx
push edi
mov edi, dword [esi + 0x44c]
sete al
cmp dword [0x102705c], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x7c]
mov dword [ebp - 4], eax
jne 0x10160c0
push dword [edi + 0x80]
lea eax, [ebp - 4]
push eax
push dword [edi + 0x1c]
xor eax, eax
push dword [edi + 0x78]
mov ax, word [edi + 0x24]
push dword [edi + 0x74]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 + 0x6c]
call fcn.01014176
test eax, eax
je 0x101618b
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x2e8]
call fcn.01011a47
test eax, eax
jl 0x101618b
push dword [esi + 0x890]
mov ecx, dword [ebp + 8]
push 0x17
call fcn.0101131f
xor eax, eax
cmp dword [ebp - 4], ebx
mov dword [ebp + 0xc], eax
ja 0x10145a0
cmp dword [edi + 0x78], ebx
mov dword [ebp + 0xc], ebx
jbe 0x10142f8
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x74]
cmp dword [eax + ecx + 0x14], 0xffffffff
je 0x10142e4
add eax, ecx
push dword [eax + 0x38]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.0101412a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x3c
cmp ecx, dword [edi + 0x78]
mov dword [ebp - 8], eax
jb 0x10142c8
mov ecx, dword [ebp + 8]
push 0x17
call fcn.01011830
mov ecx, dword [eax]
mov dword [ebp + 0xc], ebx
lea eax, [esi + 0x468]
mov edx, 0x80
cmp dword [eax], ecx
je 0x1014321
inc dword [ebp + 0xc]
add eax, 8
cmp dword [ebp + 0xc], edx
jb 0x1014312
cmp dword [ebp + 0xc], edx
je 0x1016176
mov ecx, dword [ebp + 8]
push 0x17
call fcn.01011830
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
cmp dword [0x102705c], ebx
jne 0x1016195
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011830
mov ecx, dword [ebp + 8]
mov edi, dword [eax]
push 1
call fcn.01011830
mov eax, dword [eax]
push dword [esi + 0x88c]
mov dword [ebp - 0x18], eax
push dword [esi + 0x888]
lea eax, [esi + 0x150]
push eax
mov eax, dword [esi + 0xb4]
and eax, 1
push eax
mov ecx, esi
mov dword [ebp - 0x1c], edi
call fcn.01010e43
push eax
mov ecx, esi
call fcn.01010e24
push eax
lea eax, [esi + 0x94]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x11c]
push dword [esi + 0x114]
call fcn.0101440c
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011830
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
push 1
call fcn.01011830
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
call fcn.01011316
push eax
mov ecx, esi
call fcn.010118e8
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011316
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.01011458
mov ecx, dword [ebp - 0x10]
mov edi, eax
lea eax, [esi + 0x464]
cmp ecx, dword [eax]
jne 0x10161c2
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
push 3
pop ebx
mov ecx, dword [edi + 0x80]
movzx eax, word [ecx + eax*2]
sub eax, 0x32
je 0x101615e
sub eax, 0xa
je 0x1016124
sub eax, 6
jne 0x1014a01
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011830
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 8], eax
call fcn.01011830
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
or ecx, 1
push 1
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
push 0x2c
call fcn.0101131f
mov ecx, dword [ebp + 8]
push 0x20
push 0x17
call fcn.0101131f
mov dword [esi + 0x890], 0x20
mov eax, dword [ebp + 0xc]
inc eax
cmp eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
jb 0x10145a3
xor ebx, ebx
jmp 0x10142bb
dec eax
je 0x1014a3b
dec eax
jne 0x10160db
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011830
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 8], eax
call fcn.01011830
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
or ecx, 8
push 1
mov dword [eax], ecx
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.0101131f
jmp 0x1014609
push 1
push 0x2d
jmp 0x1014a2e
push dword [edi + 0x1c]
xor eax, eax
mov ax, word [edi + 0x24]
push eax
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 + 0x6c]
call fcn.0101b2a7
jmp 0x1014257
dec eax
je 0x10160ee
dec eax
jne 0x1014609
push 1
push 0x2f
jmp 0x1014a2e
mov ecx, dword [ebp + 8]
push 1
push 0x2c
call fcn.0101131f
mov ecx, dword [ebp + 8]
push 0x45
push 0x17
call fcn.0101131f
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011830
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 8], eax
call fcn.01011830
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
or ecx, ebx
jmp 0x101614d
mov ecx, dword [ebp + 8]
push 0x45
push 0x17
call fcn.0101131f
mov ecx, dword [ebp + 8]
push ebx
call fcn.01011830
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 8], eax
call fcn.01011830
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
or ecx, 2
mov dword [eax], ecx
mov dword [esi + 0x890], 0x45
jmp 0x1014609
mov ecx, dword [ebp + 8]
push 1
push 0x21
call fcn.0101131f
mov dword [ebp - 0x10], 1
jmp 0x1014609
lea eax, [ebp + 0xc]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0101c6b5
test eax, eax
jge 0x101432a
mov eax, 0x80004005
jmp 0x1014400
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp + 8]
push 0x3c
call fcn.01011830
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.01011830
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x1014345
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [eax], ecx
cmp ecx, ebx
mov ecx, esi
je 0x1016213
push 0x2c3
call fcn.010081a3
cmp dword [esi + 0x868], ebx
jne 0x10143fe
mov esi, dword [esi + 0x86c]
cmp esi, ebx
je 0x10143fe
or dword [ebp - 0x10], 0xffffffff
push ebx
push ebx
push ebx
push 0x32
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x14], 0xff676980
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
jmp 0x10143fe
push 0x2c4
call fcn.010081a3
push dword [esi + 0x86c]
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
mov dword [esi + 0x890], 0x20
jmp 0x10143fe