Function at 0x4fad84
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004fb215
mov dword [0xc8], eax
mov dword [ebp - 4], esp
push 0
mov eax, 0xb
call fcn.005d206c
cmp dword [ebp - 4], esp
je 0x4fadc7
push 6
call fcn.005d2066
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push 0x10
push 0x10
push 1
push 0x81
push dword [ebp - 8]
mov eax, 0xc
call fcn.005d206c
cmp dword [ebp - 0xc], esp
je 0x4fae05
push 6
call fcn.005d2066
add esp, 4
mov dword [0xcc], eax
cmp dword [0xcc], 0
jne 0x4faf14
mov dword [ebp - 4], esp
push 0
mov eax, 0xb
call fcn.005d206c
cmp dword [ebp - 4], esp
je 0x4fae3b
push 6
call fcn.005d2066
add esp, 4
mov dword [ebp - 8], eax
push 0x80000004
push 0
push 0xbebe
push 1
mov ebx, 0x198
call fcn.005d2072
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0xbecb
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004fad2d
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4fae87
push ebx
call fcn.005d205a
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4fae9a
mov eax, 0x52b
push eax
push 1
mov ebx, 0x168
call fcn.005d2072
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4faec0
push ebx
call fcn.005d205a
add esp, 4
mov dword [ebp - 0x18], esp
push 0
push 0x10
push 0x10
push 1
push dword [ebp - 0x14]
push dword [ebp - 8]
mov eax, 0xd
call fcn.005d206c
cmp dword [ebp - 0x18], esp
je 0x4faef9
push 6
call fcn.005d2066
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4faf0c
push ebx
call fcn.005d205a
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [0xcc], eax
mov dword [0xd0], 1
mov dword [0xd4], 1
mov dword [0xd8], 1
mov dword [0xdc], 0xa0
mov dword [0xe0], 0xddca22
mov dword [0xe4], 1
mov dword [0xe8], 0
mov dword [ebp - 4], esp
push 0x7f89
push 0
mov eax, 0xe
call fcn.005d206c
cmp dword [ebp - 4], esp
je 0x4faf83
push 6
call fcn.005d2066
add esp, 4
mov dword [0xec], eax
mov dword [ebp - 4], esp
push 0x7f01
push 0
mov eax, 0xe
call fcn.005d206c
cmp dword [ebp - 4], esp
je 0x4fafb1
push 6
call fcn.005d2066
add esp, 4
mov dword [0xf0], eax
mov dword [ebp - 4], esp
push 0x7f84
push 0
mov eax, 0xe
call fcn.005d206c
cmp dword [ebp - 4], esp
je 0x4fafdf
push 6
call fcn.005d2066
add esp, 4
mov dword [0xf4], eax
push 0x80000006
push 0
push 0xd0af
push 1
mov ebx, 0x9dc
call fcn.005d2072
add esp, 0x10
mov dword [ebp - 4], eax
push 1
push dword [ebp - 4]
push 1
mov eax, 0xbed5
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004fb2c0
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4fb02d
push ebx
call fcn.005d205a
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov eax, 0xbee0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0xf8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4fb064
push ebx
call fcn.005d205a
add esp, 4
mov ecx, 0
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.005d2060
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0
add edi, 4
mov ebx, dword [0xfc]
call fcn.004f6b3d
pop edx
test ecx, ecx
je 0x4fb0f9
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4fb0be
push ebx
call fcn.005d205a
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4fb0d2
push ebx
call fcn.005d205a
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4fb0e6
push ebx
call fcn.005d205a
add esp, 4
pop ebx
call fcn.005d205a
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4fb0a6
pop edx
pop edi
test edx, edx
je 0x4fb12b
mov ebx, edi
push edx
push ebx
push 0x14
call fcn.005d2060
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x4fb103
push dword [0xfc]
call fcn.005d205a
add esp, 4
pop eax
mov dword [0xfc], eax
mov ecx, 0
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.005d2060
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0
add edi, 4
mov ebx, dword [0x100]
call fcn.004f6b3d
pop edx
test edx, edx
je 0x4fb185
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [0x100]
call fcn.005d205a
add esp, 4
pop eax
mov dword [0x100], eax
push 0x104
call fcn.004fb595
mov ebx, dword [0x104]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov ebx, dword [0x104]
add ebx, 0x1c
mov dword [ebp - 8], ebx
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.004ff9b6
mov dword [0x108], eax
mov eax, dword [0x108]
mov dword [0x10c], eax
call fcn.004ffad8
test eax, eax
je 0x4fb202
mov dword [0x110], 1
mov dword [0x114], 2
mov dword [0x118], 3
call fcn.004ffc7a
mov eax, 0
jmp 0x4fb211
mov esp, ebp
pop ebp
ret