Function at 0x42d460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf599
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x413f30
xor ebx, ebx
push ebx
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push ebx
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x1c]
push 0x55d7a4
push eax
mov dword [esi], vtable.DesktopServerWatcher.0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ebx
call fcn.004049f0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
mov dword [esi + 0x38], edx
call fcn.00404990
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.0041b0b0
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00404990
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
mov edi, eax
cmp eax, dword [ebp - 0x38]
jbe 0x42d515
call fcn.00480e22
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x42d5a2
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42d531
call fcn.00480e22
push edi
lea ecx, [ebp - 0x30]
push 0x4c8ed0
push ecx
call fcn.004056a0
push 0x5c
mov byte [ebp - 4], 4
call fcn.00480ed5
mov edi, eax
add esp, 0x10
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 5
cmp edi, ebx
je 0x42d5aa
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x1c]
jbe 0x42d56b
call fcn.00480e22
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x42d5a6
call fcn.00480e22
xor eax, eax
mov edx, dword [ebp + 0xc]
cmp edx, dword [eax + 0x10]
jb 0x42d586
call fcn.00480e22
mov eax, dword [ebp + 0xc]
mov ebx, dword [esi + 0x38]
push 0
push eax
push edi
call fcn.0041ca60
mov dword [edi + 0x58], ebx
mov dword [edi], vtable.CurrentConsoleProcess.0
xor ebx, ebx
jmp 0x42d5ac
mov eax, dword [eax]
jmp 0x42d527
mov eax, dword [eax]
jmp 0x42d579
xor edi, edi
mov byte [ebp - 4], 4
push ebx
mov dword [esi + 0x10], edi
call fcn.00481614
push eax
call fcn.004815e0
add esp, 8
xor edi, edi
cmp edi, 0x14
jge 0x42d5f3
call fcn.004815f2
cdq
mov ecx, 0x19
idiv ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x1c]
push eax
add edx, 0x61
mov word [ebp - 0x14], dx
xor edx, edx
mov word [ebp - 0x12], dx
call fcn.00404c90
inc edi
jmp 0x42d5c4
push 0xc
call fcn.00480ed5
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 6
test ebx, ebx
je 0x42d63c
mov edi, dword [esi + 0x2c]
cmp edi, dword [esi + 0x30]
jbe 0x42d617
call fcn.00480e22
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x42d638
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42d62f
call fcn.00480e22
push edi
push ebx
call fcn.0041dd60
jmp 0x42d63e
mov eax, dword [eax]
jmp 0x42d625
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x20]
mov edi, vtable.StringStorage.0
mov dword [ebp - 0x30], edi
test eax, eax
je 0x42d659
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00480e32
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edi
xor edi, edi
add esp, 4
cmp eax, edi
je 0x42d685
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [ebp - 0x48]
push edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.00480e32
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc