Function at 0x100fa860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ecx + 4]
push ebx
push esi
push edi
test ecx, ecx
je 0x100fa886
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
jmp 0x100fa88b
mov edi, 0x10202940
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], eax
test edi, edi
jne 0x100fa8a8
xor edx, edx
mov dword [ebp - 0x118], edx
jmp 0x100fa979
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fa8b0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
lea ebx, [esi*4]
mov dword [ebp - 0x204], esi
cmp ebx, 0x80
jle 0x100fa8e4
push 1
push ebx
call sub.msvcrt.dll_calloc
add esp, 8
jmp 0x100fa8ea
lea eax, [ebp - 0x114]
push 0
push 0
push ebx
push eax
push esi
push edi
push 0
push 3
mov dword [ebp - 0x118], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x100fa96b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100fa96b
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push esi
push edi
push 0
push 3
call ebx
mov esi, eax
lea eax, [ebp - 0x114]
push 0x80
push eax
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.10007c90
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x118]
push dword [ebp - 0x204]
push edi
push 0
push 3
call ebx
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x100faf12
mov edx, dword [ebp - 0x118]
mov ecx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fa990
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.10006fc0
cmp dword [ebp + 0xc], 0
mov edx, str.homepage1
jne 0x100fa9b3
mov edx, str.homepage2
mov ecx, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fa9d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.10006fc0
push 8
push str.antiware
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.10006fc0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x164]
call fcn.1000b980
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1000b980
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x134]
call fcn.1000b980
mov edx, dword [ebp - 8]
mov dword [ebp - 0x11c], 0
cmp edx, 0x10
jb 0x100faa6f
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100faa65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100faf31
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x100faab5
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100faaab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100faf31
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x100faafb
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100faaf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100faf31
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp eax, ecx
je 0x100fab26
push eax
call sub.msvcrt.dll_free
add esp, 4
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
call fcn.10027230
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x84], 0
push eax
push 0x10202940
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.100070c0
xor eax, eax
mov dword [ebp - 0x6c], 0
push eax
push 0x10202940
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.100070c0
xor eax, eax
mov dword [ebp - 0x54], 0
push eax
push 0x10202940
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.100070c0
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x200]
call fcn.100a6630
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1b4], ecx
lea ecx, [ebp - 0x1b0]
push eax
call fcn.100a6550
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x210]
call fcn.100f9910
push eax
add eax, 0x10
lea ecx, [ebp - 0x210]
push eax
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.100a5c10
lea ecx, [ebp - 0x1b0]
call fcn.10021420
lea ecx, [ebp - 0x200]
call fcn.10021420
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x100fac66
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fac5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100faf36
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 8
jb 0x100facb4
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100facaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100faf36
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edx, 8
jb 0x100fad05
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100facfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100faf36
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
mov dword [ebp - 0x84], 0
push 0xb0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x100fad9a
lea eax, [ebp - 0x164]
mov dword [esi + 0x94], 0
push eax
mov ecx, esi
mov dword [esi + 0x98], 0
call fcn.101ba130
mov dword [esi], vtable.URL_QUERY_class_UrlEmptyCallBack_.0
lea eax, [ebp - 0x210]
mov byte [esi + 0x9d], 0
lea ecx, [esi + 8]
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
push eax
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
call fcn.100a6970
jmp 0x100fad9c
xor esi, esi
push dword [ebp - 0x214]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0
push esi
mov dword [ebp - 0x204], 0
call fcn.100fa050
mov ebx, dword [ebp - 0x208]
or edi, 0xffffffff
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x204], 0
test ebx, ebx
je 0x100faea1
cmp byte [ebx + 0x75], 0
jne 0x100faea1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x94]
call fcn.100aad40
push 0
push 0
push ebx
push 0x100aae90
push 0
push 0
call sub.msvcrt.dll__beginthreadex
mov esi, dword [ebp - 0x218]
add esp, 0x18
mov dword [ebx + 0xac], eax
test eax, eax
je 0x100fae7e
mov byte [ebx + 0x75], 1
test esi, esi
je 0x100fae41
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x21c]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0xa4], esi
mov ebx, eax
test ebx, ebx
je 0x100fae7e
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x100fae7e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x100fae7e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x100faea1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100faea1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100faea1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x214]
test ebx, ebx
je 0x100faec9
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x100faec9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x100faec9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x210]
push eax
push dword [eax]
lea eax, [ebp - 0x220]
push eax
call fcn.1002ace0
push 0x74
push dword [ebp - 0x210]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [ebp - 0x164]
call fcn.10021420
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
push 0x80
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x118]
call fcn.10007cf0
add esp, 0xc
call sub.KERNEL32.dll_GetLastError
call fcn.101e6c40
call fcn.101e6c40
int3