Function at 0x4e5400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0bfa
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x52a098]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x190], ebx
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 0x1d]
sub eax, 1
je 0x4e592b
sub eax, 1
je 0x4e5730
sub eax, 0x4f
jne 0x4e5949
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x5c], al
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 5
mov ecx, edi
mov byte [edi + 4], al
lea eax, [ebp - 0x185]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044fa60
mov ecx, eax
call fcn.0044fa60
mov ecx, eax
call fcn.0044fa20
mov al, byte [ebp - 0x185]
test al, al
je 0x4e5661
lea ecx, [ebx + 0xfc]
movzx esi, al
mov ebx, ecx
nop word [eax + eax]
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044fa60
mov ecx, eax
call fcn.0044fa60
mov ecx, eax
call fcn.0044fa60
lea ecx, [ebp - 0x134]
call fcn.0044e400
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 9
push eax
call fcn.004450f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004450f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x104]
call fcn.004450f0
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x184]
lea eax, [ebp - 0x134]
push eax
call fcn.004500a0
add esp, 4
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.00450100
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x198]
mov ecx, ebx
push eax
call fcn.0044f760
lea ecx, [ebp - 0x180]
call fcn.0044e6e0
lea ecx, [ebp - 0x134]
call fcn.0044e6e0
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x4e5612
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00445690
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x4e5630
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00445690
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x4e5652
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00445690
sub esi, 1
jne 0x4e54d0
mov ebx, dword [ebp - 0x190]
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0044fa60
mov ecx, dword [0x53b260]
lea eax, [ebp - 0x44]
add ecx, 0x98
cmp ecx, eax
je 0x4e5689
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
cmp dword [ebp - 0x1c], 0
jbe 0x4e56e8
lea eax, [ebp - 0x2c]
mov edx, 0x51f12c
push eax
lea ecx, [ebp - 0xec]
call fcn.00445b10
add esp, 4
mov ecx, 0x53b5dc
push eax
call fcn.004471f0
lea ecx, [ebp - 0xec]
call fcn.00444c00
lea ecx, [ebx + 0xc8]
lea eax, [ebp - 0x5c]
cmp ecx, eax
je 0x4e56d3
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
push 0
push 0
push 0
push 0x4e5970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4e56fd
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00445690
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4e5712
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00445690
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4e5949
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00445690
jmp 0x4e5949
push dword [ebp - 0x190]
mov edx, dword [0x53b5f8]
push ecx
mov ecx, dword [0x53b5f4]
call fcn.0044c770
mov eax, dword [0x53b5f4]
add esp, 8
mov dword [0x53b5f8], eax
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x18c], 0
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.0044fa60
mov ecx, eax
call fcn.0044fa60
mov ecx, eax
call fcn.0044fa40
mov eax, dword [0x53b260]
lea edx, [ebp - 0x8c]
lea ecx, [eax + 0x80]
cmp ecx, edx
je 0x4e57de
push 0xffffffffffffffff
push 0
mov eax, edx
push eax
call fcn.004450f0
mov eax, dword [0x53b260]
lea ecx, [eax + 0xb0]
lea eax, [ebp - 0x74]
cmp ecx, eax
je 0x4e57f5
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
movzx ebx, word [ebp - 0x18c]
xor esi, esi
test ebx, ebx
je 0x4e5870
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0044fa60
lea eax, [ebp - 0x2c]
mov ecx, 0x53b5f4
push eax
call fcn.0044fc00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4e586b
mov eax, dword [ebp - 0x2c]
inc ecx
cmp ecx, 0x1000
jb 0x4e5862
test al, 0x1f
jne 0x4e58aa
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x4e58aa
sub eax, ecx
cmp eax, 4
jb 0x4e58aa
cmp eax, 0x23
ja 0x4e58aa
mov eax, ecx
push eax
call fcn.0049ccdd
add esp, 4
inc esi
cmp esi, ebx
jl 0x4e5802
mov eax, dword [ebp - 0x190]
push 0
push 0
push 0
push 0x4e5d70
push 0
push 0
mov byte [eax + 0xe1], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x4e58dc
mov ecx, dword [ebp - 0x74]
inc eax
cmp eax, 0x1000
jb 0x4e58d3
test cl, 0x1f
je 0x4e58af
call fcn.004bb46d
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4e58bb
call fcn.004bb46d
sub ecx, eax
cmp ecx, 4
jae 0x4e58c7
call fcn.004bb46d
cmp ecx, 0x23
jbe 0x4e58d1
call fcn.004bb46d
mov ecx, eax
push ecx
call fcn.0049ccdd
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x4e5949
mov ecx, dword [ebp - 0x8c]
inc eax
cmp eax, 0x1000
jb 0x4e5920
test cl, 0x1f
je 0x4e58fc
call fcn.004bb46d
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4e5908
call fcn.004bb46d
sub ecx, eax
cmp ecx, 4
jae 0x4e5914
call fcn.004bb46d
cmp ecx, 0x23
jbe 0x4e591e
call fcn.004bb46d
mov ecx, eax
push ecx
call fcn.0049ccdd
add esp, 4
jmp 0x4e5949
cmp byte [ebx + 0xe0], 0
jne 0x4e5949
lea eax, [ebx + 0x27c]
mov ecx, edi
push eax
call fcn.0044fa40
mov ecx, ebx
call fcn.004e6ec0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049ca2c
mov esp, ebp
pop ebp
ret 4