Function at 0x4e52a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a7a
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 0x4e57cb
sub eax, 1
je 0x4e55d0
sub eax, 0x4f
jne 0x4e57e9
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 0x4e5501
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 0x4e54b2
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00445690
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x4e54d0
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 0x4e54f2
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00445690
sub esi, 1
jne 0x4e5370
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 0x4e5529
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
cmp dword [ebp - 0x1c], 0
jbe 0x4e5588
lea eax, [ebp - 0x2c]
mov edx, 0x51f114
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 0x4e5573
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
push 0
push 0
push 0
push 0x4e5810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4e559d
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00445690
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4e55b2
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00445690
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4e57e9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00445690
jmp 0x4e57e9
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 0x4e567e
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 0x4e5695
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
movzx ebx, word [ebp - 0x18c]
xor esi, esi
test ebx, ebx
je 0x4e5710
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 0x4e570b
mov eax, dword [ebp - 0x2c]
inc ecx
cmp ecx, 0x1000
jb 0x4e5702
test al, 0x1f
jne 0x4e574a
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x4e574a
sub eax, ecx
cmp eax, 4
jb 0x4e574a
cmp eax, 0x23
ja 0x4e574a
mov eax, ecx
push eax
call fcn.0049cccc
add esp, 4
inc esi
cmp esi, ebx
jl 0x4e56a2
mov eax, dword [ebp - 0x190]
push 0
push 0
push 0
push 0x4e5c10
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 0x4e577c
mov ecx, dword [ebp - 0x74]
inc eax
cmp eax, 0x1000
jb 0x4e5773
test cl, 0x1f
je 0x4e574f
call fcn.004bb498
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4e575b
call fcn.004bb498
sub ecx, eax
cmp ecx, 4
jae 0x4e5767
call fcn.004bb498
cmp ecx, 0x23
jbe 0x4e5771
call fcn.004bb498
mov ecx, eax
push ecx
call fcn.0049cccc
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x4e57e9
mov ecx, dword [ebp - 0x8c]
inc eax
cmp eax, 0x1000
jb 0x4e57c0
test cl, 0x1f
je 0x4e579c
call fcn.004bb498
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4e57a8
call fcn.004bb498
sub ecx, eax
cmp ecx, 4
jae 0x4e57b4
call fcn.004bb498
cmp ecx, 0x23
jbe 0x4e57be
call fcn.004bb498
mov ecx, eax
push ecx
call fcn.0049cccc
add esp, 4
jmp 0x4e57e9
cmp byte [ebx + 0xe0], 0
jne 0x4e57e9
lea eax, [ebx + 0x27c]
mov ecx, edi
push eax
call fcn.0044fa40
mov ecx, ebx
call fcn.004e6d60
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.0049ca1b
mov esp, ebp
pop ebp
ret 4