Function at 0x42d750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbbb3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x50bd24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], dl
mov eax, dword [ebp + 0xc]
mov edi, SysReAllocString
mov dword [ebp - 4], edx
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x42daef
nop dword [eax]
mov edx, dword [esi + 0x20]
lea eax, [esi + 0x10]
mov byte [ebp - 0xa4], 0x26
cmp edx, 0x7fffffff
je 0x42dd5c
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x42d7e3
mov ecx, dword [eax]
push edx
push ecx
push 1
lea ecx, [ebp - 0xa4]
push ecx
push eax
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x28]
call fcn.00408200
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb4], edx
cmp ecx, edx
jae 0x42d832
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], 0x3d
jmp 0x42d97e
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x42dd5c
lea edi, [ecx + 1]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x42d857
mov edi, SysReAllocString
lea eax, [edi + 0x24]
jmp 0x42d89f
mov eax, edx
shr eax, 1
mov dword [ebp - 0xa8], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0xa8]
cmp edx, eax
jbe 0x42d87a
mov edi, SysReAllocString
lea eax, [edi + 0x24]
jmp 0x42d89f
mov eax, dword [ebp - 0xa8]
add eax, edx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x42d8c3
add eax, 0x23
lea ecx, [edi + 1]
cmp eax, ecx
jbe 0x42dd61
push eax
call fcn.004b4047
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x42dd66
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0xac]
jmp 0x42d8da
test eax, eax
je 0x42d8d8
push eax
call fcn.004b4047
mov ecx, dword [ebp - 0xac]
add esp, 4
jmp 0x42d8da
xor eax, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
lea edi, [ecx + eax]
lea edx, [eax + 1]
mov dword [ebp - 0xa8], eax
add edx, ecx
mov dword [ebp - 0xc0], edi
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0xac], edx
push ecx
jb 0x42d957
mov edi, dword [ebp - 0x28]
push edi
push eax
call fcn.004b5860
mov eax, dword [ebp - 0xc0]
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
inc ecx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0xac]
mov byte [eax], 0
mov eax, edi
cmp ecx, 0x1000
jb 0x42d94b
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push ecx
push edi
call fcn.004b4077
add esp, 8
jmp 0x42d970
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004b5860
mov eax, dword [ebp - 0xac]
add esp, 0xc
mov byte [edi], 0x3d
mov byte [eax], 0
mov eax, dword [ebp - 0xa8]
mov edi, SysReAllocString
mov dword [ebp - 0x28], eax
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 2
jb 0x42d9b8
mov ecx, dword [esi + 0x28]
push dword [esi + 0x38]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.004078b0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x88], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
push dword [ebp - 0x78]
movd eax, xmm1
mov byte [ebp - 4], 3
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.004078b0
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x42da48
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42da3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push edx
push ecx
call fcn.004b4077
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x42da86
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42da7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push edx
push ecx
call fcn.004b4077
add esp, 8
mov eax, dword [esi + 8]
mov byte [ebp - 4], 0
cmp byte [eax + 0xd], 0
je 0x42dab4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42dab0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x42dab0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42daa0
mov esi, eax
jmp 0x42dacc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x42dacc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42dac0
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x42d7c0
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x42daef
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov byte [eax], 0x3f
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xb8]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42daf8
sub ecx, esi
sub edi, edx
cmp edi, ecx
jb 0x42dd5c
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push eax
push ecx
push dword [ebp - 0xb8]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x58]
call fcn.00408200
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
cmp edx, 0x10
mov byte [ebp - 4], 5
cmovae ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42db62
sub ecx, edi
lea eax, [ebp - 0x58]
cmp edx, 0x10
lea edx, [ebp - 0x70]
push edx
cmovae eax, esi
push ecx
push eax
call fcn.0041f2c0
mov esi, dword [ebp - 0xbc]
add esp, 0xc
add esi, 0x64
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
mov dword [ebp - 0x28], 0
cmovae edx, dword [ebp - 0x58]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42dbc0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407780
mov edi, dword [ebp - 0xbc]
mov eax, dword [edi + 0x80]
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 6
cmp eax, dword [ecx + 8]
je 0x42dc02
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x42dc40
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.00412b50
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42dc40
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42dc36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push edx
push ecx
call fcn.004b4077
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
push eax
push 0
push edi
push 0x42d460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42dcb9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dcaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push edx
push ecx
call fcn.004b4077
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 0x10
jb 0x42dcfd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42dcf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push edx
push ecx
call fcn.004b4077
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x42dd3f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42dd35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd66
push edx
push ecx
call fcn.004b4077
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b42e4
mov esp, ebp
pop ebp
ret 8
call fcn.00403fb0
call fcn.00403ed0
call fcn.004b905f
int3