joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp edx, eax
mov esi, eax
mov dword [ebp - 0x10], edx
cmovb esi, edx
test esi, esi
je 0x480d3b
xor edx, edx
xor edi, edi
mov dword [ebp - 0x14], esi
nop word cs:[eax + eax]
mov dword [ebp - 0x18], edx
mov eax, dword [ebx + edi*4]
mov edx, ecx
mov ecx, dword [ecx + edi*4]
mov esi, ecx
xor esi, eax
mov ebx, ecx
sub ebx, eax
lea eax, [esi - 1]
xor ebx, ecx
or ebx, esi
not esi
and eax, esi
sar eax, 0x1f
xor ebx, ecx
mov ecx, edx
sar ebx, 0x1f
mov esi, ebx
not ebx
and ebx, 1
or ebx, esi
mov esi, eax
and esi, dword [ebp - 0x18]
not eax
and eax, ebx
mov ebx, dword [ebp + 8]
or eax, esi
mov esi, dword [ebp - 0x14]
inc edi
mov edx, eax
cmp esi, edi
jne 0x480cf0
jmp 0x480d3d
xor eax, eax
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jae 0x480d6e
xor ecx, ecx
nop dword [eax]
or ecx, dword [ebx + edx*4]
inc edx
cmp esi, edx
jne 0x480d50
mov edx, ecx
not edx
dec ecx
and ecx, edx
sar ecx, 0x1f
mov edx, ecx
and edx, eax
not ecx
or ecx, edx
mov eax, ecx
jmp 0x480d9f
jbe 0x480d9f
xor edi, edi
nop word cs:[eax + eax]
or edi, dword [ecx + esi*4]
inc esi
cmp edx, esi
jne 0x480d80
mov edx, edi
not edx
dec edi
and edi, edx
sar edi, 0x1f
mov edx, edi
and edx, eax
not edi
and edi, 1
or edi, edx
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x480ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
mov esi, dword [eax + 4]
xor edx, edx
cmp edi, esi
jge 0x480ef8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
xor edx, edx
mov ebx, edi
nop word cs:[eax + eax]
or edx, dword [eax + ebx*4]
inc ebx
cmp esi, ebx
jne 0x480ef0
cmp esi, edi
jge 0x480f08
mov eax, dword [ecx]
mov ebx, esi
or edx, dword [eax + ebx*4]
inc ebx
cmp edi, ebx
jne 0x480f00
cmp edi, esi
cmovl esi, edi
test esi, esi
jle 0x480f2d
mov edi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
xor eax, eax
nop word [eax + eax]
mov ecx, dword [ebx + eax*4]
xor ecx, dword [edi + eax*4]
or edx, ecx
inc eax
cmp esi, eax
jne 0x480f20
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0xc]
xor eax, eax
or ecx, edx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x486240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [edx + 4]
test eax, eax
je 0x486283
mov edi, edx
mov ebx, dword [edx]
xor edx, edx
xor esi, esi
nop dword [eax + eax]
or esi, dword [ebx + edx*4]
inc edx
cmp eax, edx
jne 0x486260
test esi, esi
je 0x486283
test eax, eax
jle 0x486275
test byte [ebx], 1
jne 0x4862a5
push 0xa8
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x68
jmp 0x48628f
push 0xa4
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x69
push 0
push 3
call fcn.004bee40
add esp, 0x14
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [edi + 0xc], 0
je 0x4862b9
push 0xac
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x6d
jmp 0x48628f
mov dword [ebp - 0x10], ecx
lea ebx, [ecx + 0x14]
cmp ebx, edi
je 0x4862fd
push eax
push ebx
call fcn.004801b0
add esp, 8
test eax, eax
je 0x486335
mov eax, dword [edi + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x4862ef
push ecx
push dword [edi]
push dword [ebx]
call fcn.004ebcd0
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x20], eax
mov edi, ebx
test edi, edi
je 0x486335
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
mov esi, eax
test esi, esi
jle 0x486346
mov edx, dword [ebx]
lea edi, [esi - 1]
cmp dword [edx + esi*4 - 4], 0
mov esi, edi
je 0x486310
inc edi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], edi
mov ecx, dword [edx]
cmp edi, 2
jb 0x48635b
mov edx, dword [edx + 4]
jmp 0x48635d
push 0xb2
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x44
jmp 0x48628f
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
test eax, eax
js 0x486357
mov dword [edx + 0x20], 0
mov eax, dword [ebx]
mov ecx, dword [eax]
xor edx, edx
xor eax, eax
mov esi, 1
mov edi, 0x40
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
nop
mov dword [ebp - 0x24], edi
and esi, 1
neg esi
mov edi, 0
sbb edi, edi
mov edx, dword [ebp - 0x1c]
and edx, edi
and esi, ecx
mov ecx, edx
xor ecx, eax
and edx, eax
mov eax, esi
xor eax, dword [ebp - 0x14]
and esi, dword [ebp - 0x14]
shrd eax, ecx, 1
shr ecx, 1
add esi, eax
adc edx, ecx
mov ecx, dword [ebp - 0x20]
and edi, 0x80000000
shrd dword [ebp - 0x18], ebx, 1
shr ebx, 1
or ebx, edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x14], esi
mov eax, edx
dec edi
jne 0x486380
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
mov eax, 1
jmp 0x48629d
Function at 0x488d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [esp + 0x1c8], eax
test ebx, ebx
je 0x488ffe
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
call fcn.004bfae0
lea ecx, [esp + 0x1a0]
test eax, eax
je 0x488dcc
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
jmp 0x488dd7
push 0x20
push ecx
call fcn.004bfb10
add esp, 8
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax]
xor byte [esp + eax + 0x1a0], cl
inc eax
cmp eax, 0x20
jne 0x488de0
lea eax, [esp + 0x78]
push 0x128
push 0xff
push eax
call fcn.004ec250
add esp, 0xc
push 1
call fcn.004bf3f0
add esp, 4
test eax, eax
je 0x488e36
mov esi, eax
add eax, 0x120
mov dword [esp + 4], eax
cmp dword [esi + 0x120], 0xfff
jbe 0x488eeb
jmp 0x488ef9
push 0x128
call fcn.004a4f10
add esp, 4
test eax, eax
je 0x488e5d
mov esi, eax
push 0x495b00
push eax
push 1
call fcn.004bf490
add esp, 0xc
test eax, eax
jne 0x488e61
lea esi, [esp + 0x78]
mov dword [esi + 0x124], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.004bfb10
add esp, 8
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00495380
add esp, 0x10
test eax, eax
je 0x489014
lea eax, [esi + 0x120]
mov dword [esp + 4], eax
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x118]
or eax, dword [esi + 0x11c]
je 0x488f68
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.004bfb10
add esp, 8
mov ecx, esi
lea edx, [esp + 0x40]
push 0x30
call fcn.00495610
add esp, 4
test eax, eax
je 0x489014
mov dword [esi + 0x110], 1
mov dword [esi + 0x114], 0
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
cmp ebx, 0x10000
mov ecx, 0x10000
cmovb ecx, ebx
push 0x20
lea eax, [esp + 0x1a4]
push eax
mov dword [esp + 0x14], ecx
push ecx
push edi
mov dword [esp + 0x18], esi
push esi
call fcn.004958d0
add esp, 0x14
test eax, eax
je 0x489014
mov eax, dword [esp + 4]
inc dword [eax]
mov eax, dword [esp + 0xc]
sub ebx, eax
je 0x488fe6
add edi, eax
nop word [eax + eax]
cmp ebx, 0x10000
mov esi, 0x10000
cmovb esi, ebx
push 0
lea eax, [esp + 0x1a4]
push eax
push esi
push edi
push dword [esp + 0x18]
call fcn.004958d0
add esp, 0x14
test eax, eax
je 0x489014
add edi, esi
mov eax, dword [esp + 4]
inc dword [eax]
sub ebx, esi
jne 0x488fb0
lea eax, [esp + 0x78]
cmp dword [esp + 8], eax
jne 0x488ffe
push 0x118
push eax
call fcn.004a4f90
add esp, 8
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.004e96e3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004fada0
int3
Function at 0x495380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x53c014]
xor ecx, ebp
mov dword [esp + 0x88], ecx
xor esi, esi
cmp eax, 0x30
ja 0x4955d5
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ecx + 0x20]
movaps xmmword [esp + 0x40], xmm0
movdqu xmm0, xmmword [ecx]
movdqu xmm1, xmmword [ecx + 0x10]
movdqa xmmword [esp + 0x30], xmm1
movdqa xmmword [esp + 0x20], xmm0
test eax, eax
je 0x4953ed
mov ecx, dword [ebp + 0x10]
xor edx, edx
nop word cs:[eax + eax]
movzx ebx, byte [ecx + edx]
xor byte [esp + edx + 0x20], bl
inc edx
cmp eax, edx
jne 0x4953e0
mov esi, dword [ebp + 8]
xor eax, eax
nop word cs:[eax + eax]
movzx ecx, byte [eax + 0x52d828]
xor byte [esp + eax + 0x20], cl
inc eax
cmp eax, 0x30
jne 0x495400
lea edi, [esi + 0xf4]
mov eax, dword [0x551d1c]
test eax, 0x2000000
jne 0x49556b
test eax, 0x200
jne 0x49558a
mov dword [esp + 0xc], edi
mov dword [esi + 0xf0], 0xe
movaps xmm0, xmmword [esp + 0x20]
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esi], xmm0
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x60], xmm0
movups xmmword [esi + 0x10], xmm0
mov edi, 0x30
mov ebx, 0x52db48
movdqa xmm0, xmmword [esp + 0x70]
movdqa xmmword [esp + 0x10], xmm0
lea esi, [esp + 0x50]
nop word cs:[eax + eax]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov ecx, esi
lea edx, [esp + 0x60]
call fcn.0049b990
movzx eax, byte [ebx]
movd xmm1, eax
pxor xmm1, xmmword [esp + 0x10]
movdqa xmm0, xmmword [esp + 0x50]
movdqa xmm2, xmm0
psrld xmm2, 8
pslld xmm0, 0x18
por xmm0, xmm2
psrldq xmm0, 0xc
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 0xc
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqa xmmword [esp + 0x70], xmm1
movaps xmm0, xmmword [esp + 0x70]
mov eax, dword [ebp + 8]
movups xmmword [eax + edi - 0x10], xmm0
cmp edi, 0xf0
je 0x4955ed
movdqa xmmword [esp + 0x10], xmm1
mov ecx, esi
lea edx, [esp + 0x70]
call fcn.0049b990
movdqa xmm0, xmmword [esp + 0x50]
psrldq xmm0, 0xc
pxor xmm0, xmmword [esp + 0x60]
movdqa xmm1, xmm0
movdqa xmm2, xmm0
pslldq xmm2, 0xc
pxor xmm2, xmm0
pslldq xmm0, 4
pslldq xmm1, 8
pxor xmm1, xmm0
pxor xmm2, xmm1
movdqa xmmword [esp + 0x60], xmm2
movdqa xmm0, xmmword [esp + 0x60]
mov eax, dword [ebp + 8]
movdqu xmmword [eax + edi], xmm0
add edi, 0x20
inc ebx
jmp 0x495480
lea eax, [esp + 0x20]
push esi
push 0x100
push eax
call fcn.00403380
add esp, 0xc
mov ecx, section..text
mov eax, 0x401b90
jmp 0x4955a4
lea eax, [esp + 0x20]
push esi
push 0x100
push eax
call fcn.00403ea0
add esp, 0xc
mov ecx, 0x403f50
xor eax, eax
test edi, edi
je 0x4955aa
mov dword [edi], ecx
mov dword [esi + 0xf8], eax
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [esi + 0xfc], xmm0
mov dword [esi + 0x114], 0
mov dword [esi + 0x110], 1
mov esi, 1
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.004e96e3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x47e180
mov eax, 0x47f4c0
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, dword [ebp + 8]
jne 0x4955a8
jmp 0x4955aa
Function at 0x4a5060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4a5093
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
nop word [eax + eax]
movzx eax, byte [ecx + esi]
xor al, byte [edx + esi]
or bl, al
inc esi
cmp edi, esi
jne 0x4a5080
movzx eax, bl
jmp 0x4a5095
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4a7850
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
lea esi, [ebp - 0x18]
push 6
push esi
push ecx
call fcn.004a7210
add esp, 0xc
test eax, eax
je 0x4a79fc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
push esi
call fcn.004899d0
add esp, 4
movzx ebx, byte [0x531e71]
cmp eax, ebx
jne 0x4a78dc
mov edi, eax
push esi
call fcn.00489ae0
add esp, 4
mov ecx, 0x531e64
test bl, bl
je 0x4a79ec
push edi
push 0x531e68
push eax
call fcn.004eadbd
mov ecx, 0x531e64
add esp, 0xc
test eax, eax
je 0x4a79ec
push esi
call fcn.004899d0
add esp, 4
movzx ebx, byte [0x531efd]
cmp eax, ebx
jne 0x4a7924
mov edi, eax
push esi
call fcn.00489ae0
add esp, 4
mov ecx, 0x531ef0
test bl, bl
je 0x4a79ec
push edi
push 0x531ef4
push eax
call fcn.004eadbd
mov ecx, 0x531ef0
add esp, 0xc
test eax, eax
je 0x4a79ec
push esi
call fcn.004899d0
add esp, 4
movzx ebx, byte [0x531f89]
cmp eax, ebx
jne 0x4a796c
mov edi, eax
push esi
call fcn.00489ae0
add esp, 4
mov ecx, 0x531f7c
test bl, bl
je 0x4a79ec
push edi
push 0x531f80
push eax
call fcn.004eadbd
mov ecx, 0x531f7c
add esp, 0xc
test eax, eax
je 0x4a79ec
push esi
call fcn.004899d0
add esp, 4
movzx ebx, byte [0x532015]
cmp eax, ebx
jne 0x4a79ac
mov edi, eax
push esi
call fcn.00489ae0
add esp, 4
mov ecx, 0x532008
test bl, bl
je 0x4a79ec
push edi
push 0x53200c
push eax
call fcn.004eadbd
mov ecx, 0x532008
add esp, 0xc
test eax, eax
je 0x4a79ec
push esi
call fcn.004899d0
add esp, 4
movzx ebx, byte [0x5320a5]
cmp eax, ebx
jne 0x4a7a03
mov edi, eax
push esi
call fcn.00489ae0
add esp, 4
mov ecx, 0x532098
test bl, bl
je 0x4a79ec
push edi
push 0x53209c
push eax
call fcn.004eadbd
mov ecx, 0x532098
add esp, 0xc
test eax, eax
jne 0x4a7a03
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x1c], 1
jmp 0x4a7a03
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, dword [ebp - 0x1c]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4ab2f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4ab301
test eax, eax
jne 0x4ab351
test eax, eax
jne 0x4ab317
mov ecx, dword [0x5508b4]
test ecx, ecx
je 0x4ab317
call dword [section..00cfg]
call ecx
cmp dword [0x5508ac], 0
je 0x4ab351
mov esi, dword [0x5508b0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x4ab357
test esi, esi
je 0x4ab351
mov ecx, dword [0x5508ac]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
pop esi
pop edi
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x4ab33f
jmp 0x4ab351

Function at 0x4bc920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x551d78]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4bc94b
mov ecx, 0x551d70
pop ebp
jmp fcn.00472290
push 0x551d78
call fcn.004e8cc7
add esp, 4
cmp dword [0x551d78], 0xffffffff
jne 0x4bc940
mov dword [0x551d74], 0
mov dword [0x551d70], 0
mov ecx, 0x551d70
push 0
call fcn.00472300
push 0x551d78
call fcn.004e8d3d
add esp, 4
jmp 0x4bc940

Function at 0x4bd640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x4bd705
mov esi, ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0x9ffffff
lea edx, [esp + 0xc]
cmp edx, str.discarded
ja 0x4bd697
lea eax, [esp + 0x15]
cmp eax, str.discarded
ja 0x4bd71c
mov dword [esp + 0x10], 0x65647261
mov dword [esp + 0xc], 0x63736964
mov word [esp + 0x14], 0x64
mov edi, esp
mov ecx, esi
push edx
push edi
call fcn.004bd5b0
push 0x48
call fcn.004e8c26
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x14]
push eax
call fcn.004bd970
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x4bd6ef
mov ecx, edi
call fcn.004bda60
push edi
call fcn.004e8c56
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x4bd702
push dword [esp + 0xc]
call fcn.004e8c56
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.004e96e3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xec
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0041a308
int3
Function at 0x4bf2b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x53c014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
jne 0x4bf3cd
mov dword [ebp - 0x14], 0x4bf470
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4bf240
push 0x551d94
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4bf3e1
cmp dword [0x551d98], 0
jne 0x4bf3cd
push dword [0x551d9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bf3cd
mov esi, eax
push 0x551da0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x551da4]
mov ebx, dword [0x551da8]
mov eax, dword [0x551dac]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x551db0]
mov dword [ebp - 0x20], eax
mov eax, dword [0x551db4]
mov dword [ebp - 0x24], eax
push 0x551da0
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4bf36b
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x4bf380
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4bf396
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x4bf3af
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x4bf3c4
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.004a4f50
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.004fada0
int3

Function at 0x4bf3f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4bf470
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4bf240
push 0x551d94
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4bf46a
xor esi, esi
cmp dword [0x551d98], 0
jne 0x4bf456
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x551d9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x4bf456
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004fada0
int3
Function at 0x4bf490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4bf470
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4bf240
push 0x551d94
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4bf588
mov esi, dword [ebp + 0x10]
cmp dword [0x551d98], 0
je 0x4bf4e8
mov ecx, esi
call dword [section..00cfg]
push dword [ebp + 0xc]
call esi
add esp, 4
xor esi, esi
jmp 0x4bf534
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x551d9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x4bf548
mov ebx, dword [ebp + 8]
push 0x551da0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [ebx*4 + 0x551da4], esi
push 0x551da0
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
mov esi, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x14
call fcn.004a4f10
add esp, 4
test eax, eax
je 0x4bf4d4
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push dword [0x551d9c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4bf509
push edi
call fcn.004a4f50
add esp, 4
jmp 0x4bf4d4
call fcn.004fada0
int3
Function at 0x4c9190
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, ecx
xor eax, eax
xor ecx, ecx
cpuid
test eax, eax
jle 0x4c929b
mov esi, eax
mov dword [ebp - 0x14], edi
mov eax, 1
xor ecx, ecx
cpuid
mov edi, eax
mov dword [ebp - 0x10], ecx
mov ecx, 0
cmp esi, 7
mov ebx, 0
jb 0x4c91e1
mov eax, 7
xor ecx, ecx
mov esi, edx
cpuid
mov edx, esi
and ebx, 0x20
shr cl, 3
and cl, 1
mov esi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edi
mov eax, edi
and eax, 0xf
mov dword [ecx + 8], eax
shr edi, 0xc
and edi, 3
mov dword [ecx + 4], edi
mov edi, ecx
mov eax, edx
shr eax, 0x17
and al, 1
mov byte [ecx + 0xc], al
mov eax, edx
shr eax, 0x19
and al, 1
mov byte [ecx + 0xd], al
shr edx, 0x1a
and dl, 1
mov byte [ecx + 0xe], dl
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 1
mov byte [edi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [edi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [edi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [edi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [edi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [edi + 0x1a], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x4c926b
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x4c926d
xor eax, eax
mov byte [edi + 0x14], al
mov edx, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [edi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [edi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [edi + 0x16], cl
mov eax, esi
mov byte [edi + 0x18], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000006
jle 0x4c92c0
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [edi + 0x19], dh
test dh, dh
jne 0x4c92f2
jmp 0x4c92c7
mov dh, byte [edi + 0x19]
test dh, dh
jne 0x4c92f2
cmp byte [edi + 0x1a], 0
je 0x4c92f2
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x4c92f2
cmp ecx, 0x666f736f
jne 0x4c92f2
cmp edx, 0x76482074
jne 0x4c92f2
mov byte [edi + 0x19], 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret