Function at 0x140018540
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140018570
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp sym.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
rol byte [rcx], 1
add byte [rax], al
or al, dh
and eax, 0x7a020000
invalid
push rbx
je 0x14027ad00
pop rdi
pop rdi
invalid
outsb dx, byte [rsi]
ja 0x14027ad34
je case.0x140018576.5
xor dword [rbx + 0x68], esp
invalid
ja 0x14027ad37
push rbx
invalid
push rdx
push r11
push rbx
push rbx
xor al, 0x5f
jns 0x14027ad80
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
xlatb
pop qword [rax]
add ah, ch
pop qword [rax]
add byte [rbx], al
mov dh, 0xd0
add dword [rax], eax
add bl, cl
rol byte [rcx], 1
add byte [rdx], al
imul ebp, dword [rdx], 0x6a690200
add byte [rax], al
add byte [rax], cl
invalid
add byte [rdx], al
mov eax, dword [rsi]
invalid
pop rdx
push rbx
je 0x14027ad70
pop rdi
pop rdi
invalid
js 0x14027adb6
xor dword [rcx], esi
xor dword [rdx], esi
invalid
jb 0x14027adbd
imul esi, dword [rbx + rsi*2 + 0x49], 0x61534577
ja 0x14027adac
invalid
push rax
ja 0x14027aded
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
nop
add byte [rax], al
push rsp
nop
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
fst qword [rbp + 0x69020001]
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add byte [rax], cl
invalid
and eax, 0x9c020000
invalid
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add byte [rax], cl
invalid
pop rdi
invalid
jae 0x14027ae17
invalid
jb 0x14027ae1d
outsb dx, byte [rsi]
ja 0x14027ae0c
ja 0x14027ae0c
je 0x14027adec
xor dword [rbx + 0x68], esp
push 0x745f7261
jb 0x14027ae25
invalid
imul esi, dword [rbx + rsi*2 + 0x49], 0x61534577
ja case.0x140018576.17
invalid
imul esp, dword [rdi + 0x6e], 0x774b5045
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
stosd dword [rdi], eax
nop
add byte [rax], al
mov dh, 0x90
nop
nop
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
add dword [rax], eax
add bl, ch
xchg ebp, eax
add dword [rax], eax
add byte [rax], al
invalid
add byte [rdx], al
fst qword [rbp + 0x8000001]
invalid
scasb al, byte [rdi]
invalid
invalid
imul esp, dword [rbx + 0x5f], 0x69727473
jb 0x14027ae7f
outsb dx, byte [rsi]
ja 0x14027ae6e
je 0x14027ae4e
xor dword [rbx + 0x68], esp
invalid
pop rdi
je 0x14027ae97
invalid
imul esp, dword [rdi + 0x6e], 0x777945
jrcxz 0x14027ae0f
add dword [rax], eax
add dword [rcx + rdx*4], ecx
add byte [rax], al
sbb al, 0x91
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
add byte [rdx], al
imul ebp, dword [rdx], 0x2150200
add byte [rax], al
add byte [rax], cl
invalid
pop rdx
push rbx
je 0x14027aea0
pop rdi
pop rdi
invalid
js case.0x140018576.29
xor dword [rcx], esi
xor dword [rdx], esi
invalid
ja case.0x140018576.28
je 0x14027aeb4
xor dword [rbx + 0x68], esp
invalid
pop rdi
je 0x14027aefd
jb 0x14027aeed
invalid
imul esi, dword [rbx + rsi*2 + 0x49], 0x61534577
ja 0x14027aedc
invalid
outsb dx, byte [rsi]
push r11
push rbx
je case.0x140018576.28
imul ebp, dword ss:[rsi + 0x69], 0x6c616974
imul edi, dword [rdx + 0x65], 0x696c5f72
jp 0x14027af13
jb 0x14027af0f
insb byte [rdi], dx
invalid
jae 0x14027af28
jp 0x14027af13
jb 0x14027af0f
insb byte [rdi], dx
imul esi, dword [rbx + 0x74], 0x457749
jrcxz 0x14027ae8a
ja 0x14027aefc
add bl, ah
rol byte [rcx], 1
add dword [rax], eax
add dword [rdi - 0x6dffff6f], eax
xchg ecx, eax
add dword [rax], eax
add dword [rdi - 0x6dffff6f], eax
xchg ecx, eax
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
invalid
add byte [rdx], al
invalid
push rbx
je 0x14027af16
pop rdi
pop rdi
invalid
xor dword [rdx], esi
invalid
pop rdi
jae 0x14027af64
jb 0x14027af5b
outsb dx, byte [rsi]
ja 0x14027af4a
push rbx
push rbx
je case.0x140018576.32
xor dword [rbx + 0x68], esp
invalid
jb 0x14027af5e
je 0x14027af73
invalid
imul ebp, dword [rsi + 0x73], 0x45747265
jb 0x14027af89
jb 0x14027af89
cmp qword [rdi + 0x5f], r11
cmp qword [rdi + 0x5f], r11
outsb dx, byte [esi]
jne 0x14027af7d
invalid
insd dword [rdi], dx
invalid
insb byte [rdi], dx
pop rdi
imul esi, dword [rbp + riz*2 + 0x72], 0x726f7461
push r8
ja 0x14027af8c
xor al, 0x5f
jns 0x14027afb6
add byte [rbx + 0x1000074], bl
setb byte [rax]
add byte [rdx + rdx*4], ah
xchg edx, eax
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
invalid
add byte [rdx], al
adc eax, 2
add al, byte [rax]
add byte [rax], al
or byte [rsi + 0x28], bl
add byte [rax], al
add dh, byte [rdi + 7]
sub byte [rax], al
add byte [rdx], al
ja 0x14027af71
invalid
pop rdi
pop rdi
invalid
imul esp, dword [rbx + 0x5f], 0x69727473
outsb dx, byte [rsi]
ja 0x14027afdc
je 0x14027afbc
xor dword [rbx + 0x68], esp
invalid
invalid
pop rdi
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jb 0x14027b028
invalid
insb byte [rdi], dx
pop rdi
imul esi, dword [rbp + riz*2 + 0x72], 0x726f7461
push r8
ja 0x14027b01e
xor al, 0x5f
push r11
je 0x14027b003
imul ebp, dword ss:[rsi + 0x69], 0x6c616974
imul edi, dword [rdx + 0x65], 0x696c5f72
jae 0x14027b057
jb 0x14027b03e
insb byte [rdi], dx
imul esi, dword [rbx + 0x74], 0x457749
wait
je 0x14027afea
ja 0x14027b02b
add byte [rbx + 0x1000074], bl
add byte [rcx], al
mov dh, 0x92
add byte [rax], al
invalid
add byte [rax], cl
pop rsi
sub byte [rax], al
add byte [rdx], al
xchg ebx, eax
invalid
jae 0x14027b089
invalid
ja 0x14027b07e
je 0x14027b05e
xor dword [rbx + 0x68], esp
invalid
ja 0x14027b086
imul ebp, dword ss:[rsi + 0x73], 0x45747265
jns 0x14027b09e
push r11
xor al, 0x5f
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
and byte [rbx - 0x6cd00000], dl
add byte [rax], al
xchg ebx, eax
add byte [rax], al
xor byte [rbx - 0x49fd0000], dl
rol byte [rcx], 1
add byte [rdx], al
add esi, dword [rsi + 0x20001d0]
imul ebp, dword [rdx], 0xd0d90200
add dword [rax], eax
add byte [rax], cl
pop rsi
sub byte [rax], al
add byte [rdx], al
stosd dword [rdi], eax
invalid
pop rdi
invalid
invalid
imul esp, dword [rbx + 0x5f], 0x69727473
outsb dx, byte [rsi]
ja 0x14027b0e8
je 0x14027b0c8
xor dword [rbx + 0x68], esp
invalid
jb 0x14027b101
imul esi, dword [rbx + rsi*2 + 0x49], 0x61534577
ja 0x14027b0f0
imul ebp, dword ss:[rsi + 0x73], 0x45747265
jns 0x14027b108
push r11
xor al, 0x5f
jns 0x14027b135
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
mov word [rbx - 0x6c5a0000], ss
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
imul ebp, dword [rdx], 0xd0d90200
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add ch, byte [rcx + 0x6a]
add byte [rax], al
add byte [rax], cl
pop rsi
sub byte [rax], al
add byte [rdx], al
ret
push rbx
je 0x14027b12a
pop rdi
pop rdi
invalid
pop rdi
jae 0x14027b178
jb 0x14027b16f
outsb dx, byte [rsi]
ja 0x14027b15e
ja 0x14027b15e
je 0x14027b13e
xor dword [rbx + 0x68], esp
invalid
jns 0x14027b17c
ja 0x14027b1a8
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
call qword [rbx - 0x6bec0000]
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
imul ebp, dword [rdx], 0x95dd0200
mov dh, 0xd0
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add bl, ch
xchg ebp, eax
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add byte [rax], cl
pop rsi
sub byte [rax], al
add byte [rdx], al
xlatb
invalid
push rbx
je 0x14027b198
pop rdi
pop rdi
invalid
pop rdi
jae 0x14027b1e6
jb 0x14027b1dd
outsb dx, byte [rsi]
ja 0x14027b1cc
push rbx
je 0x14027b1ac
xor dword [rbx + 0x68], esp
invalid
invalid
jns 0x14027b1ea
ja 0x14027b19d
jrcxz 0x14027b16f
add dword [rax], eax
add dword [rsp + rdx*4], ebp
add byte [rsp + rdx*4], bh
add byte [rbx], al
mov dh, 0xd0
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add bl, ch
xchg ebp, eax
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
rol byte [rcx], 1
add byte [rdx], al
imul ebp, dword [rdx], 0x95dd0200
add dword [rax], eax
add byte [rax], cl
pop rsi
sub byte [rax], al
add byte [rdx], al
invalid
js 0x14027b246
xor dword [rcx], esi
xor dword [rdx], esi
invalid
invalid
ja 0x14027b234
je 0x14027b214
xor dword [rbx + 0x68], esp
invalid
jb 0x14027b24d
imul esi, dword [rbx + rsi*2 + 0x49], 0x61534577
ja 0x14027b23c
imul ebp, dword ss:[rsi + 0x73], 0x45747265
jns 0x14027b27b
ja 0x14027b204
jrcxz 0x14027b1d6
add dword [rax], eax
add ebx, edx
xchg esp, eax
add byte [rax], al
call 0x14327b2a6
mov dh, 0xd0
add dword [rax], eax
add ch, byte [rcx + 0x6a]
add byte [rax], al
add ch, byte [rcx + 0x6a]
add byte [rax], al
add dl, byte [0x14027b228]
or byte [rsi + 0x28], bl
add byte [rax], al
add al, byte [rbx]
or byte [rdi], al
pop rdi
pop rdx
push rbx
je 0x14027b26c
invalid
pop rdi
pop rdi
invalid
xor dword [rdx], esi
invalid
invalid
jb 0x14027b2b1
outsb dx, byte [rsi]
ja 0x14027b2a0
je 0x14027b280
xor dword [rbx + 0x68], esp
invalid
cmp qword [rdi + 0x5f], r11
outsb dx, byte [esi]
jne 0x14027b2d3
invalid
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jb 0x14027b2ec
invalid
insb byte [rdi], dx
pop rdi
imul esi, dword [rbp + riz*2 + 0x72], 0x726f7461
push r8
ja 0x14027b2e2
xor al, 0x5f
ja 0x14027b295
wait
je 0x14027b298
add byte [rcx], al
xchg ebp, eax
add byte [rax], al
je 0x14027b235
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
je 0x14027b23f
add byte [rax], al
add dl, byte [0x14027b2b4]
invalid
add byte [rdi], ah
ret
xor dword [rcx], esi
xor dword [rdx], esi
invalid
ja 0x14027b339
je 0x14027b319
xor dword [rbx + 0x68], esp
invalid
jb 0x14027b34d
je 0x14027b362
invalid
add ch, byte [rcx + 0x6a]
add byte [rax], al
add ch, byte [rcx + 0x6a]
add byte [rax], al
add byte [rax], cl
lodsd eax, dword [rsi]
sub byte [rax], al
add byte [rdx], al
push rsi
or byte [rdi], al
pop rdi
pop rdx
push rbx
je 0x14027b36a
pop rdi
pop rdi
invalid
xor dword [rcx], esi
xor ah, byte [rdx + 0x61]
jae 0x14027b3a9
invalid
xor dword [rbx + 0x68], esp
invalid
xor eax, 0x73617265
cmp qword gs:[rdi + 0x5f], r11
cmp dword [rdi + 0x5f], ebx
outsb dx, byte [esi]
jne 0x14027b3d0
invalid
or byte [rbp + 0x2000028], ch
push 8
invalid
jae 0x14027b42e
invalid
je 0x14027b403
xor dword [rbx + 0x68], esp
invalid
pop rdi
imul esi, dword [rbp + riz*2 + 0x72], 0x726f7461
push r8
ja 0x14027b464
xor al, 0x5f
push r11
cmp dword [rdi], ebx
wait
je 0x14027b41c
add byte [rcx], al
call 0x13827b4b9
xchg esi, eax
add byte [rax], al
add esi, dword [rsi + 0x20001d0]
je 0x14027b3c3
add byte [rax], al
add dh, byte [rbp + rdx*4]
add byte [rax], al
and eax, 0x2988
add bh, byte [rsi + 8]
invalid
pop rdi
je 0x14027b4d9
invalid
push r11
xor al, 0x5f
add bl, ah
rol byte [rcx], 1
add byte [rcx], al
lodsd eax, dword [rsi]
xchg edi, eax
add byte [rax], al
ret 0x97