Function at 0x4d09f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aab41
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax + 8], 0
je 0x4d0ceb
mov eax, dword fs:[0x2c]
mov edx, dword [0x643da0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x6421b4]
cmp eax, dword [edx + 4]
jg 0x4d0cff
cmp dword [0x6421b0], 0
jne 0x4d0a85
mov ecx, 0x641e28
call fcn.004763f0
test eax, eax
mov dword [ebp - 0x28], 0x5ccae0
mov edx, str.false
lea eax, [ebp - 0x28]
mov ecx, str.true
cmove ecx, edx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], ecx
push eax
mov ecx, 0x6421ac
call fcn.004d0290
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d0d5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d0d67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
sub eax, 0
je 0x4d0adf
sub eax, 1
jne 0x4d0aec
push str.silent
jmp 0x4d0ae4
push str.normal
lea ecx, [ebp - 0x10]
call fcn.0046b400
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x4d0b00
sub eax, 1
jne 0x4d0b0d
push 0x5ccafc
jmp 0x4d0b05
push str.start
lea ecx, [ebp - 0x14]
call fcn.0046b400
push 4
call fcn.0055c4f4
mov edi, eax
add esp, 4
test edi, edi
je 0x4d0b40
mov byte [ebp - 4], 5
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d0d71
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 4
mov dword [edi], eax
jmp 0x4d0b42
xor edi, edi
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4d0d7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, 0x5c228c
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
test eax, 0xffff0000
jne 0x4d0b7a
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x4d0b86
push 9
push 0x5c228c
call fcn.0042a060
sub esp, 8
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x24], esi
call fcn.0055c4f4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 8
push eax
mov eax, dword [0x6421ac]
push dword [eax + 4]
call fcn.004c4fd0
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov ebx, dword [esi]
mov eax, dword [0x6421b0]
mov dword [esi + 4], eax
mov edx, dword [ebx + 4]
cmp byte [edx + 0xd], 0
jne 0x4d0c22
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x4d0c02
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4d0bf6
mov dword [ebx], edx
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x4d0c1d
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x4d0c12
mov dword [edx + 8], ecx
jmp 0x4d0c29
mov dword [ebx], ebx
mov eax, dword [esi]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004d0d90
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004297a0
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d0c70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d0c8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push edi
push 0x4d0860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 0xc], 1
mov edi, eax
jne 0x4d0cb2
push 0x7d0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d0cd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4d0ceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x6421b4
call fcn.0055c868
add esp, 4
cmp dword [0x6421b4], 0xffffffff
jne 0x4d0a47
push 0x18
mov dword [ebp - 4], 0
call fcn.0055c4f4
push 0x5b4b80
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [0x6421ac], eax
call fcn.0055cb7a
push 0x6421b4
mov dword [ebp - 4], 0xffffffff
call fcn.0055c81e
add esp, 0xc
jmp 0x4d0a47
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3