Function at 0x4262d0
Capabilities:
Create thread
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x200
mov eax, dword [edx + 8]
mov edi, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edx
test eax, eax
jne 0x426782
lea ecx, [esp + 0xc0]
mov edx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUS
push 0x11
call fcn.0042a7f0
add esp, 4
mov edi, dword [esp + 0xc0]
mov eax, edi
neg eax
jo 0x42643a
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
test byte [esp + 0xcc], 1
mov dword [esp + 0xc], eax
je 0x42636d
mov esi, dword [esp + 0xc]
test ebx, ebx
je 0x426428
cmp ebx, 1
jne 0x4263e4
movzx eax, byte [esi]
cmp eax, 0x2b
je 0x426428
mov ebx, 1
cmp eax, 0x2d
mov ecx, esi
je 0x426428
jmp 0x426651
test ebx, ebx
je 0x426424
mov edx, dword [esp + 0xc]
lea esi, [edx + ebx]
jmp 0x426396
add edx, 2
cmp ecx, esi
cmovne ecx, edx
nop word cs:[eax + eax]
cmp ecx, esi
mov edx, ecx
je 0x426337
movzx eax, byte [edx]
lea ecx, [edx + 1]
test al, al
jns 0x426390
cmp al, 0xe0
jb 0x42637e
cmp al, 0xed
jne 0x4263c4
cmp ecx, esi
je 0x426337
lea eax, [edx + 2]
cmp eax, esi
je 0x426337
cmp byte [edx + 1], 0x9f
ja 0x427af7
add edx, 3
mov ecx, edx
jmp 0x426390
add edx, 2
cmp ecx, esi
cmove edx, ecx
xor ecx, ecx
cmp edx, esi
setne cl
add ecx, edx
cmp al, 0xf0
jb 0x426390
xor eax, eax
cmp ecx, esi
setne al
add ecx, eax
jmp 0x426390
cmp byte [esi], 0x2b
jne 0x426646
cmp ebx, 0xa
lea ecx, [esi + 1]
lea ebx, [ebx - 1]
jb 0x426651
xor eax, eax
nop
sub ebx, 1
jb 0x426679
mov edx, 0xa
mul edx
jo 0x426428
movzx edx, byte [ecx]
add edx, 0xffffffd0
cmp edx, 9
ja 0x426428
inc ecx
add eax, edx
jae 0x426400
jmp 0x426428
mov esi, dword [esp + 0xc]
test edi, edi
je 0x42643a
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
lea ebx, [esp + 0xc0]
mov edx, 0x4a7d95
mov ecx, ebx
push 0x11
call fcn.0042a7f0
add esp, 4
mov edi, dword [esp + 0xc0]
mov eax, edi
neg eax
jno 0x426468
mov edi, dword [esp + 0x14]
jmp 0x426593
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
test byte [esp + 0xcc], 1
mov dword [esp + 0xc], eax
je 0x4264ba
mov esi, dword [esp + 0xc]
test ebx, ebx
je 0x426576
cmp ebx, 1
jne 0x426534
movzx eax, byte [esi]
cmp eax, 0x2b
je 0x426576
mov ebx, 1
cmp eax, 0x2d
mov ecx, esi
je 0x426576
jmp 0x426736
test ebx, ebx
je 0x426572
mov edx, dword [esp + 0xc]
lea esi, [edx + ebx]
jmp 0x4264e6
add edx, 2
cmp ecx, esi
cmovne ecx, edx
nop word cs:[eax + eax]
nop dword [eax]
cmp ecx, esi
mov edx, ecx
je 0x426484
movzx eax, byte [edx]
lea ecx, [edx + 1]
test al, al
jns 0x4264e0
cmp al, 0xe0
jb 0x4264cb
cmp al, 0xed
jne 0x426514
cmp ecx, esi
je 0x426484
lea eax, [edx + 2]
cmp eax, esi
je 0x426484
cmp byte [edx + 1], 0x9f
ja 0x427b0d
add edx, 3
mov ecx, edx
jmp 0x4264e0
add edx, 2
cmp ecx, esi
cmove edx, ecx
xor ecx, ecx
cmp edx, esi
setne cl
add ecx, edx
cmp al, 0xf0
jb 0x4264e0
xor eax, eax
cmp ecx, esi
setne al
add ecx, eax
jmp 0x4264e0
cmp byte [esi], 0x2b
jne 0x42672b
cmp ebx, 0xa
lea ecx, [esi + 1]
lea ebx, [ebx - 1]
jb 0x426736
xor eax, eax
sub ebx, 1
jb 0x426759
mov edx, 0xa
mul edx
jo 0x426576
movzx edx, byte [ecx]
add edx, 0xffffffd0
cmp edx, 9
ja 0x426576
inc ecx
add eax, edx
jae 0x42654e
jmp 0x426576
mov esi, dword [esp + 0xc]
test edi, edi
mov edi, dword [esp + 0x14]
lea ebx, [esp + 0xc0]
je 0x426593
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
pxor xmm0, xmm0
mov dword [esp + 0xe0], 0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
push ebx
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x426782
mov ecx, dword [0x4a80e0]
mov eax, dword [0x4a80e4]
cmp cl, 4
je 0x426782
cmp cl, 4
je 0x426782
mov esi, 1
cmp cl, 3
jne 0x42678f
mov ebx, dword [eax + 4]
mov esi, dword [eax]
mov ecx, dword [ebx]
test ecx, ecx
je 0x426609
push esi
mov edi, eax
call ecx
mov eax, edi
add esp, 4
cmp dword [ebx + 4], 0
je 0x42662a
cmp dword [ebx + 8], 9
mov edi, eax
jb 0x42661a
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, edi
mov edi, dword [esp + 0x14]
push eax
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov esi, 1
jmp 0x42678f
cmp ebx, 9
mov ecx, esi
jae 0x4263fc
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ecx]
add edx, 0xffffffd0
cmp edx, 9
ja 0x426428
lea eax, [eax + eax*4]
inc ecx
dec ebx
lea eax, [edx + eax*2]
jne 0x426660
test edi, edi
je 0x42668f
push esi
push 0
push dword [0x4af0c0]
mov esi, eax
call sub.kernel32.dll_HeapFree
mov eax, esi
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x426782
pxor xmm0, xmm0
lea eax, [esp + 0xc0]
mov dword [esp + 0xe0], 0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x426782
mov ecx, dword [0x4a80e0]
mov eax, dword [0x4a80e4]
cmp cl, 4
je 0x426782
cmp cl, 4
je 0x426782
mov esi, 1
cmp cl, 3
jne 0x42678f
mov ebx, dword [eax + 4]
mov esi, dword [eax]
mov ecx, dword [ebx]
test ecx, ecx
je 0x42671c
push esi
mov edi, eax
call ecx
mov eax, edi
mov edi, dword [esp + 0x18]
add esp, 4
cmp dword [ebx + 4], 0
jne 0x42660f
jmp 0x42662e
cmp ebx, 9
mov ecx, esi
jae 0x42654c
xor eax, eax
nop dword [eax + eax]
movzx edx, byte [ecx]
add edx, 0xffffffd0
cmp edx, 9
ja 0x426576
lea eax, [eax + eax*4]
inc ecx
dec ebx
lea eax, [edx + eax*2]
jne 0x426740
test edi, edi
lea ebx, [esp + 0xc0]
je 0x426776
push esi
push 0
push dword [0x4af0c0]
mov esi, eax
call sub.kernel32.dll_HeapFree
mov eax, esi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x426593
cmp eax, 0xff
mov esi, 0xff
cmovb esi, eax
movzx eax, byte [edi + 0x2d]
test esi, esi
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 4
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 4
mov dword [esp + 0xd4], 0
mov dword [esp + 0x28], esi
jne 0x4276f1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 4
mov dword [esp + 0xc8], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c0], 0
mov edi, 4
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0xc8]
movq xmm0, qword [esp + 0xc0]
mov ecx, 0x1c
mov dword [esp + 0x1a0], eax
mov eax, esi
movq qword [esp + 0x198], xmm0
mul ecx
jo 0x427b46
cmp eax, 0x7ffffffd
jae 0x427b46
xor ebx, ebx
test eax, eax
je 0x4268aa
movzx ecx, byte [0x4af0d4]
mov edx, eax
xor ecx, ecx
call fcn.0042bb70
test eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
je 0x427b46
test esi, esi
jne 0x4268be
jmp 0x42690a
mov dword [esp + 0xc], 4
mov dword [esp + 0x18], 0
test esi, esi
je 0x42690a
mov eax, dword [esp + 0xc]
lea esi, [edi + esi*8]
xor ebx, ebx
lea ecx, [eax + 0x18]
nop word [eax + eax]
mov edx, dword [edi + ebx*8]
movzx eax, byte [edi + ebx*8 + 4]
mov dword [ecx - 0x18], 0
mov word [ecx - 0x14], 0
mov dword [ecx - 0x10], 0
mov word [ecx - 0xc], 0
mov dword [ecx - 8], 0
mov dword [ecx - 4], edx
lea edx, [edi + ebx*8 + 8]
mov byte [ecx], al
add ecx, 0x1c
inc ebx
cmp edx, esi
jne 0x4268d0
cmp dword [esp + 0x1c0], 0
je 0x426922
push edi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov esi, dword [esp + 0x28]
test esi, esi
je 0x426975
mov edx, esi
movzx eax, byte [0x4af0d4]
xor ecx, ecx
shl edx, 6
add edx, 0x40
call fcn.0042bb70
test eax, eax
je 0x427b46
mov ecx, eax
and ecx, 0xffffffc0
mov dword [ecx + 0x3c], eax
lea edi, [ecx + 0x40]
add ecx, 0x45
mov eax, esi
nop dword [eax + eax]
mov dword [ecx - 5], 0
mov word [ecx - 1], 0
add ecx, 0x40
dec eax
jne 0x426960
jmp 0x42697a
mov edi, 0x40
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x2f8
call fcn.0042bb70
test eax, eax
je 0x427b46
mov esi, eax
push 0x2f8
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x1a0]
movsd xmm0, qword [esp + 0x198]
xor ecx, ecx
mov edx, 0x180
mov dword [esp + 0x5b], eax
mov eax, dword [esp + 0x14]
movsd qword [esp + 0x53], xmm0
movq xmm0, qword [eax + 0xc]
movsd xmm2, qword [eax + 0x1c]
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 0
movsd xmm1, qword [eax + 0x24]
mov dword [eax + 0x24], 0
movaps xmmword [esp + 0x1c0], xmm2
movsd xmm2, qword [esp + 0x50]
movdqa xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x1d0], xmm1
movsd xmm1, qword [esp + 0x57]
movsd qword [esp + 0xc7], xmm1
movsd qword [esp + 0xc0], xmm2
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
je 0x427b46
mov ecx, eax
mov edx, dword [esp + 0x24]
and ecx, 0xffffffc0
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], 1
mov dword [ecx + 0x44], 1
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], esi
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0xc4], esi
mov byte [ecx + 0x100], 0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0xc0]
movsd xmm1, qword [esp + 0xc7]
movsd qword [ecx + 0x101], xmm0
movaps xmm0, xmmword [esp + 0x40]
movsd qword [ecx + 0x108], xmm1
unpcklpd xmm0, xmmword [esp + 0x1c0]
movups xmmword [ecx + 0x110], xmm0
movdqa xmm0, xmmword [esp + 0x1d0]
movq qword [ecx + 0x120], xmm0
mov dword [ecx + 0x128], 1
mov dword [ecx + 0x12c], eax
mov dword [ecx + 0x130], edi
mov dword [ecx + 0x134], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x138], 0
mov edi, edx
pxor xmm0, xmm0
shl edi, 4
mov dword [ecx + 0x13c], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x140], eax
lea eax, [ecx + 0x40]
mov dword [ecx + 0x144], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
add edi, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
test edx, edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x64], esi
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
movq qword [esp + 0x70], xmm0
movq qword [esp + 0x78], xmm0
je 0x42743b
mov ecx, dword [esp + 0x2c]
jmp 0x426b7e
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
je 0x42743b
lea edx, [ecx + 0x10]
mov dword [esp + 0x54], edx
movzx ebx, byte [ecx + 0xc]
cmp bl, 2
je 0x42743b
mov eax, dword [ecx + 8]
mov esi, ecx
mov dword [esp + 0xc8], eax
movsd xmm0, qword [ecx]
movsd qword [esp + 0xc0], xmm0
movzx eax, byte [ecx + 0xf]
lea ecx, [esp + 0xcd]
mov byte [ecx + 2], al
movzx eax, word [esi + 0xd]
mov word [ecx], ax
mov eax, dword [esp + 0x64]
mov byte [esp + 0xcc], bl
cmp eax, dword [esp + 0x6c]
je 0x427423
lea ecx, [eax + 8]
movsd xmm0, qword [esp + 0xc0]
add esi, 0xd
mov dword [esp + 0x20], edx
mov dword [esp + 0x64], ecx
mov ecx, dword [eax]
mov bh, byte [eax + 4]
mov eax, dword [esp + 0xc8]
movsd qword [esp + 0x1a8], xmm0
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x18], ecx
movzx eax, word [esi]
mov word [esp + 0x34], ax
movzx eax, byte [esi + 2]
mov esi, dword [esp + 0x7c]
mov byte [esp + 0x36], al
lea eax, [esi + 1]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x426c70
mov ecx, dword [edi + 0x18]
push esi
push eax
lea eax, [esp + 0xc8]
push eax
call dword [ecx + 0x10]
add esp, 0xc
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
jmp 0x426c78
mov dword [esp + 0x10], 0x80000000
mov edx, dword [esp + 0x30]
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 4]
lock inc dword [edx]
jle 0x427b46
mov eax, dword [esp + 0x10]
movq xmm0, qword [esp + 0x1a8]
mov dword [esp + 0xc], ecx
test esi, esi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0xa8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov byte [esp + 0xb4], bl
movzx eax, word [esp + 0x34]
mov bl, byte [esp + 0x36]
mov word [ecx + 0xd], ax
mov byte [ecx + 0xf], bl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0xa0], ecx
mov byte [esp + 0xa4], bh
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], esi
jne 0x426e10
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2c], 0
je 0x426e10
call fcn.0042c990
test eax, eax
lea edi, [esp + 0xc0]
je 0x427b46
cmp dword [eax], 0
jne 0x427a5a
mov ecx, edi
lea edx, [esp + 0x8c]
call fcn.00425690
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x100
call fcn.0042bb70
test eax, eax
je 0x427b46
mov esi, eax
and esi, 0xffffffc0
mov dword [esi + 0x3c], eax
add esi, 0x40
push 0xc0
push edi
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
call fcn.0042c990
test eax, eax
je 0x427b46
cmp dword [eax], 0
mov ecx, dword [esp + 0x18]
jne 0x427b46
mov dword [eax], esi
cmp dword [ecx + 0x104], 0
je 0x427b46
mov edi, dword [ecx + 0x100]
xor eax, eax
mov cl, 1
lock cmpxchg byte [edi + 4], cl
lea esi, [edi + 4]
jne 0x4273df
mov byte [edi + 5], 1
lock inc dword [edi]
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressAll]
xor eax, eax
xchg byte [edi + 4], al
cmp al, 2
jne 0x426ded
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp ecx, dword [esp + 0x28]
jne 0x426b7e
jmp 0x42743b
neg dword [esp + 0x10]
jno 0x426ec0
mov edx, 0x80000000
xor esi, esi
mov ecx, dword [esp + 0xc]
test edi, edi
je 0x426f0a
mov eax, edx
mov dword [esp + 0xc], ecx
neg eax
jno 0x426f23
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x20
call fcn.0042bb70
test eax, eax
je 0x427b46
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 0x10], 2
mov edi, eax
movq xmm0, qword [0x4af0b0]
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x427b46
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x4af0b0]
jne 0x426e90
jmp 0x4270b1
mov esi, dword [esp + 0x24]
test esi, esi
js 0x427b46
je 0x426ee9
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, esi
call fcn.0042bb70
mov ebx, eax
test eax, eax
jne 0x426eee
jmp 0x427b46
mov ebx, 1
push esi
push dword [esp + 0x20]
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edx, esi
mov ecx, dword [esp + 0xc]
test edi, edi
jne 0x426e2d
mov ecx, dword [0x4af058]
test ecx, ecx
je 0x426f79
dec ecx
mov eax, edx
mov dword [esp + 0xc], ecx
neg eax
jo 0x426e3b
cmp esi, 7
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], esi
ja 0x426f62
test esi, esi
je 0x42702d
nop word cs:[eax + eax]
nop
cmp byte [ebx], 0
je 0x427b46
inc ebx
dec esi
jne 0x426f50
jmp 0x42702d
lea edx, [ebx + 3]
and edx, 0xfffffffc
mov eax, edx
sub eax, ebx
jne 0x426fb2
lea eax, [esi - 8]
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x426fe0
mov dword [esp + 0x10], edx
lea ecx, [esp + 0xc0]
mov edx, str.RUST_MIN_STACK
push 0xe
call fcn.0042a7f0
add esp, 4
mov edi, dword [esp + 0xc0]
mov eax, edi
neg eax
jno 0x4272e1
mov edx, dword [esp + 0x10]
mov ecx, 0x200000
jmp 0x4273c4
mov ecx, ebx
sub ecx, edx
mov edx, ebx
nop dword [eax + eax]
cmp byte [edx], 0
je 0x427b46
inc edx
inc ecx
jne 0x426fc0
lea ecx, [esi - 8]
cmp eax, ecx
mov dword [esp + 0x10], ecx
ja 0x42700e
nop dword [eax + eax]
mov edi, dword [ebx + eax + 4]
mov edx, dword [ebx + eax]
mov ecx, 0x1010100
sub ecx, edi
or ecx, edi
mov edi, 0x1010100
sub edi, edx
or edi, edx
and edi, ecx
not edi
test edi, 0x80808080
jne 0x42700e
add eax, 8
cmp eax, dword [esp + 0x10]
jbe 0x426fe0
sub esi, eax
je 0x42702d
add ebx, eax
nop word cs:[eax + eax]
nop
cmp byte [ebx], 0
je 0x427b46
inc ebx
dec esi
jne 0x427020
lea ecx, [esp + 0xc0]
call fcn.0040e110
mov esi, eax
movzx eax, byte [0x4af0d4]
mov edi, edx
xor ecx, ecx
mov edx, 0x20
call fcn.0042bb70
test eax, eax
je 0x427b46
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], edi
mov ecx, eax
movq xmm0, qword [0x4af0b0]
mov edi, ecx
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
nop dword [eax + eax]
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x427b46
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x4af0b0]
jne 0x427090
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ecx
mov byte [edi + 0x1c], 0
lock inc dword [edi]
jle 0x427b46
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x18
call fcn.0042bb70
test eax, eax
je 0x427b46
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [esp + 0xc0], eax
mov ebx, eax
lock inc dword [eax]
jle 0x427b46
movzx eax, byte [0x4af05c]
test al, al
je 0x427160
mov byte [0x4af05c], 1
call fcn.0042b510
test eax, eax
je 0x427b46
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x427160
lock inc dword [esi]
jle 0x427b46
mov byte [0x4af05c], 1
call fcn.0042b510
test eax, eax
je 0x427b3a
mov ecx, dword [eax]
mov dword [eax], esi
test ecx, ecx
jne 0x42718d
jmp 0x42719b
movzx eax, byte [0x4af05c]
test al, al
je 0x427199
mov byte [0x4af05c], 1
call fcn.0042b510
test eax, eax
je 0x427b46
mov ecx, dword [eax]
mov dword [eax], 0
xor esi, esi
test ecx, ecx
je 0x42719b
lock dec dword [ecx]
jne 0x42719b
call fcn.00425960
jmp 0x42719b
xor esi, esi
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x10], edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x4271bb
lock inc dword [ecx + 0xc]
jle 0x427b2e
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x40
call fcn.0042bb70
test eax, eax
je 0x427b46
mov edi, eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 8
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
movsd xmm0, qword [esp + 0x8c]
movsd xmm1, qword [esp + 0x94]
movsd qword [edi + 0xc], xmm0
movsd qword [edi + 0x14], xmm1
movsd xmm0, qword [esp + 0x9c]
movsd qword [edi + 0x1c], xmm0
movsd xmm0, qword [esp + 0xa4]
movsd qword [edi + 0x24], xmm0
movsd xmm0, qword [esp + 0xac]
movsd qword [edi + 0x2c], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [edi + 0x34], xmm0
mov eax, dword [esp + 0xbc]
mov dword [edi + 0x3c], eax
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
je 0x427b46
mov esi, eax
mov dword [eax], edi
mov dword [eax + 4], 0x4a7d50
push 0
push 0x10000
push eax
push 0x42bab0
push dword [esp + 0x1c]
push 0
call sub.kernel32.dll_CreateThread
test eax, eax
je 0x42753e
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
push eax
call sub.kernel32.dll_CloseHandle
lock dec dword [esi]
jne 0x4272bc
mov ecx, dword [esp + 0x80]
call fcn.00428330
mov eax, dword [esp + 0x84]
lock dec dword [eax]
mov edi, dword [esp + 0x14]
jne 0x426b70
lea ecx, [esp + 0x84]
call fcn.004259a0
jmp 0x426b70
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x2c], edx
push dword [esp + 0xc8]
call fcn.0041c520
add esp, 4
test byte [esp + 0x1b4], 1
mov dword [esp + 0x40], edi
je 0x427319
mov edx, dword [esp + 0x10]
jmp 0x42739c
mov eax, dword [esp + 0x1bc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x42739c
mov ecx, dword [esp + 0x1b8]
cmp eax, 1
jne 0x42734b
movzx eax, byte [ecx]
cmp eax, 0x2b
je 0x42739c
mov edi, 1
cmp eax, 0x2d
je 0x42739c
jmp 0x4273f6
cmp byte [ecx], 0x2b
jne 0x4273eb
inc ecx
cmp eax, 0xa
lea edi, [eax - 1]
jb 0x4273f6
mov dword [esp + 0xc], 0
nop dword [eax]
sub edi, 1
jb 0x4273a4
mov eax, dword [esp + 0xc]
mov edx, 0xa
mul edx
mov dword [esp + 0xc], eax
jo 0x427310
movzx eax, byte [ecx]
mov edx, dword [esp + 0x10]
add eax, 0xffffffd0
cmp eax, 9
ja 0x42739c
inc ecx
add dword [esp + 0xc], eax
jae 0x427370
mov dword [esp + 0xc], 0x200000
cmp dword [esp + 0x40], 0
je 0x4273c0
push dword [esp + 0x2c]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [0x4af058], eax
mov eax, edx
mov dword [esp + 0xc], ecx
neg eax
jo 0x426e3b
jmp 0x426f23
mov ecx, esi
call fcn.0042a750
jmp 0x426dcf
mov edi, eax
cmp eax, 9
jae 0x427361
mov dword [esp + 0xc], 0
nop
movzx eax, byte [ecx]
add eax, 0xffffffd0
cmp eax, 9
ja 0x42739c
mov edx, dword [esp + 0xc]
inc ecx
dec edi
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
jne 0x427400
jmp 0x4273a4
mov eax, dword [esp + 0xc0]
lock dec dword [eax]
jne 0x42743b
lea ecx, [esp + 0xc0]
call fcn.0042cc20
lea ecx, [esp + 0x50]
call fcn.00427bd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov byte [ecx], 6
mov esi, dword [edi + 0xc]
test esi, esi
je 0x427489
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x42746c
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x427489
cmp dword [edi + 8], 9
jb 0x42747b
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4274c4
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x18]
mov eax, dword [edi]
test eax, eax
je 0x4274a7
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4274c4
cmp dword [edi + 8], 9
jb 0x4274b6
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x4274ff
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x20]
mov eax, dword [edi]
test eax, eax
je 0x4274e2
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4274ff
cmp dword [edi + 8], 9
jb 0x4274f1
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x427536
mov edi, dword [eax + 0x28]
mov eax, dword [edi]
test eax, eax
je 0x427519
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x427536
cmp dword [edi + 8], 9
jb 0x427528
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x42754f
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x42756c
cmp dword [ebx + 8], 9
jb 0x42755e
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
call sub.kernel32.dll_GetLastError
mov ecx, dword [esp + 0x40]
mov esi, eax
lock dec dword [ecx]
jne 0x427596
lea ecx, [esp + 0xc0]
call fcn.004259a0
mov ecx, dword [esp + 0x10]
lock dec dword [ecx]
jne 0x4275a4
call fcn.00428330
mov eax, dword [esp + 0x38]
mov dword [eax + 4], esi
mov dword [eax], 0
lea ecx, [esp + 0x50]
call fcn.00427bd0
mov eax, dword [esp + 0x18]
lock dec dword [eax + 0xe8]
jne 0x4276cb
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x104]
test eax, eax
je 0x4276cb
mov ecx, dword [esp + 0x18]
mov esi, 4
xor ebx, ebx
mov edi, dword [ecx + 0x100]
lea ecx, [eax + eax*8]
lea ecx, [ecx + ecx*2]
add ecx, eax
add edi, 0x10
jmp 0x427610
add edi, 0x1c
add esi, 0x40
inc ebx
add ecx, 0xffffffe4
je 0x4276cb
mov eax, 3
xchg dword [edi], eax
cmp eax, 2
jne 0x427600
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
cmp dword [edx + 0xf4], ebx
jbe 0x427b46
mov edi, dword [edx + 0xf0]
lea eax, [edi + esi]
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], eax
xor eax, eax
mov ah, 1
lock cmpxchg byte [edi + esi], ah
mov dword [esp + 0x10], ecx
jne 0x4276a9
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp byte [eax + esi + 1], 0
je 0x427685
mov edx, eax
lea eax, [eax + esi - 4]
mov byte [edx + esi + 1], 0
lock inc dword [edx + esi - 4]
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
lock dec dword [edx + 0xf8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xc]
xor eax, eax
xchg byte [edx], al
cmp al, 2
jne 0x427600
push edx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov ecx, dword [esp + 0x10]
jmp 0x427600
mov ecx, dword [esp + 0xc]
call fcn.0042a750
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp byte [eax + esi + 1], 0
jne 0x42765f
jmp 0x427685
mov eax, dword [esp + 0x30]
lock dec dword [eax]
jne 0x4276dd
lea ecx, [esp + 0x30]
call fcn.0042ca20
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x427459
jmp 0x427489
mov edx, esi
mov byte [esp + 0x20], al
lea ecx, [esp + 0xc0]
push 0x10
call fcn.00427b50
add esp, 4
mov edx, esi
lea ecx, [esp + 0xcc]
push 8
call fcn.00427b50
add esp, 4
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x24], eax
shl eax, 4
mov dword [esp + 0x18], edx
mov edx, ebx
mov dword [esp + 0x2c], ecx
lea edi, [eax + ecx + 0xc]
nop dword [eax]
mov dword [esp + 0x10], esi
movzx eax, byte [0x4af0d4]
cmp byte [esp + 0x20], 0
mov dword [esp + 0xc], edx
je 0x4277d0
xor ecx, ecx
mov edx, 0x200
call fcn.0042bb70
test eax, eax
je 0x427b46
mov ebx, eax
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 8
call fcn.0042bb70
test eax, eax
je 0x427b46
mov dword [eax], ebx
mov dword [esp + 0x1c], ebx
mov dword [eax + 4], 0x40
mov esi, eax
xor ecx, ecx
mov edx, 0x100
xor ebx, ebx
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
jne 0x42782d
jmp 0x427b46
xor ecx, ecx
mov edx, 0x200
call fcn.0042bb70
test eax, eax
je 0x427b46
mov ebx, eax
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 8
call fcn.0042bb70
test eax, eax
je 0x427b46
mov dword [eax], ebx
mov dword [esp + 0x1c], ebx
mov dword [eax + 4], 0x40
mov esi, eax
xor ecx, ecx
mov edx, 0x100
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
je 0x427b46
mov bl, 1
mov ecx, eax
and ecx, 0xffffffc0
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], 1
mov dword [ecx + 0x44], 1
mov dword [ecx + 0x80], esi
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0xc4], 0
lock inc dword [ecx + 0x40]
mov esi, dword [esp + 0x10]
jle 0x427b46
mov eax, dword [esp + 0x1c]
add ecx, 0x40
mov edx, dword [esp + 0xc]
inc dword [esp + 0x24]
mov dword [edi - 0xc], ecx
mov dword [edi - 8], eax
mov eax, dword [esp + 0x18]
mov dword [edi - 4], 0x40
mov byte [edi], bl
add edi, 0x10
mov dword [eax + edx*8], ecx
mov byte [eax + edx*8 + 4], bl
inc edx
dec esi
jne 0x427750
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0xcc]
mov dword [esp + 0xc], edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 4
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 4
mov dword [esp + 0xd4], 0
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0xc0]
mov edx, ebx
push 0x10
call fcn.00427b50
add esp, 4
mov ecx, esi
mov edx, ebx
push 8
call fcn.00427b50
add esp, 4
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], ecx
mov ecx, esi
shl ecx, 4
lea edi, [ecx + eax + 0xc]
nop word [eax + eax]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], esi
xor ecx, ecx
mov edx, 0x200
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
je 0x427b46
mov esi, eax
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 8
call fcn.0042bb70
test eax, eax
je 0x427b46
mov dword [eax], esi
mov dword [eax + 4], 0x40
mov ebx, eax
xor ecx, ecx
mov edx, 0x100
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
je 0x427b46
mov ecx, eax
and eax, 0xffffffc0
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], 1
mov dword [eax + 0x44], 1
mov dword [eax + 0x80], ebx
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
lock inc dword [eax + 0x40]
mov ebx, dword [esp + 0x20]
jle 0x427b46
add eax, 0x40
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [edi - 0xc], eax
mov dword [edi - 8], esi
mov esi, dword [esp + 0x40]
mov dword [edi - 4], 0x40
mov byte [edi], 0
add edi, 0x10
mov dword [ecx + edx*8], eax
mov byte [ecx + edx*8 + 4], 0
inc edx
inc esi
dec ebx
mov dword [esp + 0x10], edx
jne 0x427960
mov dword [esp + 0xc8], esi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x20], eax
jmp 0x426844
mov eax, dword [esp + 0x38]
test dword [esp + 0x10], 0x7fffffff
mov byte [eax], 5
jne 0x427ab4
mov eax, dword [esp + 0xa8]
lock dec dword [eax]
jne 0x427ad1
lea ecx, [esp + 0xa8]
call fcn.0042cc20
mov eax, dword [esp + 0xa0]
lock dec dword [eax]
je 0x427add
mov eax, dword [esp + 0xb8]
lock dec dword [eax]
jne 0x427aa7
lea ecx, [esp + 0xb8]
call fcn.0042ca20
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jmp 0x4275b1
push dword [esp + 0x1c]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0xa8]
lock dec dword [eax]
je 0x427a77
mov eax, dword [esp + 0xa0]
lock dec dword [eax]
jne 0x427a8f
lea ecx, [esp + 0xa0]
call fcn.0042cc20
mov eax, dword [esp + 0xb8]
lock dec dword [eax]
je 0x427a9b
jmp 0x427aa7
mov eax, dword [esp + 0xc]
test edi, 0x7fffffff
je 0x42643a
push eax
jmp 0x42642d
test edi, 0x7fffffff
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
lea ebx, [esp + 0xc0]
je 0x426593
push eax
jmp 0x426586
add ecx, 8
xor edx, edx
call fcn.00429d40
ud2
lock dec dword [esi]
jne 0x427b46
mov ecx, esi
call fcn.00425960
ud2