Function at 0x42b8b0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6933
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x545100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov edi, dword [ebx + 0xc]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x28], xmm0
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.004a424b
add esp, 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push eax
movlpd qword [ebp - 0x60], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x42b994
cmp dword [ebp - 0x2c], 1
jne 0x42b994
mov al, 1
jmp 0x42b996
xor al, al
test al, al
mov ecx, 0x10000000
mov edx, 0x40000000
cmovne ecx, edx
mov dword [ebp - 0x74], ecx
test edi, edi
je 0x42b9da
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0x44]
mov ecx, esi
mov eax, dword [ebp - 0x64]
push dword [eax + 0x3c]
call dword [0x4f1320]
mov ecx, edi
call esi
mov eax, dword [edi]
push 0
push 0
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x4f1320]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x68]
xor edx, edx
call fcn.0048ff60
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
mov esi, dword [eax + 0x38]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x42bc6a
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
nop
add eax, dword [esi + 0x44]
mov dword [ebp - 0x50], eax
adc ecx, 0
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x20]
nop
sub edi, ecx
sar edi, 4
call fcn.004a503e
cmp edi, eax
mov edi, dword [ebp - 0x20]
jae 0x42ba49
mov eax, dword [ebp - 0x1c]
sub eax, edi
sar eax, 4
test eax, eax
je 0x42baf4
cmp dword [ebp - 0x54], 0
jb 0x42baf4
ja 0x42ba49
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x50], eax
jb 0x42baf4
cmp dword [edi + 4], 0
je 0x42bd73
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 4], eax
je 0x42bd6c
push 0
push dword [edi + 4]
push dword [edi]
call fcn.004a5059
add esp, 0xc
test eax, eax
jne 0x42bd65
mov dword [edi], eax
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
sub eax, dword [ecx + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
sbb eax, dword [ecx + 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ecx + 0x10]
cmp eax, edx
je 0x42badf
lea edi, [ecx + 4]
cmp dword [edi], 0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
jne 0x42bd52
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
add eax, 0x10
mov dword [edi - 4], ecx
mov dword [edi], edx
add edi, 0x10
cmp eax, dword [ebp - 0x30]
jne 0x42baa2
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
cmp dword [edx - 0xc], 0
lea edi, [edx - 0x10]
jne 0x42bd52
mov dword [ebp - 0x1c], edi
jmp 0x42ba10
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
lea eax, [esi + 0x10]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x10]
push 0x20
mov dword [ebp - 0x8c], eax
call fcn.004a5e73
movups xmm0, xmmword [ebp - 0xa8]
or dword [ebp - 0x6c], 1
add esp, 4
mov dword [ebp - 0x30], eax
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [eax + 0x10], xmm0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x42d360
push 0
push 0
call fcn.004b3fac
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x42bd57
mov edi, dword [ebp - 0x5c]
xorps xmm0, xmm0
mov edx, dword [esi + 0x44]
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0xac], edx
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x42bbeb
mov dword [eax + 4], edi
mov dword [eax], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov edi, dword [ebp - 0x1c]
add edi, 0x10
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x1c], edi
jmp 0x42bbfe
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0042cf20
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x84], 0
jne 0x42bd52
mov byte [ebp - 4], 2
cmp dword [ebp - 0x5c], 0
jne 0x42bd52
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x42bc44
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42bc40
nop
cmp esi, dword [eax + 8]
jne 0x42bc40
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42bc30
mov esi, eax
jmp 0x42bc5a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x42bc5a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x42bc50
cmp byte [esi + 0xd], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
je 0x42ba00
mov esi, dword [ebp - 0x20]
cmp esi, edi
je 0x42bcac
cmp dword [esi + 4], 0
je 0x42bd73
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x42bd6c
push 0
push dword [esi + 4]
push dword [esi]
call fcn.004a5059
add esp, 0xc
test eax, eax
jne 0x42bd65
mov dword [esi], eax
mov dword [esi + 4], eax
add esi, 0x10
cmp esi, edi
jne 0x42bc71
lea eax, [ebp - 0x28]
push eax
call fcn.004a440f
add esp, 4
test al, al
jne 0x42bd3f
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [ebp - 0x28]
push eax
call fcn.004a4336
mov edx, dword [ebp - 0x20]
add esp, 4
test edx, edx
je 0x42bd1f
mov ecx, dword [ebp - 0x1c]
mov eax, edx
cmp eax, ecx
je 0x42bcf3
cmp dword [eax + 4], 0
jne 0x42bd52
add eax, 0x10
cmp eax, ecx
jne 0x42bce6
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x42bd15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bd7a
push ecx
push edx
call fcn.004a5ea3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5e3b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
sub esp, 8
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004236b0
call fcn.004236f0
call fcn.004b27c3
push 6
mov dword [ebp - 0x5c], 0
call fcn.004a4fbd
push 2
call fcn.004a4fbd
push 5
call fcn.004a4fbd
push 1
call fcn.004a4fbd
call fcn.004b26bf
int3