Function at 0x4199e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5209d9
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x5793bc]
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
cmp dword [edi + 0x38], 0
jne 0x419b6d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f1300
add esp, 0xc
lea ecx, [ebp - 0x454]
call fcn.004e659f
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x454]
call fcn.004e70b2
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x419a7e
xor ecx, ecx
jmp 0x419a96
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419a87
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041b090
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004db1b2
add esp, 8
lea esi, [edi + 0x28]
mov ebx, eax
cmp esi, ebx
je 0x419b04
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x419adf
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00418580
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x419af7
mov eax, dword [esi]
jmp 0x419af9
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.0041a6f0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x419b22
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00418580
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 8
jb 0x419b5b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0041b190
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 0xffffffff
call fcn.0044f850
cmp dword [edi + 0x68], 0
jne 0x419c62
push 0xa
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x525548
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.0041b090
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004db1b2
add esp, 8
lea esi, [edi + 0x58]
mov ebx, eax
cmp esi, ebx
je 0x419c04
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x419bdf
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00418580
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x419bf7
mov eax, dword [esi]
jmp 0x419bf9
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.0041a6f0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x419c22
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00418580
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x419c62
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0041b190
cmp dword [edi + 0x80], 0
jne 0x419d47
push 7
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.1.3.1.5
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.0041b090
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004db1b2
add esp, 8
lea esi, [edi + 0x70]
mov ebx, eax
cmp esi, ebx
je 0x419cfc
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x419cd7
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00418580
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x419cef
mov eax, dword [esi]
jmp 0x419cf1
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.0041a6f0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x419d1a
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00418580
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0041e390
cmp dword [edi + 0x50], 0
jne 0x419daf
lea eax, [ebp - 0x230]
push eax
call fcn.0041a670
mov ecx, eax
call fcn.0041b920
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004db1b2
add esp, 8
lea ecx, [edi + 0x40]
push eax
call fcn.00418e60
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x419da4
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00418580
lea ecx, [ebp - 0x230]
call fcn.0041e390
cmp dword [ebp + 8], 0
je 0x419dd4
lea eax, [ebp - 0x458]
mov byte [edi], 1
push eax
push 0
push edi
push 0x419800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
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.0042774d
mov esp, ebp
pop ebp
ret 4