Function at 0x4ad5c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528e42
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x28], 0
call fcn.00427ed0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0xf8], 0
jne 0x4ad6f0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x53ef54
call fcn.00427f00
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], 0
call fcn.00424e60
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044e9f0
mov eax, dword [ebp - 0x68]
add eax, 0x58
push eax
lea ecx, [ebp - 0x40]
call fcn.00498e80
mov dword [ebp - 4], 1
push 0x859
lea ecx, [ebp - 0x40]
push ecx
call fcn.004d9d60
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x39], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004bfa60
movzx edx, byte [ebp - 0x39]
test edx, edx
je 0x4ad69e
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x4ad6f0
mov ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x53ef74
call fcn.00427f00
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 2
call fcn.00424e60
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044e930
mov dword [ebp - 0x28], 1
call fcn.00427ed0
mov ecx, eax
call fcn.00492da0
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x53ef94
call fcn.00427f00
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 3
call fcn.00424e60
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044e9f0
mov edx, dword [ebp - 0x68]
add edx, 0x58
push edx
lea ecx, [ebp - 0x4c]
call fcn.00498e80
mov dword [ebp - 4], 4
push 0x85a
lea eax, [ebp - 0x4c]
push eax
call fcn.004d9d60
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004bfa60
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x24]
je 0x4ad7d6
mov dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x53efa4
call fcn.00427f00
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 5
call fcn.00424e60
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044e930
cmp dword [ebp - 0x24], 0
je 0x4ad7ca
call fcn.00424e30
mov ecx, eax
call fcn.0041c5a0
jmp 0x4ad7d6
call fcn.00424e30
mov ecx, eax
call fcn.0041c840
mov ecx, dword [ebp - 0x68]
add ecx, 0x58
push ecx
lea ecx, [ebp - 0x54]
call fcn.00498e80
mov dword [ebp - 4], 6
push 0x8dd
lea edx, [ebp - 0x54]
push edx
call fcn.004d9d60
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004bfa60
cmp dword [ebp - 0x10], 0
je 0x4ad81c
call fcn.0048b560
jmp 0x4ad821
call fcn.0048b770
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x53efb4
call fcn.00427f00
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 7
call fcn.00424e60
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044e9f0
mov edx, dword [ebp - 0x68]
add edx, 0x58
push edx
lea ecx, [ebp - 0x5c]
call fcn.00498e80
mov dword [ebp - 4], 8
push 0x8dc
lea eax, [ebp - 0x5c]
push eax
call fcn.004d9d60
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004bfa60
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
je 0x4ad923
mov dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x20]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x53efe4
call fcn.00427f00
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 9
call fcn.00424e60
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0044e930
push 0
push 0
mov ecx, dword [ebp - 0x68]
push ecx
push 0x4ad430
push 0
push 0
call fcn.0050051c
add esp, 0x18
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4ad923
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x68]
add ecx, 0x30
call fcn.00417f90
cmp dword [ebp - 0x28], 0
je 0x4ad96d
push 0x53f014
lea ecx, [ebp - 0x64]
call fcn.00427f00
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x64]
push eax
call fcn.00424e30
mov ecx, eax
call fcn.004218d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004458f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret