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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x20], edi
cmp eax, edi
mov dword [esp + 0x1c], edi
jne 0x46aeef
cmp dword [ebx + 0x4c], edi
je 0x46af0b
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, 1
mov ecx, dword [ecx + 0xfe8]
push esi
push eax
call fcn.004716c0
test eax, eax
je 0x46af0d
xor esi, esi
mov ebp, dword [ebx + 0x50]
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x38]
cmp eax, dword [edx + 0x40]
je 0x46af36
mov ecx, ebx
call fcn.0046b430
mov ecx, dword [ebx + 0x50]
mov edx, dword [ecx + 0x40]
mov dword [ebx + 0x38], edx
cmp esi, edi
mov ecx, ebx
je 0x46b39d
call fcn.0046b3c0
mov eax, dword [ebx + 0x50]
lea ecx, [esp + 0x24]
push eax
call fcn.00469f80
cmp dword [esp + 0x24], edi
jne 0x46af74
lea ecx, [esp + 0x24]
call fcn.00469fe0
push ebp
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 + 0x50]
mov edx, dword [ebx + 0x24]
mov ecx, dword [eax + 0x78]
cmp ecx, edx
jbe 0x46af58
cmp dword [eax + 0x7c], edi
je 0x46af58
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebx + 0x48]
cmp ecx, edi
je 0x46b061
cmp dword [eax + 0x34], edi
je 0x46b061
mov byte [esp + 0x10], 1
mov edi, 2
mov edx, dword [ebx + 0x50]
xor eax, eax
cmp dword [edx + 0x28], 0x64
je 0x46afc5
mov ecx, dword [ebx + 0x14]
push str.onActivity
call fcn.0043c220
neg eax
sbb eax, eax
neg eax
mov cl, byte [esp + 0x10]
test cl, cl
jne 0x46afd5
test eax, eax
je 0x46b2e5
mov ecx, ebx
call fcn.0046b480
mov ecx, dword [ebx + 0x50]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0xffffffff
push eax
mov edx, dword [ecx + 0x7c]
mov ecx, dword [ebx + 0x3c]
push edx
call fcn.00476950
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x46b20b
mov eax, dword [esi + 4]
cmp word [eax + 8], di
jne 0x46b201
mov ecx, dword [eax + 0x4c]
call fcn.00467700
test al, al
jne 0x46b032
mov ecx, dword [esi + 4]
add ecx, 0x180
call fcn.0047c9a0
test al, al
je 0x46b201
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x46b201
mov ecx, dword [eax + 0xb4]
test ecx, ecx
jne 0x46b0c7
push 0x48
call fcn.00416550
add esp, 4
test eax, eax
je 0x46b0bc
mov ecx, eax
call fcn.00476960
jmp 0x46b0be
mov esi, dword [ebx + 0x4c]
mov byte [esp + 0x10], 0
cmp esi, edi
je 0x46afa2
mov eax, dword [esi + 4]
mov edi, 2
cmp word [eax + 8], di
jne 0x46b0a7
mov ecx, dword [eax + 0x4c]
call fcn.00467700
test al, al
jne 0x46b09d
mov ecx, dword [esi + 4]
add ecx, 0x180
call fcn.0047c9a0
test al, al
je 0x46b0a7
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x46b0b2
mov esi, dword [esi]
test esi, esi
jne 0x46b071
jmp 0x46afa7
mov byte [esp + 0x10], 1
jmp 0x46afa7
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx + 0xb4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x3c]
lea edx, [esp + 0x14]
mov ecx, dword [ecx + 0xb4]
push edx
push eax
call fcn.004769d0
mov ebp, eax
test ebp, ebp
je 0x46b1fd
mov edx, dword [esi + 4]
mov ecx, ebp
mov eax, dword [edx + 0xc]
push eax
call fcn.004692d0
mov eax, dword [esi + 4]
xor edi, edi
cmp dword [eax + 0xc0], 1
jne 0x46b191
mov ecx, dword [eax + 0xbc]
test ecx, ecx
jle 0x46b184
push 0x18
call fcn.00416550
add esp, 4
test eax, eax
je 0x46b12d
push 1
mov ecx, eax
call fcn.00469190
mov edi, eax
jmp 0x46b12f
xor edi, edi
push 1
mov ecx, edi
call fcn.00469280
xor ecx, ecx
mov byte [edi + 8], 9
mov ch, byte [ebp + 0xf]
xor edx, edx
mov cl, byte [ebp + 0xc]
mov dl, byte [ebp + 0xd]
shl ecx, 8
or ecx, edx
mov edx, dword [esi + 4]
xor eax, eax
mov al, byte [ebp + 0xe]
shl ecx, 8
or ecx, eax
mov eax, dword [edx + 0xbc]
add ecx, eax
push ecx
mov ecx, edi
call fcn.004692a0
mov eax, dword [ebx + 0x50]
mov ecx, dword [edi + 0x14]
mov dl, byte [eax + 0x38]
mov byte [ecx], dl
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, edi
call fcn.004692d0
mov edx, dword [esi + 4]
mov dword [edx + 0xc0], 2
mov ecx, dword [esi + 4]
add ecx, 0x180
call fcn.0047c9a0
test al, al
je 0x46b1c7
mov ecx, dword [esi + 4]
push ebp
add ecx, 0x180
call fcn.0047c680
test edi, edi
je 0x46b1ee
mov ecx, dword [esi + 4]
push edi
add ecx, 0x180
call fcn.0047c680
jmp 0x46b1ee
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x4c]
call fcn.004676e0
mov ecx, dword [esi + 4]
push ebp
add ecx, 0x4c
call fcn.0046d490
test edi, edi
je 0x46b1ee
mov ecx, dword [esi + 4]
push edi
add ecx, 0x4c
call fcn.0046d490
mov ecx, dword [esi + 4]
push 1
call fcn.00479490
mov edi, 2
mov ebp, dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
jne 0x46b003
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x46b219
cmp dword [esp + 0x14], 0xffffffff
jne 0x46b27c
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x46b23c
push 0x48
call fcn.00416550
add esp, 4
test eax, eax
je 0x46b237
mov ecx, eax
call fcn.00476960
jmp 0x46b239
xor eax, eax
mov dword [ebx + 0x44], eax
mov edx, dword [ebx + 0x3c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x44]
push edx
call fcn.004769d0
mov esi, eax
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x46b268
test esi, esi
mov dword [esp + 0x20], esi
jne 0x46b27c
mov dword [esp + 0x1c], 1
jmp 0x46b27c
test esi, esi
je 0x46b27c
mov ecx, esi
call fcn.004691f0
push esi
call fcn.00416560
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 + 0x28], edx
jle 0x46b2af
mov dword [ebx + 0x28], esi
mov eax, dword [ebx + 0x28]
test eax, eax
jge 0x46b2bd
mov dword [ebx + 0x28], 0
mov ecx, dword [ebx + 0x50]
cmp dword [ecx + 0x28], esi
je 0x46b2e5
mov edx, dword [esp + 0x30]
mov dword [edx], 1
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x28]
xor edx, edx
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x34]
cmp ecx, esi
setge dl
mov dword [eax], edx
lea esi, [ebx + 0x4c]
mov eax, dword [esi]
test eax, eax
je 0x46b31b
mov ecx, dword [eax + 4]
cmp dword [ecx + 0xc0], edi
je 0x46b301
mov eax, dword [eax]
test eax, eax
je 0x46b31b
jmp 0x46b2ee
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [edx + 0xc0], 0
mov eax, dword [eax + 4]
push eax
call fcn.0046be30
jmp 0x46b2e8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46b342
lea ecx, [esp + 0x24]
call fcn.00469fe0
push ebp
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 0x46b35e
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 0x46b363
mov eax, 1
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 0x5c]
push ecx
lea ecx, [ebx + 0x2c]
mov edx, dword [edx + 0x58]
push edx
push eax
call fcn.00469b10
push esi
mov ecx, ebx
call fcn.0046b610
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00469fe0
push ebp
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.0046b430
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8