joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0310
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x4e033a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x4e03a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
add ecx, 0x10
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm0, xmmword [edx + ecx - 0x10]
jmp fcn.004e041e

Function at 0x4e0490
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
add ecx, 0x10
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm0, xmmword [edx + ecx - 0x10]
jmp fcn.004e050e
Function at 0x4e1d10
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
test eax, eax
je 0x4e1fbc
test edx, edx
je 0x4e1fbc
movups xmm0, xmmword [eax]
xorps xmm4, xmm4
lea edx, [edx + 0x10]
cmp ecx, 0x100
je 0x4e1ed0
cmp ecx, 0xc0
je 0x4e1df0
cmp ecx, 0x80
jne 0x4e1fc4
nop
nop
nop
mov ecx, 9
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm0, 1
call fcn.004e1dd6
aeskeygenassist xmm1, xmm0, 2
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 4
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 8
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004e1dd0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004e1dd0
movups xmmword [edx], xmm0
mov dword [edx + 0x50], ecx
xor eax, eax
ret
movq xmm2, qword [eax + 0x10]
mov ecx, 0xb
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm2, 1
call fcn.004e1e70
aeskeygenassist xmm1, xmm2, 2
call fcn.004e1eb0
aeskeygenassist xmm1, xmm2, 4
call fcn.004e1e60
aeskeygenassist xmm1, xmm2, 8
call fcn.004e1eb0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004e1e60
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004e1eb0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004e1e60
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004e1eb0
movups xmmword [edx], xmm0
mov dword [edx + 0x30], ecx
xor eax, eax
ret
movups xmm2, xmmword [eax + 0x10]
mov ecx, 0xd
lea edx, [edx + 0x10]
movups xmmword [edx - 0x20], xmm0
movups xmmword [edx - 0x10], xmm2
aeskeygenassist xmm1, xmm2, 1
call fcn.004e1f86
aeskeygenassist xmm1, xmm0, 1
call fcn.004e1fa0
aeskeygenassist xmm1, xmm2, 2
call fcn.004e1f80
aeskeygenassist xmm1, xmm0, 2
call fcn.004e1fa0
aeskeygenassist xmm1, xmm2, 4
call fcn.004e1f80
aeskeygenassist xmm1, xmm0, 4
call fcn.004e1fa0
aeskeygenassist xmm1, xmm2, 8
call fcn.004e1f80
aeskeygenassist xmm1, xmm0, 8
call fcn.004e1fa0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004e1f80
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004e1fa0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004e1f80
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004e1fa0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004e1f80
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
xor eax, eax
ret
mov eax, 0xffffffff
ret
mov eax, 0xfffffffe
ret

Function at 0x4e1ff0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.004e1d10
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x4e2059
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x4e2026
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
xor eax, eax
ret
Function at 0x4e3230
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x4e3250
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x4f44c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x4f45aa
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x4f453d
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004f3c80
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4f4503
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4f4673
call 0x4f454f
pop edx
lea ecx, [edx + 0x171]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4f460a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004f40a0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4f45bb
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4f4673
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004f40a0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4f466e
jmp 0x4f4673
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f5050
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x4f513a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x4f50cd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004f4700
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4f5093
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4f5203
call 0x4f50df
pop edx
lea ecx, [edx + 0x161]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4f519a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004f4bb0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4f514b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4f5203
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004f4bb0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4f51fe
jmp 0x4f5203
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5094f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x50adc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54e251
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x5af1b4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], vtable.boost::exception.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], edi
mov dword [esp + 0x10], str.bad_exception
call fcn.0050d8dc
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_exception_.0
mov esi, 1
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], esi
call fcn.0050a7a0
test byte [0x5bb538], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x44], str.._boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x80
jne 0x50af0a
or dword [0x5bb538], esi
push 0x2c
mov byte [esp + 0x70], 3
call fcn.0050d866
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x6c], 4
cmp eax, edi
je 0x50ae9f
push esi
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.0050a5b0
jmp 0x50aea1
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 3
call fcn.0050aa60
mov ecx, dword [eax]
mov dword [0x5bb530], ecx
mov eax, dword [eax + 4]
mov dword [0x5bb534], eax
cmp eax, edi
je 0x50aecb
add eax, 4
lock xadd dword [eax], esi
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x50aefd
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x50aefd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50aefd
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x553780
call fcn.0050d7c7
add esp, 4
mov eax, dword [0x5bb530]
mov esi, dword [esp + 0x74]
mov dword [esi], eax
mov ecx, dword [0x5bb534]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x50af30
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.00509f50
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call fcn.0050d9a9
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x50af79
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret
Function at 0x50b1d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54e2a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5af1b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00415640
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.0041aac0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x50b280
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54e2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5af1b4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x5ae90c]
cmp eax, 0xffffffff
jne 0x50b2bb
xor ebx, ebx
jmp 0x50b2c4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x50b305
cmp dword [ebx + 0x30], 0
jne 0x50b34b
cmp dword [ebx + 0xc], 0
jne 0x50b351
push 0x5094d0
push 0x5bb504
call fcn.00509800
mov eax, dword [0x5ae90c]
add esp, 8
cmp eax, 0xffffffff
je 0x50b305
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test ebx, ebx
je 0x50b337
lea ecx, [ebx + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50b337
mov eax, dword [ebx]
mov edx, dword [eax]
push 0
mov ecx, ebx
call edx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x50b399
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x50b383
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x50b351
cmp dword [ebx + 0x30], 0
je 0x50b2da
lea esi, [ebx + 0x14]
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx]
test esi, esi
jne 0x50b442
call fcn.0050dd58
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x50b3c6
call fcn.0050dd58
cmp dword [edi + 0x10], 0
je 0x50b422
test esi, esi
jne 0x50b449
call fcn.0050dd58
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x50b3e1
call fcn.0050dd58
cmp dword [edi + 0x18], 0
je 0x50b422
test esi, esi
jne 0x50b44d
call fcn.0050dd58
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x50b3fc
call fcn.0050dd58
mov ebp, dword [edi + 0x10]
test esi, esi
jne 0x50b451
call fcn.0050dd58
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x50b414
call fcn.0050dd58
mov edx, dword [ebp]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
mov ecx, ebp
call edx
push edi
push esi
lea eax, [esp + 0x24]
lea esi, [ebx + 0x14]
push eax
mov ecx, esi
call fcn.0040ac20
cmp dword [ebx + 0x30], 0
jne 0x50b3a6
jmp 0x50b2d4
mov eax, dword [esi]
jmp 0x50b3bc
mov eax, dword [esi]
jmp 0x50b3d7
mov eax, dword [esi]
jmp 0x50b3f2
mov eax, dword [esi]
jmp 0x50b40a
Function at 0x50b4f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x10]
push ecx
push 4
push eax
push 0x50b460
push 0
push 0
call fcn.0050fa12
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x50b519
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x50b540
cmp eax, 0xffffffff
je 0x50b540
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x511c1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5af1b4]
jne 0x511c25
repz ret
jmp fcn.005200e6
Function at 0x526125
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005199f7
and dword [ebp - 4], 0
cmp dword [0x5bc040], 0
mov ebx, eax
jne 0x5261d6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x526287
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x557e18
push edi
call esi
test eax, eax
je 0x526287
push eax
call fcn.00519985
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5bc040], eax
call esi
push eax
call fcn.00519985
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5bc044], eax
call esi
push eax
call fcn.00519985
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5bc048], eax
call esi
push eax
call fcn.00519985
pop ecx
mov dword [0x5bc050], eax
test eax, eax
je 0x5261d6
push 0x557dc0
push edi
call esi
push eax
call fcn.00519985
pop ecx
mov dword [0x5bc04c], eax
mov eax, dword [0x5bc04c]
cmp eax, ebx
je 0x52622e
cmp dword [0x5bc050], ebx
je 0x52622e
push eax
call fcn.00519a00
push dword [0x5bc050]
mov esi, eax
call fcn.00519a00
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x52622e
test edi, edi
je 0x52622e
call esi
test eax, eax
je 0x526225
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x526225
test byte [ebp - 0xc], 1
jne 0x52622e
or dword [ebp + 0x10], 0x200000
jmp 0x526267
mov eax, dword [0x5bc044]
cmp eax, ebx
je 0x526267
push eax
call fcn.00519a00
pop ecx
test eax, eax
je 0x526267
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x526267
mov eax, dword [0x5bc048]
cmp eax, ebx
je 0x526267
push eax
call fcn.00519a00
pop ecx
test eax, eax
je 0x526267
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5bc040]
call fcn.00519a00
pop ecx
test eax, eax
je 0x526287
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x526289
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x52c1b0
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x5c
call fcn.00525ec0
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov ebx, dword [ebp]
push esi
push edi
lea edi, [ebx + 0x10]
push edi
call fcn.0050f3bc
mov esi, eax
mov eax, dword [esp + 0x74]
movq xmm0, qword [eax]
movq qword [esi], xmm0
movq xmm0, qword [eax + 8]
mov eax, dword [ebp + 8]
push ebx
push eax
lea ecx, [esi + 0x10]
push ecx
movq qword [esi + 8], xmm0
call fcn.005165f0
push 0x5c
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00516180
add esp, 0x1c
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
test edi, edi
je 0x52c238
push esi
mov ecx, edi
lea edx, [esp + 0x14]
call fcn.0045fc10
add esp, 4
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x10]
push eax
call fcn.0045fd10
push esi
call fcn.0050f521
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc