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

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x44]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
jne 0x48aa1f
cmp dword [ebx + 0x48], ebp
je 0x48aa3b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov esi, 1
mov ecx, dword [ecx + 0x110c]
push esi
push eax
call fcn.00492a70
test eax, eax
je 0x48aa3d
xor esi, esi
mov edi, dword [ebx + 0x4c]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x34]
cmp eax, dword [edx + 0x40]
je 0x48aa66
mov ecx, ebx
call fcn.0048af90
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx + 0x40]
mov dword [ebx + 0x34], edx
cmp esi, ebp
mov ecx, ebx
je 0x48af00
call fcn.0048af20
mov eax, dword [ebx + 0x4c]
lea ecx, [esp + 0x24]
push eax
call fcn.00489ae0
cmp dword [esp + 0x24], ebp
jne 0x48aaa4
lea ecx, [esp + 0x24]
call fcn.00489b40
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax + 0x78]
cmp ecx, edx
jbe 0x48aa88
cmp dword [eax + 0x7c], ebp
je 0x48aa88
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 0x44]
cmp ecx, ebp
je 0x48ab91
cmp dword [eax + 0x34], ebp
je 0x48ab91
mov byte [esp + 0x10], 1
mov ebp, 2
mov edx, dword [ebx + 0x4c]
xor eax, eax
cmp dword [edx + 0x28], 0x64
je 0x48aaf5
mov ecx, dword [ebx + 0x10]
push str.onActivity
call fcn.004529e0
neg eax
sbb eax, eax
neg eax
mov cl, byte [esp + 0x10]
test cl, cl
jne 0x48ab05
test eax, eax
je 0x48ae48
mov ecx, ebx
call fcn.0048afe0
mov ecx, dword [ebx + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0xffffffff
push eax
mov edx, dword [ecx + 0x7c]
mov ecx, dword [ebx + 0x38]
push edx
call fcn.00499690
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x48ad6a
mov eax, dword [edi + 4]
cmp word [eax + 8], bp
jne 0x48ad60
mov ecx, dword [eax + 0x4c]
call fcn.004871b0
test al, al
jne 0x48ab62
mov ecx, dword [edi + 4]
add ecx, 0x1b0
call fcn.004a1260
test al, al
je 0x48ad60
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x48ad60
mov ecx, dword [eax + 0xe8]
test ecx, ecx
jne 0x48abf7
push 0x48
call fcn.0041ec00
add esp, 4
test eax, eax
je 0x48abec
mov ecx, eax
call fcn.004996a0
jmp 0x48abee
mov esi, dword [ebx + 0x48]
mov byte [esp + 0x10], 0
cmp esi, ebp
je 0x48aad2
mov eax, dword [esi + 4]
mov ebp, 2
cmp word [eax + 8], bp
jne 0x48abd7
mov ecx, dword [eax + 0x4c]
call fcn.004871b0
test al, al
jne 0x48abcd
mov ecx, dword [esi + 4]
add ecx, 0x1b0
call fcn.004a1260
test al, al
je 0x48abd7
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x48abe2
mov esi, dword [esi]
test esi, esi
jne 0x48aba1
jmp 0x48aad7
mov byte [esp + 0x10], 1
jmp 0x48aad7
xor eax, eax
mov ecx, dword [edi + 4]
mov dword [ecx + 0xe8], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x38]
lea edx, [esp + 0x14]
mov ecx, dword [ecx + 0xe8]
push edx
push eax
call fcn.00499710
mov esi, eax
test esi, esi
je 0x48ad60
mov edx, dword [edi + 4]
mov ecx, esi
mov eax, dword [edx + 0xc]
push eax
call fcn.00488e90
xor ecx, ecx
xor edx, edx
mov ch, byte [esi + 0xf]
mov dl, byte [esi + 0xd]
mov cl, byte [esi + 0xc]
xor eax, eax
mov al, byte [esi + 0xe]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
mov ecx, dword [edi + 4]
add ecx, 0x300
call fcn.004a1750
push eax
mov ecx, esi
call fcn.00488e60
mov eax, dword [edi + 4]
xor ebp, ebp
cmp dword [eax + 0xf0], 1
jne 0x48acf4
mov ecx, dword [eax + 0xec]
test ecx, ecx
jle 0x48ace7
push 0x18
call fcn.0041ec00
add esp, 4
test eax, eax
je 0x48ac90
push 1
mov ecx, eax
call fcn.00488d50
mov ebp, eax
jmp 0x48ac92
xor ebp, ebp
push 1
mov ecx, ebp
call fcn.00488e40
xor ecx, ecx
mov byte [ebp + 8], 9
mov ch, byte [esi + 0xf]
xor edx, edx
mov cl, byte [esi + 0xc]
mov dl, byte [esi + 0xd]
shl ecx, 8
or ecx, edx
mov edx, dword [edi + 4]
xor eax, eax
mov al, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
mov eax, dword [edx + 0xec]
add ecx, eax
push ecx
mov ecx, ebp
call fcn.00488e60
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp + 0x14]
mov dl, byte [eax + 0x38]
mov byte [ecx], dl
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, ebp
call fcn.00488e90
mov edx, dword [edi + 4]
mov dword [edx + 0xf0], 2
mov ecx, dword [edi + 4]
add ecx, 0x1b0
call fcn.004a1260
test al, al
je 0x48ad2a
mov ecx, dword [edi + 4]
push esi
add ecx, 0x1b0
call fcn.004a0f40
test ebp, ebp
je 0x48ad51
mov ecx, dword [edi + 4]
push ebp
add ecx, 0x1b0
call fcn.004a0f40
jmp 0x48ad51
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x4c]
call fcn.00487190
mov ecx, dword [edi + 4]
push esi
add ecx, 0x4c
call fcn.0048db90
test ebp, ebp
je 0x48ad51
mov ecx, dword [edi + 4]
push ebp
add ecx, 0x4c
call fcn.0048db90
mov ecx, dword [edi + 4]
push 1
call fcn.0049cac0
mov ebp, 2
mov edi, dword [edi]
test edi, edi
jne 0x48ab33
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x48ad78
cmp dword [esp + 0x14], 0xffffffff
jne 0x48addb
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x48ad9b
push 0x48
call fcn.0041ec00
add esp, 4
test eax, eax
je 0x48ad96
mov ecx, eax
call fcn.004996a0
jmp 0x48ad98
xor eax, eax
mov dword [ebx + 0x40], eax
mov edx, dword [ebx + 0x38]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x40]
push edx
call fcn.00499710
mov esi, eax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x48adc7
test esi, esi
mov dword [esp + 0x20], esi
jne 0x48addb
mov dword [esp + 0x1c], 1
jmp 0x48addb
test esi, esi
je 0x48addb
mov ecx, esi
call fcn.00488db0
push esi
call fcn.0041ec10
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, 0x64
mov eax, esi
sub eax, ecx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x88888889
shl ecx, 2
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, esi
mov dword [ebx + 0x24], edx
jle 0x48ae0e
mov dword [ebx + 0x24], esi
mov eax, dword [ebx + 0x24]
test eax, eax
jge 0x48ae1c
mov dword [ebx + 0x24], 0
mov ecx, dword [ebx + 0x4c]
cmp dword [ecx + 0x28], esi
je 0x48ae44
mov edx, dword [esp + 0x30]
mov dword [edx], 1
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x24]
xor edx, edx
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x34]
cmp ecx, esi
setge dl
mov dword [eax], edx
mov edi, dword [esp + 0x18]
lea esi, [ebx + 0x48]
mov eax, dword [esi]
test eax, eax
je 0x48ae7e
mov ecx, dword [eax + 4]
cmp dword [ecx + 0xf0], ebp
je 0x48ae64
mov eax, dword [eax]
test eax, eax
je 0x48ae7e
jmp 0x48ae51
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [edx + 0xf0], 0
mov eax, dword [eax + 4]
push eax
call fcn.0048bb00
jmp 0x48ae4b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48aea5
lea ecx, [esp + 0x24]
call fcn.00489b40
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
mov esi, dword [esp + 0x20]
test esi, esi
je 0x48aec1
xor eax, eax
xor ecx, ecx
mov ah, byte [esi + 9]
mov cl, byte [esi + 0xb]
mov al, byte [esi + 0xa]
shl eax, 8
or eax, ecx
jmp 0x48aec6
mov eax, 1
mov edx, dword [ebx + 0x4c]
mov ecx, dword [edx + 0x5c]
push ecx
lea ecx, [ebx + 0x28]
mov edx, dword [edx + 0x58]
push edx
push eax
call fcn.00489740
push esi
mov ecx, ebx
call fcn.0048b1a0
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00489b40
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
call fcn.0048af90
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8