Function at 0x4c32e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635d74
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x6c3afc]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
push ebx
push 1
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov dword [ebp - 4], ebx
call fcn.00436e30
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xb0]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 0x10
add eax, edx
jne 0x4c33b4
cmp esi, ebx
je 0x4c3394
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0xa4]
push edx
push edi
push esi
call fcn.00402cd0
mov eax, dword [ebp - 0xb0]
push eax
call fcn.004effaf
add esp, 0x14
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 - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 4
push 0x18
mov dword [ebp - 0xb8], ebx
call fcn.004eff75
add esp, 4
cmp eax, ebx
je 0x4c39aa
mov dword [ebp - 0xbc], eax
mov dword [eax], eax
mov eax, dword [ebp - 0xbc]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0xbc]
mov byte [ecx + 0x14], 1
mov edx, dword [ebp - 0xbc]
mov byte [edx + 0x15], 1
mov edi, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x80], edi
mov dword [ebp - 0xa0], 2
push 0x208
call fcn.004effa4
push 0x104
push ebx
push eax
mov dword [ebp - 0xc4], eax
call fcn.005de050
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov esi, dword [ebp - 0xb0]
mov byte [ebp - 4], 2
cmp esi, dword [ebp - 0xac]
je 0x4c34dd
lea esp, [esp]
push 0xffffffffffffffff
push ebx
xor eax, eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403240
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
jae 0x4c348c
lea eax, [ebp - 0x2c]
push edi
push 0x688638
push eax
call fcn.0041ea50
add esp, 0xc
test al, al
jne 0x4c34ae
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x90]
call fcn.00401f50
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 2
jb 0x4c34c4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
add esi, 0x1c
cmp esi, dword [ebp - 0xac]
jne 0x4c3460
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x8c]
jne 0x4c34f7
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4c38e2
push eax
call fcn.004effaf
add esp, 4
jmp 0x4c38e2
mov edi, dword [ebp - 0x90]
lea ecx, [ecx]
mov esi, dword [ebp - 0x9c]
push edi
lea ecx, [esi + 0x78]
call fcn.004bf1b0
mov dword [ebp - 0x94], eax
cmp eax, dword [esi + 0x7c]
je 0x4c3542
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x4c3528
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
push ebx
mov ecx, edi
call fcn.0040c070
test eax, eax
js 0x4c3542
lea eax, [ebp - 0x94]
jmp 0x4c3551
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0xd4], ecx
lea eax, [ebp - 0xd4]
mov eax, dword [eax]
mov edx, esi
cmp eax, dword [edx + 0x7c]
je 0x4c35ea
mov edx, dword [ebp - 0xbc]
mov esi, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov ecx, edx
cmp byte [eax + 0x15], bl
jne 0x4c3584
cmp dword [eax + 0xc], esi
jge 0x4c357b
mov eax, dword [eax + 8]
jmp 0x4c357f
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], bl
je 0x4c3571
mov dword [ebp - 0x94], ecx
cmp ecx, edx
je 0x4c359b
cmp esi, dword [ecx + 0xc]
jl 0x4c359b
lea eax, [ebp - 0x94]
jmp 0x4c35a7
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0xd8]
mov eax, dword [eax]
cmp eax, edx
je 0x4c35b5
mov ecx, dword [ebp - 0x80]
add dword [eax + 0x10], ecx
jmp 0x4c35ea
mov edx, dword [ebp - 0x80]
push ebx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xdc], edx
call fcn.004bf340
push eax
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004bf260
add edi, 0x1c
cmp edi, dword [ebp - 0x8c]
jne 0x4c3500
lea ecx, [ebp - 0x7c]
call fcn.004bc310
mov edi, dword [ebp - 0x80]
push edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.004be360
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x94], esp
ror edx, 1
test dword [eax + 4], edx
push ebx
push 0x688638
mov dword [ecx + 0x10], ebx
je 0x4c37e7
mov esi, 7
xor edx, edx
mov dword [ecx + 0x14], esi
mov word [ecx], dx
call fcn.00403600
lea ecx, [ebp - 0x7c]
call fcn.004bc3c0
cmp al, bl
je 0x4c3777
push 0x30
call fcn.004eff75
add esp, 4
cmp eax, ebx
je 0x4c3687
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], ebx
xor ecx, ecx
mov word [eax], cx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov esi, eax
jmp 0x4c3689
xor esi, esi
lea eax, [esi + 0x20]
lea edx, [ebp - 0x90]
mov dword [esi + 0x1c], edi
cmp eax, edx
je 0x4c36d0
mov ecx, dword [eax]
mov edx, dword [ebp - 0x90]
mov dword [eax], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x88], ecx
lea ecx, [ecx]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004bc5c0
mov edi, eax
cmp esi, edi
je 0x4c3734
cmp dword [esi + 0x14], 8
jb 0x4c36f3
mov eax, dword [esi]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp dword [edi + 0x14], 8
jae 0x4c371c
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
push edi
push esi
call fcn.005de430
add esp, 0xc
jmp 0x4c3722
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ebx
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
cmp dword [ebp - 0x18], 8
jb 0x4c3746
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
push 0x6c70e0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0xd0]
push ecx
push ebx
push esi
push 0x4c30a0
push ebx
push ebx
mov dword [ebp - 0xd0], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, 8
jmp 0x4c3880
mov esi, dword [ebp - 0x90]
mov edi, 8
push 0xffffffffffffffff
push ebx
xor edx, edx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403240
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], edi
jae 0x4c37ad
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x80]
push ecx
push ebx
push edx
push eax
call fcn.0041f100
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], edi
jb 0x4c37d7
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
add esi, 0x1c
cmp esi, dword [ebp - 0x8c]
jne 0x4c3782
jmp 0x4c3880
xor edx, edx
mov dword [ecx + 0x14], 7
mov word [ecx], dx
call fcn.00403600
lea ecx, [ebp - 0x7c]
call fcn.004bc600
mov esi, dword [ebp - 0x90]
mov byte [ebp - 0xcc], al
mov edi, 8
push 0xffffffffffffffff
push ebx
xor eax, eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403240
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], edi
jae 0x4c383c
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x80]
push ecx
push ebx
push edx
push eax
call fcn.0041f100
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], edi
jb 0x4c3866
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
add esi, 0x1c
cmp esi, dword [ebp - 0x8c]
jne 0x4c3811
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.004bc730
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.004bc350
mov byte [ebp - 4], 1
cmp dword [ebp - 0x90], ebx
je 0x4c38df
mov esi, dword [ebp - 0x90]
cmp esi, dword [ebp - 0x8c]
je 0x4c38d0
cmp dword [esi + 0x14], edi
jb 0x4c38b6
mov eax, dword [esi]
push eax
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, dword [ebp - 0x8c]
jne 0x4c38a6
mov eax, dword [ebp - 0x90]
push eax
call fcn.004effaf
add esp, 4
mov edi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xa0]
inc edi
rol ecx, 1
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0xa0], ecx
cmp edi, 0xa
jle 0x4c3410
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x384
call esi
cmp dword [0x6c70e0], ebx
jne 0x4c3915
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0xc0]
push edx
call fcn.004c0cd0
mov eax, dword [ebp - 0xc8]
push ebx
push eax
call fcn.00407f40
add esp, 8
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.004bf3e0
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004effaf
mov eax, dword [ebp - 0xb0]
add esp, 4
cmp eax, ebx
je 0x4c3394
mov ecx, dword [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0xac]
lea edx, [ebp - 0xa4]
push edx
push ecx
push eax
call fcn.00402cd0
mov edx, dword [ebp - 0xb0]
push edx
jmp 0x4c338c
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x98], ebx
call fcn.005deac2
push 0x6af630
lea ecx, [ebp - 0xec]
push ecx
mov dword [ebp - 0xec], vtable.std::bad_alloc.0
call fcn.005debb0
int3