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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
jne 0x1007e7b8
cmp dword [edi + 0x48], ebx
je 0x1007e7d1
mov eax, dword [edi + 0xc]
push 1
pop esi
mov ecx, dword [eax + 0x115c]
push esi
push dword [edi + 0x10]
call fcn.10084b2d
test eax, eax
je 0x1007e7d3
xor esi, esi
mov eax, dword [edi + 0x4c]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x34]
cmp ecx, dword [eax + 0x40]
je 0x1007e7fb
mov ecx, edi
call fcn.1007ec25
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + 0x40]
mov dword [edi + 0x34], eax
cmp esi, ebx
mov ecx, edi
je 0x1007ebb2
call fcn.1007ebc9
push dword [edi + 0x4c]
lea ecx, [ebp - 0x1c]
call fcn.1007db71
cmp dword [ebp - 0x1c], ebx
jne 0x1007e827
lea ecx, [ebp - 0x1c]
call fcn.1007dbb0
jmp 0x1007ebb7
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [edi + 0x20]
jbe 0x1007e883
cmp dword [eax + 0x7c], ebx
je 0x1007e883
cmp dword [edi + 0x44], ebx
mov dword [edi + 0x20], ecx
je 0x1007e844
cmp dword [eax + 0x34], ebx
jne 0x1007e89d
and byte [ebp - 4], 0
mov esi, dword [edi + 0x48]
cmp esi, ebx
je 0x1007e8a1
mov eax, dword [esi + 4]
cmp word [eax + 8], 2
jne 0x1007e87f
mov ecx, dword [eax + 0x4c]
call fcn.1007b9e7
test al, al
jne 0x1007e877
mov ecx, dword [esi + 4]
add ecx, 0x1b0
call fcn.10090fe5
test al, al
je 0x1007e87f
mov eax, dword [esi + 4]
cmp dword [eax + 0xc], ebx
jne 0x1007e89d
mov esi, dword [esi]
jmp 0x1007e84b
xor esi, esi
lea ecx, [ebp - 0x1c]
call fcn.1007dbb0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x1007ebc2
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x4c]
xor eax, eax
cmp dword [ecx + 0x28], 0x64
je 0x1007e8bf
mov ecx, dword [edi + 0x10]
push str.onActivity
call fcn.1003ffb0
neg eax
sbb eax, eax
neg eax
cmp byte [ebp - 4], 0
jne 0x1007e8cd
cmp eax, ebx
je 0x1007eb40
mov ecx, edi
call fcn.1007ec5b
push dword [ebp - 4]
mov eax, dword [edi + 0x4c]
or dword [ebp - 8], 0xffffffff
mov ecx, dword [edi + 0x38]
push dword [eax + 0x7c]
call fcn.1008b14c
mov esi, dword [edi + 0x48]
cmp esi, ebx
je 0x1007ea97
mov eax, dword [esi + 4]
cmp word [eax + 8], 2
jne 0x1007ea90
mov ecx, dword [eax + 0x4c]
call fcn.1007b9e7
test al, al
jne 0x1007e924
mov ecx, dword [esi + 4]
add ecx, 0x1b0
call fcn.10090fe5
test al, al
je 0x1007ea90
mov eax, dword [esi + 4]
cmp dword [eax + 0xc], ebx
je 0x1007ea90
cmp dword [eax + 0xe8], ebx
jne 0x1007e958
push 0x48
call fcn.1006efdc
cmp eax, ebx
pop ecx
je 0x1007e94d
mov ecx, eax
call fcn.1008b156
jmp 0x1007e94f
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx + 0xe8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 4]
push dword [edi + 0x38]
mov ecx, dword [eax + 0xe8]
call fcn.1008b1ab
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 4], ecx
je 0x1007ea90
mov eax, dword [esi + 4]
push dword [eax + 0xc]
call fcn.1007d1f5
mov ebx, dword [esi + 4]
mov ecx, dword [ebp - 4]
add ebx, 0x300
call fcn.1007d076
push eax
mov ecx, ebx
call fcn.1009137f
mov ecx, dword [ebp - 4]
push eax
call fcn.1007d1d3
mov eax, dword [esi + 4]
xor ebx, ebx
cmp dword [eax + 0xf0], 1
jne 0x1007ea23
cmp dword [eax + 0xec], ebx
jle 0x1007ea16
push 0x18
call fcn.1006efdc
test eax, eax
pop ecx
je 0x1007e9d6
push 1
mov ecx, eax
call fcn.1007d0f0
mov ebx, eax
jmp 0x1007e9d8
xor ebx, ebx
push 1
mov ecx, ebx
call fcn.1007d1b9
mov ecx, dword [ebp - 4]
mov byte [ebx + 8], 9
call fcn.1007d076
mov ecx, dword [esi + 4]
add eax, dword [ecx + 0xec]
mov ecx, ebx
push eax
call fcn.1007d1d3
mov eax, dword [edi + 0x4c]
mov ecx, dword [ebx + 0x14]
mov al, byte [eax + 0x38]
mov byte [ecx], al
mov eax, dword [esi + 4]
mov ecx, ebx
push dword [eax + 0xc]
call fcn.1007d1f5
mov eax, dword [esi + 4]
mov dword [eax + 0xf0], 2
mov ecx, dword [esi + 4]
add ecx, 0x1b0
call fcn.10090fe5
test al, al
je 0x1007ea5b
mov ecx, dword [esi + 4]
push dword [ebp - 4]
add ecx, 0x1b0
call fcn.10090d56
test ebx, ebx
je 0x1007ea84
mov ecx, dword [esi + 4]
push ebx
add ecx, 0x1b0
call fcn.10090d56
jmp 0x1007ea84
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x4c]
call fcn.1007b9cb
mov ecx, dword [esi + 4]
push dword [ebp - 4]
add ecx, 0x4c
call fcn.10080c7c
test ebx, ebx
je 0x1007ea84
mov ecx, dword [esi + 4]
push ebx
add ecx, 0x4c
call fcn.10080c7c
mov ecx, dword [esi + 4]
push 1
call fcn.1008d91d
xor ebx, ebx
mov esi, dword [esi]
jmp 0x1007e8ec
cmp dword [edi + 0x3c], ebx
jne 0x1007eaa2
cmp dword [ebp - 8], 0xffffffff
jne 0x1007eaf9
cmp dword [edi + 0x40], ebx
jne 0x1007eac1
push 0x48
call fcn.1006efdc
cmp eax, ebx
pop ecx
je 0x1007eabc
mov ecx, eax
call fcn.1008b156
jmp 0x1007eabe
xor eax, eax
mov dword [edi + 0x40], eax
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 8]
push eax
push dword [edi + 0x38]
call fcn.1008b1ab
cmp dword [edi + 0x3c], ebx
mov esi, eax
je 0x1007eae7
cmp esi, ebx
mov dword [ebp - 0xc], esi
jne 0x1007eaf9
mov dword [ebp - 0x14], 1
jmp 0x1007eaf9
cmp esi, ebx
je 0x1007eaf9
mov ecx, esi
call fcn.1007d151
push esi
call fcn.1006efe7
pop ecx
push 0x64
pop ecx
mov eax, ecx
push 0x3c
sub eax, dword [ebp - 8]
pop esi
imul eax, eax, 0x64
cdq
idiv esi
cmp eax, ecx
mov dword [edi + 0x24], eax
jle 0x1007eb14
mov dword [edi + 0x24], ecx
cmp dword [edi + 0x24], ebx
jge 0x1007eb1c
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x4c]
cmp dword [eax + 0x28], ecx
je 0x1007eb40
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], 1
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x24]
cmp ecx, dword [eax + 0x28]
mov eax, dword [ebp + 0xc]
setge dl
mov dword [eax], edx
lea esi, [edi + 0x48]
mov eax, dword [esi]
cmp eax, ebx
je 0x1007eb6e
mov ecx, dword [eax + 4]
cmp dword [ecx + 0xf0], 2
je 0x1007eb59
mov eax, dword [eax]
jmp 0x1007eb45
mov ecx, dword [eax + 4]
mov dword [ecx + 0xf0], ebx
push dword [eax + 4]
mov ecx, esi
call fcn.1007f4bf
jmp 0x1007eb43
cmp dword [ebp - 0x14], ebx
je 0x1007eb7b
push 1
pop esi
jmp 0x1007e885
cmp dword [ebp - 0xc], ebx
je 0x1007eb8a
mov ecx, dword [ebp - 0xc]
call fcn.1007c91c
jmp 0x1007eb8d
push 1
pop eax
mov ecx, dword [edi + 0x4c]
push ecx
push ecx
fld qword [ecx + 0x58]
lea ecx, [edi + 0x28]
fstp qword [esp]
push eax
call fcn.1007d8a1
push dword [ebp - 0xc]
mov ecx, edi
call fcn.1007ed9e
mov esi, eax
jmp 0x1007e885
call fcn.1007ec25
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8