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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e6538
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x82d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x14], esi
call fcn.0067f606
add esp, 4
test eax, eax
jne 0x4e9238
mov edi, dword [ebp + 8]
mov ebx, edi
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 0x10
jb 0x4e91be
mov ebx, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x4e91e2
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x4e91d0
push edx
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x30]
call fcn.004e5890
mov eax, dword [eax + 4]
test eax, eax
jne 0x4e91fa
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x34]
je 0x4e920c
push edi
lea ecx, [esi + 0x30]
call fcn.004e9b50
mov edi, dword [eax]
jmp 0x4e920e
xor edi, edi
push esi
mov dword [ebp - 4], 1
call fcn.0067f62b
add esp, 4
test eax, eax
jne 0x4e923e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.0067f8f8
push eax
call fcn.0067f8f8
int3

Function at 0x4e9390
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e65a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x82d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x54]
push esi
mov dword [ebp - 0x10], edi
call fcn.0067f606
add esp, 4
test eax, eax
jne 0x4e9489
mov edx, dword [ebp + 0xc]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xe]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xf]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x84]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004ec240
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4e9429
mov ecx, dword [ebx + 0x88]
cmp ecx, dword [ebx + 0x88]
mov dword [edi], 0
mov dword [edi + 4], 0
je 0x4e946a
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4e9449
lock inc dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov dword [edi], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
push esi
call fcn.0067f62b
add esp, 4
test eax, eax
jne 0x4e948f
jmp 0x4e9473
mov dword [ebp - 4], 1
jmp 0x4e945b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.0067f8f8
push eax
call fcn.0067f8f8
int3
Function at 0x4eb5b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e6990
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x82d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
jb 0x4eb5f4
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4eb618
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4eb603
mov edi, dword [ebp - 0x10]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004e5890
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4eb637
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x4eb76a
cmp dword [edi + 8], 0x71c71c7
je 0x4eb780
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x24], 0
call fcn.0067ba12
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
push dword [ebp - 0x18]
lea ecx, [edi + 8]
call fcn.00440c40
mov dword [edi + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
inc eax
movss xmm3, dword [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x7e6810]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x7e6810]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4eb71d
divss xmm0, xmm3
call fcn.00472770
call fcn.006d1ae0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jae 0x4eb6fc
cmp eax, 0x200
jae 0x4eb6fa
shl eax, 3
cmp eax, ecx
jae 0x4eb6fc
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004e5060
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004e5890
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x4eb720
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x28]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x4eb74d
mov dword [ecx + eax*8], edi
jmp 0x4eb760
cmp edx, dword [ebp - 0x14]
jne 0x4eb757
mov dword [ecx + eax*8], edi
jmp 0x4eb764
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4eb764
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0067ccf6
int3
Function at 0x4ebb30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e6a20
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x82d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
mov dword [ebp - 0x24], edx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
mov dword [ebp - 0x28], ebx
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push edx
push eax
call fcn.004ec240
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ebbc0
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x4ebd0b
cmp dword [edi + 8], 0xccccccc
je 0x4ebd21
lea eax, [edi + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x2c], 0
call fcn.0067ba12
mov ecx, dword [ebp - 0x24]
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4ebc14
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x10], eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x7e6810]
mov eax, dword [edi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x7e6810]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4ebcba
divss xmm0, xmm3
call fcn.00472770
call fcn.006d1ae0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x4ebc9c
cmp eax, 0x200
jae 0x4ebc9a
shl eax, 3
cmp eax, ecx
jae 0x4ebc9c
mov eax, ecx
push eax
mov ecx, edi
call fcn.004ec0d0
push dword [ebp - 0x18]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004ec240
mov edx, dword [eax]
jmp 0x4ebcbd
mov edx, dword [ebp - 0x20]
mov eax, dword [edi + 8]
mov ecx, dword [edx + 4]
inc eax
mov ebx, dword [ebp - 0x30]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0xc]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x4ebcec
mov dword [ecx + eax*8], esi
jmp 0x4ebcfe
cmp edi, edx
jne 0x4ebcf5
mov dword [ecx + eax*8], esi
jmp 0x4ebd02
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4ebd02
mov dword [ecx + eax*8 + 4], esi
mov ebx, dword [ebp - 0x28]
mov dword [ebx], esi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.0067ccf6
int3
Function at 0x4ec0d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4ec22a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004759e0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4ec1fc
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x4ec183
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4ec1ef
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4ec1ba
mov eax, dword [eax]
cmp eax, ecx
je 0x4ec1b2
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x4ec1ef
cmp ebx, eax
je 0x4ec1cc
nop
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4ec205
cmp ebx, eax
jne 0x4ec1c0
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x4ec132
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4ec1ef
push str.invalid_hash_bucket_count
call fcn.0067ccf6
int3
Function at 0x4fb980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4fba42
cmp byte [esi + 0x3e], 0
je 0x4fba42
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x4fba30
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4fb9f8
sub eax, 1
je 0x4fb9fc
sub eax, 2
jne 0x4fba30
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4fba19
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006967d1
add esp, 0x10
cmp edi, eax
jne 0x4fba30
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x50ec30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x50ec61
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x50ec50
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x50eeb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x50eee1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x50eed0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x518fa0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ea283
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042fc50
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x5190ff
push 2
push 0x78088c
lea ecx, [ebp - 0x28]
call fcn.0042ff20
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5190ff
nop dword [eax]
test byte [ebp - 0x278], 0x10
jne 0x5190d9
xor eax, eax
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x280], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x519053
sub eax, edx
lea ecx, [ebp - 0x294]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0042fe00
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x5190bb
movups xmm0, xmmword [ebp - 0x294]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x284]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
jmp 0x5190ca
lea ecx, [ebp - 0x294]
push ecx
push eax
mov ecx, esi
call fcn.004481d0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0
call fcn.0042fd70
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x519020
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov byte [ebp - 0x279], 1
jmp 0x519106
mov byte [ebp - 0x279], 0
lea ecx, [ebp - 0x28]
call fcn.0042fd70
mov al, byte [ebp - 0x279]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x519e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x519ec5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x519f03
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x519f03
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x519fcc
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x519f2d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x519f3a
push dword [esi + 0x4c]
push edi
jmp 0x519f75
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x519fcc
cmp eax, 1
jle 0x519f9f
cmp eax, 3
jne 0x519fcc
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.006a3d5f
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x519fd1
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x519fbc
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.006967d1
add esp, 0x10
cmp ebx, eax
jne 0x519fcc
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x519eed
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 4
Function at 0x51b2c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ea726
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x80
push eax
lea eax, [ebp - 0x118]
mov esi, 1
push eax
push 6
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x51b3c4
lea ecx, [ebp - 0x118]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51b326
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0042fe00
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51b370
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0042fe00
push edi
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
push 1
call fcn.004efc30
lea ecx, [ebp - 0x240]
mov bl, al
call fcn.0042fd70
test bl, bl
je 0x51b45c
xor eax, eax
jmp 0x51b45e
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x80
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51b410
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.0042fe00
push edi
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 1
push eax
push 1
call fcn.004efc30
lea ecx, [ebp - 0x258]
mov bl, al
call fcn.0042fd70
xor eax, eax
test bl, bl
cmovne esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x51cb70
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ea970
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x50
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x48], 0xff
jb 0x51cbcc
mov eax, dword [esi]
mov byte [eax], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], 0
push eax
mov byte [ebp - 0x41], 0
movlpd qword [ebp - 0x24], xmm0
call fcn.0067ee74
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x41]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push 0x523bc0
push 0x8543d0
call fcn.0067ce38
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x24]
push eax
je 0x51cd30
call fcn.0067ef1d
add esp, 4
mov ecx, 0x7815c0
cmp byte [0x8550cc], 0
mov eax, 0x7815b0
cmove eax, ecx
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x51cd0b
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x51cd0b
mov ecx, edx
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51cc90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0042fe00
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0050ba50
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0042fd70
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push 5
push 0x780d2c
mov ecx, esi
call fcn.00441450
push 1
push 0x77fe64
mov ecx, esi
call fcn.00441450
push dword [ebp - 0x40]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x51cd10
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0067eff6
add esp, 4
test al, al
jne 0x51cd41
call fcn.0067ce50
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.004b9fb0
call fcn.004ba000
int3
Function at 0x51cd60
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ea9a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], 0xff
jb 0x51cdbc
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
movups xmm0, xmmword [0x781610]
push eax
push ecx
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x51ce63
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x51ce63
mov ecx, edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51ce06
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042fe00
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x51ce3d
cmp dword [ebp - 0x38], 8
mov ecx, esi
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x4c]
call fcn.0042fd70
push dword [ebp - 0x30]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x51ce68
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret