Function at 0x492510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4bdd
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x530790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.00463430
test eax, eax
je 0x492563
cmp dword [ebp + 0x10], 0
je 0x492563
cmp dword [ebp + 0x14], 0
jne 0x49257e
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043bc10
mov al, byte [ebp - 0x35]
jmp 0x492912
lea ecx, [ebp + 0xc]
call fcn.00477b40
movzx eax, al
test eax, eax
je 0x4925c5
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041ce80
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0047d670
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.004794a0
push 0x534af4
push 0x18
call fcn.004cf0da
add esp, 8
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 0
je 0x4925f1
mov ecx, dword [ebp - 0x44]
call fcn.00493210
mov dword [ebp - 0xbc], eax
jmp 0x4925fb
mov dword [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x49262f
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043bc10
mov al, byte [ebp - 0x45]
jmp 0x492912
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x68]
add ecx, 1
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x68], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x6c
call fcn.00494b20
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048f460
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov dword [ebp - 0x14], 0x60
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048f460
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x14], ecx
mov byte [ebp - 0x15], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x4927f1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4927f1
lea ecx, [ebp - 0x30]
call fcn.00493260
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0047d960
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov cl, byte [ebp + 0x1c]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
push str._d:_s__s
lea ecx, [ebp - 0x20]
push ecx
call fcn.004198b0
add esp, 0x14
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004932d0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00498470
add esp, 0x1c
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004984e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0xb0]
add ecx, 0x48
call fcn.00493fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00493360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00493360
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x492db0
push 0
push 0
call fcn.004d1a35
add esp, 0x18
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4927e5
mov byte [ebp - 0x15], 1
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004932a0
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x4928f4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x492857
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x492843
push 1
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xcc], eax
jmp 0x49284d
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4928b1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0
je 0x49289d
push 1
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xd0], eax
jmp 0x4928a7
mov dword [ebp - 0xd0], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004ccb07
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0xb0]
add ecx, 0x6c
call fcn.00494cf0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0xb0]
add ecx, 0x48
call fcn.00494970
mov al, byte [ebp - 0x15]
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043bc10
mov al, byte [ebp - 0xa9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18