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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x476d4d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x476d20
cmp edx, 1
jne 0x476d56
jmp 0x476d72
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x476d72
cmp edx, 2
je 0x476d69
cmp edx, 3
jne 0x476d7d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x476ede
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x476de6
lea edx, [ebx - 1]
and edx, edi
jmp 0x476df2
mov edx, edi
cmp edi, ebx
jb 0x476df2
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x476ede
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x476ede
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x476e45
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x476edc
mov ebx, dword [ebx]
test ebx, ebx
je 0x476edc
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x476ea0
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x476e59
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x476e3b
lea ecx, [ebx + 8]
test al, al
jns 0x476e67
mov ecx, dword [ecx]
js 0x476ebe
cmp dword [ebp - 0x14], 0
je 0x476ed8
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x476e3b
inc ecx
cmp eax, ecx
jne 0x476e80
jmp 0x476ed8
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x476e30
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x476e33
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x476e33
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x476ed8
push eax
push esi
push ecx
call fcn.004e4a1d
add esp, 0xc
test eax, eax
jne 0x476e3b
mov ecx, ebx
jmp 0x476ede
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x47b0b0
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 0x47b12b
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 0x47b0e0
jmp 0x47b12d
xor eax, eax
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jae 0x47b15e
xor ecx, ecx
nop dword [eax]
or ecx, dword [ebx + edx*4]
inc edx
cmp esi, edx
jne 0x47b140
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 0x47b18f
jbe 0x47b18f
xor edi, edi
nop word cs:[eax + eax]
or edi, dword [ecx + esi*4]
inc esi
cmp edx, esi
jne 0x47b170
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 0x47b2b0
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 0x47b2e8
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 0x47b2e0
cmp esi, edi
jge 0x47b2f8
mov eax, dword [ecx]
mov ebx, esi
or edx, dword [eax + ebx*4]
inc ebx
cmp edi, ebx
jne 0x47b2f0
cmp edi, esi
cmovl esi, edi
test esi, esi
jle 0x47b31d
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 0x47b310
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 0x480680
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 0x4806c3
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 0x4806a0
test esi, esi
je 0x4806c3
test eax, eax
jle 0x4806b5
test byte [ebx], 1
jne 0x4806e5
push 0xa8
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x68
jmp 0x4806cf
push 0xa4
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x69
push 0
push 3
call fcn.004b9040
add esp, 0x14
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [edi + 0xc], 0
je 0x4806f9
push 0xac
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x6d
jmp 0x4806cf
mov dword [ebp - 0x10], ecx
lea ebx, [ecx + 0x14]
cmp ebx, edi
je 0x48073d
push eax
push ebx
call fcn.0047a5a0
add esp, 8
test eax, eax
je 0x480775
mov eax, dword [edi + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x48072f
push ecx
push dword [edi]
push dword [ebx]
call fcn.004e5930
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 0x480775
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 0x480786
mov edx, dword [ebx]
lea edi, [esi - 1]
cmp dword [edx + esi*4 - 4], 0
mov esi, edi
je 0x480750
inc edi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], edi
mov ecx, dword [edx]
cmp edi, 2
jb 0x48079b
mov edx, dword [edx + 4]
jmp 0x48079d
push 0xb2
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x44
jmp 0x4806cf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
test eax, eax
js 0x480797
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 0x4807c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
mov eax, 1
jmp 0x4806dd
Function at 0x4831e0
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 [0x533014]
xor eax, ebp
mov dword [esp + 0x1c8], eax
test ebx, ebx
je 0x48347e
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.004b9ce0
test eax, eax
je 0x483245
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
jmp 0x483257
lea eax, [esp + 0x1a0]
push 0x20
push eax
call fcn.004b9d10
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 0x483260
lea eax, [esp + 0x78]
push 0x128
push 0xff
push eax
call fcn.004e5eb0
add esp, 0xc
push 1
call fcn.004b95f0
add esp, 4
test eax, eax
je 0x4832b6
mov esi, eax
add eax, 0x120
mov dword [esp + 4], eax
cmp dword [esi + 0x120], 0xfff
jbe 0x48336b
jmp 0x483379
push 0x128
call fcn.0049f180
add esp, 4
test eax, eax
je 0x4832dd
mov esi, eax
push 0x490330
push eax
push 1
call fcn.004b9690
add esp, 0xc
test eax, eax
jne 0x4832e1
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.004b9d10
add esp, 8
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0048fbb0
add esp, 0x10
test eax, eax
je 0x483494
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 0x4833e8
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.004b9d10
add esp, 8
mov ecx, esi
lea edx, [esp + 0x40]
push 0x30
call fcn.0048fe40
add esp, 4
test eax, eax
je 0x483494
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
lea eax, [esp + 0x1a0]
push 0x20
push eax
mov dword [esp + 0x14], ecx
push ecx
push edi
mov dword [esp + 0x18], esi
push esi
call fcn.00490100
add esp, 0x14
test eax, eax
je 0x483494
mov eax, dword [esp + 4]
inc dword [eax]
mov eax, dword [esp + 0xc]
sub ebx, eax
je 0x483466
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.00490100
add esp, 0x14
test eax, eax
je 0x483494
add edi, esi
mov eax, dword [esp + 4]
inc dword [eax]
sub ebx, esi
jne 0x483430
lea eax, [esp + 0x78]
cmp dword [esp + 8], eax
jne 0x48347e
push 0x118
push eax
call fcn.0049f200
add esp, 8
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.004e3343
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004f4a00
int3
Function at 0x48fbb0
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 [0x533014]
xor ecx, ebp
mov dword [esp + 0x88], ecx
xor esi, esi
cmp eax, 0x30
ja 0x48fe05
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 0x48fc1d
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 0x48fc10
mov esi, dword [ebp + 8]
xor eax, eax
nop word cs:[eax + eax]
movzx ecx, byte [eax + 0x525558]
xor byte [esp + eax + 0x20], cl
inc eax
cmp eax, 0x30
jne 0x48fc30
lea edi, [esi + 0xf4]
mov eax, dword [0x5489dc]
test eax, 0x2000000
jne 0x48fd9b
test eax, 0x200
jne 0x48fdba
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, 0x525878
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.00496240
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 0x48fe1d
movdqa xmmword [esp + 0x10], xmm1
mov ecx, esi
lea edx, [esp + 0x70]
call fcn.00496240
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 0x48fcb0
lea eax, [esp + 0x20]
push esi
push 0x100
push eax
call fcn.00403380
add esp, 0xc
mov ecx, section..text
mov eax, 0x401b90
jmp 0x48fdd4
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 0x48fdda
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.004e3343
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x478570
mov eax, 0x4798b0
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, dword [ebp + 8]
jne 0x48fdd8
jmp 0x48fdda
Function at 0x49f2d0
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 0x49f303
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 0x49f2f0
movzx eax, bl
jmp 0x49f305
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4a1ad0
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 [0x533014]
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.004a1490
add esp, 0xc
test eax, eax
je 0x4a1c7c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
push esi
call fcn.00483e50
add esp, 4
movzx ebx, byte [0x529ba1]
cmp eax, ebx
jne 0x4a1b5c
mov edi, eax
push esi
call fcn.00483f70
add esp, 4
mov ecx, 0x529b94
test bl, bl
je 0x4a1c6c
push edi
push 0x529b98
push eax
call fcn.004e4a1d
mov ecx, 0x529b94
add esp, 0xc
test eax, eax
je 0x4a1c6c
push esi
call fcn.00483e50
add esp, 4
movzx ebx, byte [0x529c2d]
cmp eax, ebx
jne 0x4a1ba4
mov edi, eax
push esi
call fcn.00483f70
add esp, 4
mov ecx, 0x529c20
test bl, bl
je 0x4a1c6c
push edi
push 0x529c24
push eax
call fcn.004e4a1d
mov ecx, 0x529c20
add esp, 0xc
test eax, eax
je 0x4a1c6c
push esi
call fcn.00483e50
add esp, 4
movzx ebx, byte [0x529cb9]
cmp eax, ebx
jne 0x4a1bec
mov edi, eax
push esi
call fcn.00483f70
add esp, 4
mov ecx, 0x529cac
test bl, bl
je 0x4a1c6c
push edi
push 0x529cb0
push eax
call fcn.004e4a1d
mov ecx, 0x529cac
add esp, 0xc
test eax, eax
je 0x4a1c6c
push esi
call fcn.00483e50
add esp, 4
movzx ebx, byte [0x529d45]
cmp eax, ebx
jne 0x4a1c2c
mov edi, eax
push esi
call fcn.00483f70
add esp, 4
mov ecx, 0x529d38
test bl, bl
je 0x4a1c6c
push edi
push 0x529d3c
push eax
call fcn.004e4a1d
mov ecx, 0x529d38
add esp, 0xc
test eax, eax
je 0x4a1c6c
push esi
call fcn.00483e50
add esp, 4
movzx ebx, byte [0x529dd5]
cmp eax, ebx
jne 0x4a1c83
mov edi, eax
push esi
call fcn.00483f70
add esp, 4
mov ecx, 0x529dc8
test bl, bl
je 0x4a1c6c
push edi
push 0x529dcc
push eax
call fcn.004e4a1d
mov ecx, 0x529dc8
add esp, 0xc
test eax, eax
jne 0x4a1c83
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x1c], 1
jmp 0x4a1c83
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
mov eax, dword [ebp - 0x1c]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a5570
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 0x4a5581
test eax, eax
jne 0x4a55d1
test eax, eax
jne 0x4a5597
mov ecx, dword [0x547594]
test ecx, ecx
je 0x4a5597
call dword [section..00cfg]
call ecx
cmp dword [0x54758c], 0
je 0x4a55d1
mov esi, dword [0x547590]
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 0x4a55d7
test esi, esi
je 0x4a55d1
mov ecx, dword [0x54758c]
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 0x4a55bf
jmp 0x4a55d1

Function at 0x4b69b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x548a38]
mov ecx, dword [0x536e20]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4b69db
mov ecx, 0x548a30
pop ebp
jmp fcn.0046dff0
push 0x548a38
call fcn.004e2927
add esp, 4
cmp dword [0x548a38], 0xffffffff
jne 0x4b69d0
mov dword [0x548a34], 0
mov dword [0x548a30], 0
mov ecx, 0x548a30
push 0
call fcn.0046e060
push 0x548a38
call fcn.004e299d
add esp, 4
jmp 0x4b69d0

Function at 0x4b7830
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 [0x533014]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x4b78f5
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 0x4b7887
lea eax, [esp + 0x15]
cmp eax, str.discarded
ja 0x4b790c
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.004b77a0
push 0x48
call fcn.004e2886
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x14]
push eax
call fcn.004b7b60
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x4b78df
mov ecx, edi
call fcn.004b7c50
push edi
call fcn.004e28b6
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x4b78f2
push dword [esp + 0xc]
call fcn.004e28b6
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.004e3343
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.00418f58
int3
Function at 0x4b94b0
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 [0x533014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
jne 0x4b95cd
mov dword [ebp - 0x14], 0x4b9670
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4b9440
push 0x548a54
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4b95e1
cmp dword [0x548a58], 0
jne 0x4b95cd
push dword [0x548a5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b95cd
mov esi, eax
push 0x548a60
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x548a64]
mov ebx, dword [0x548a68]
mov eax, dword [0x548a6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x548a70]
mov dword [ebp - 0x20], eax
mov eax, dword [0x548a74]
mov dword [ebp - 0x24], eax
push 0x548a60
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4b956b
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 0x4b9580
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 0x4b9596
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 0x4b95af
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x4b95c4
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.0049f1c0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.004f4a00
int3

Function at 0x4b95f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4b9670
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4b9440
push 0x548a54
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4b966a
xor esi, esi
cmp dword [0x548a58], 0
jne 0x4b9656
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x548a5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x4b9656
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004f4a00
int3
Function at 0x4b9690
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 [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4b9670
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4b9440
push 0x548a54
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4b9788
mov esi, dword [ebp + 0x10]
cmp dword [0x548a58], 0
je 0x4b96e8
mov ecx, esi
call dword [section..00cfg]
push dword [ebp + 0xc]
call esi
add esp, 4
xor esi, esi
jmp 0x4b9734
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x548a5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x4b9748
mov ebx, dword [ebp + 8]
push 0x548a60
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [ebx*4 + 0x548a64], esi
push 0x548a60
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.004e3343
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x14
call fcn.0049f180
add esp, 4
test eax, eax
je 0x4b96d4
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push dword [0x548a5c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4b9709
push edi
call fcn.0049f1c0
add esp, 4
jmp 0x4b96d4
call fcn.004f4a00
int3