Function at 0x1001ff20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d47d
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], 0
mov ecx, 0x10202870
call fcn.100055d0
test eax, eax
jne 0x1001ff76
push 0x101e2364
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or eax, 0xffffffff
jmp 0x100203a9
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x100], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10005000
lea ecx, [ebp - 0x14]
call fcn.10007cc0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x10020188
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.10021e20
push 0
push 0x101e2374
lea ecx, [ebp - 0x14]
call fcn.10021ce0
test eax, eax
jge 0x1002002c
push 0
push 0x101e2378
lea ecx, [ebp - 0x14]
call fcn.10021ce0
test eax, eax
jge 0x1002002c
push 0
push str._VERYSILENT
lea ecx, [ebp - 0x14]
call fcn.10021ce0
test eax, eax
jl 0x10020036
mov dword [ebp - 0xe8], 0
push 0
push 0x101e2388
lea ecx, [ebp - 0x14]
call fcn.10021ce0
test eax, eax
jl 0x10020053
mov dword [ebp - 0xf4], 1
push 0
push str._Force
lea ecx, [ebp - 0x14]
call fcn.10021ce0
test eax, eax
jl 0x10020070
mov dword [ebp - 0x100], 1
cmp dword [ebp + 8], 0
je 0x10020188
mov dword [ebp - 0xec], 1
push 0
push str.__option
lea ecx, [ebp - 0x14]
call fcn.10021ce0
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jl 0x10020188
push 4
lea ecx, [ebp - 0x18]
call fcn.10005000
mov ecx, dword [ebp - 0xf0]
add ecx, 9
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.10021c80
mov byte [ebp - 4], 1
push 0x20
push 0x28
lea ecx, [ebp - 0x18]
call fcn.10021d60
push 0x20
push 0x29
lea ecx, [ebp - 0x18]
call fcn.10021d60
lea ecx, [ebp - 0x18]
call fcn.10021cc0
push 0x20
push 0x5f
lea ecx, [ebp - 0x18]
call fcn.10021d60
push 0xb0
lea ecx, [ebp - 0xd8]
call fcn.10005000
push 1
push 3
lea ecx, [ebp - 0xd8]
call fcn.10020f80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.100055d0
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10023060
add esp, 8
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.10021870
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0xd8]
call fcn.10021870
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd8]
call fcn.10021870
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.10021870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.100203d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10009c10
cmp dword [ebp - 0xec], 0
je 0x100201cf
lea ecx, [ebp - 0x14]
call fcn.1001fe70
movzx edx, al
test edx, edx
je 0x100201cf
push 0x101e23a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x104], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10009c10
mov eax, dword [ebp - 0x104]
jmp 0x100203a9
cmp dword [ebp - 0xe8], 0
je 0x10020226
cmp dword [ebp - 0xe8], 0
jne 0x100201ed
mov dword [ebp - 0xf8], 1
jmp 0x100201f7
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, 0x10202870
call fcn.1000e850
mov ecx, eax
call fcn.1000fad0
cmp dword [ebp - 0xec], 0
je 0x10020351
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x148]
call fcn.10004f90
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe0]
or edx, 1
mov dword [ebp - 0xe0], edx
push 0
push 0x101e23ac
mov ecx, dword [ebp - 0x10c]
call fcn.10005240
cmp eax, 0xffffffff
jne 0x100202c5
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x130]
call fcn.10004f90
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xe0]
or ecx, 2
mov dword [ebp - 0xe0], ecx
push 0
push 0x101e23b0
mov ecx, dword [ebp - 0x110]
call fcn.10005240
cmp eax, 0xffffffff
jne 0x100202c5
mov dword [ebp - 0xfc], 0
jmp 0x100202cf
mov dword [ebp - 0xfc], 1
mov dl, byte [ebp - 0xfc]
mov byte [ebp - 0xe1], dl
mov eax, dword [ebp - 0xe0]
and eax, 2
je 0x100202f8
and dword [ebp - 0xe0], 0xfffffffd
lea ecx, [ebp - 0x130]
call fcn.10004780
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xe0]
and ecx, 1
je 0x1002031c
and dword [ebp - 0xe0], 0xfffffffe
lea ecx, [ebp - 0x148]
call fcn.10004780
movzx edx, byte [ebp - 0xe1]
test edx, edx
je 0x1002033c
push 1
mov ecx, 0x10202870
call fcn.1000e850
mov ecx, eax
call fcn.1000ffc0
jmp 0x1002034f
push 0
mov ecx, 0x10202870
call fcn.1000e850
mov ecx, eax
call fcn.1000ffc0
jmp 0x1002038a
cmp dword [ebp - 0xe8], 0
jne 0x10020363
mov byte [ebp - 0xd9], 1
jmp 0x1002036a
mov byte [ebp - 0xd9], 0
movzx eax, byte [ebp - 0xd9]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
mov ecx, 0x10202870
call fcn.1000e850
mov ecx, eax
call fcn.100103a0
mov dword [ebp - 0x114], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10009c10
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret 0xc