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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], edi
call fcn.101bb140
test al, al
jne 0x101bb61f
push 0x1025c02a
push 0x208
call fcn.101c85a0
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x101bb66a
mov eax, dword [edi + 0x70]
test eax, eax
je 0x101bb653
lea esi, [edi + 0x78]
test esi, esi
je 0x101bb637
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x70]
push eax
mov dword [edi + 0x90], 4
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x101bb653
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x44], 0x208
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x101bb8c9
push ebx
mov ecx, edi
lea ebx, [eax + 0x10]
call fcn.101bb140
test al, al
jne 0x101bb8c8
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov dword [ebp - 0x30], 0
jb 0x101bb6a5
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x40]
lea edi, [ebp - 0x30]
push edi
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x44]
mov edi, dword [ebp - 0x34]
test eax, eax
jne 0x101bb8b5
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x101bb8b5
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 0x30]
test eax, eax
jne 0x101bb8ad
cmp dword [ebp - 0x2c], eax
je 0x101bb8ad
mov eax, dword [edi + 0x6c]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
cmp eax, 2
jne 0x101bb745
push 0x14
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x101bb829
mov dword [eax + 4], 0
mov dword [eax], vtable.st_url_info_adware.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 0xc], eax
jmp 0x101bb830
cmp eax, 1
jne 0x101bb7ee
push 0xa8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x101bb829
mov dword [eax + 4], 0
xor ecx, ecx
mov dword [eax], vtable.st_url_info_active.0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 7
mov word [eax + 0x10], cx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], 7
mov word [eax + 0x28], cx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], 7
mov word [eax + 0x40], cx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 7
mov word [eax + 0x58], cx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x84], ecx
mov dword [eax + 0x88], 7
mov word [eax + 0x74], cx
mov dword [eax + 0x9c], ecx
mov dword [eax + 0xa0], 7
mov word [eax + 0x8c], cx
mov dword [eax + 0xa4], ecx
mov dword [ebp - 0xc], eax
jmp 0x101bb830
push 0x24
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x101bb829
mov dword [eax + 4], 0
xor ecx, ecx
mov dword [eax], vtable.st_url_info_url.0
mov dword [eax + 8], 1
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 7
mov word [eax + 0xc], cx
mov dword [ebp - 0xc], eax
jmp 0x101bb830
mov dword [ebp - 0xc], 0
push dword [ebx + 0x18]
lea ecx, [ebp - 0x28]
call fcn.100a6940
mov eax, dword [ebx + 0x18]
mov ecx, edi
mov eax, dword [eax + 0x60]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.101bc210
mov ecx, dword [ebp - 0x2c]
mov bl, al
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
call dword [edx + 4]
test bl, bl
je 0x101bb8a3
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x28]
add edi, 0x18
push ecx
push eax
cmp dword [edi + 8], eax
je 0x101bb899
push edi
call fcn.101ba070
add dword [edi + 4], 0x24
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x34]
add esp, 0xc
call fcn.101ba2a0
jmp 0x101bb8b5
mov ecx, edi
call fcn.101b9900
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.101ba2a0
jmp 0x101bb8b5
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.10014d60
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x101bb682
pop ebx
push dword [ebp - 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov eax, dword [edi + 0x70]
add esp, 4
test eax, eax
je 0x101bb908
lea esi, [edi + 0x78]
test esi, esi
je 0x101bb8ec
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x70]
push eax
mov dword [edi + 0x90], 4
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x101bb908
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8