Function at 0x419ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c454a
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4f93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 0
lea esi, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x44], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41a054
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [edi + 0x30], eax
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
cmp dword [edi + 0x48], 8
jb 0x41a077
mov eax, dword [edi + 0x34]
jmp 0x41a07a
lea eax, [edi + 0x34]
xor ecx, ecx
mov word [eax], cx
cmp word [ebx], cx
je 0x41a09f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a090
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x34]
call fcn.00403170
push edi
push 4
push edi
push 0x41a330
push 0
push 0
call fcn.004a454e
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
je 0x41a1fc
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
cmp dword [edi + 0x44], 0
je 0x41a146
push ecx
lea edx, [edi + 0x34]
lea ecx, [ebp - 0x40]
call fcn.00419cc0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41a12d
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41a112
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004044c0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00405b20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x41a1d5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
jmp 0x41a1d0
mov edx, dword [edi]
lea ecx, [ebp - 0x60]
call fcn.00419f30
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
push 1
push 0x4e9c70
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00404290
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00405a20
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x41a199
push 0xffffffffffffffff
push 0
push eax
call fcn.00404390
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x41a1ae
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004044c0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x41a1d5
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004044c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [edi]
cmovae edx, dword [ebp - 0x28]
call fcn.00419f50
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41a1fc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004044c0
mov dword [ebp - 4], 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41a21b
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049120e
mov esp, ebp
pop ebp
ret 0x30