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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e8800
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x82f084]
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 0x4ece34
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4ece58
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 0x4ece43
mov edi, dword [ebp - 0x10]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004e70c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ece77
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x4ecfaa
cmp dword [edi + 8], 0x71c71c7
je 0x4ecfc0
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x24], 0
call fcn.0067d662
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
push dword [ebp - 0x18]
lea ecx, [edi + 8]
call fcn.00440f20
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 + 0x7e8490]
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 + 0x7e8490]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4ecf5d
divss xmm0, xmm3
call fcn.00472eb0
call fcn.006d3740
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jae 0x4ecf3c
cmp eax, 0x200
jae 0x4ecf3a
shl eax, 3
cmp eax, ecx
jae 0x4ecf3c
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004e6890
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004e70c0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x4ecf60
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 0x4ecf8d
mov dword [ecx + eax*8], edi
jmp 0x4ecfa0
cmp edx, dword [ebp - 0x14]
jne 0x4ecf97
mov dword [ecx + eax*8], edi
jmp 0x4ecfa4
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4ecfa4
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.0067e946
int3
Function at 0x4ed370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e8890
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x82f084]
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.004eda80
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ed400
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x4ed54b
cmp dword [edi + 8], 0xccccccc
je 0x4ed561
lea eax, [edi + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x2c], 0
call fcn.0067d662
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 0x4ed454
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 + 0x7e8490]
mov eax, dword [edi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x7e8490]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4ed4fa
divss xmm0, xmm3
call fcn.00472eb0
call fcn.006d3740
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x4ed4dc
cmp eax, 0x200
jae 0x4ed4da
shl eax, 3
cmp eax, ecx
jae 0x4ed4dc
mov eax, ecx
push eax
mov ecx, edi
call fcn.004ed910
push dword [ebp - 0x18]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004eda80
mov edx, dword [eax]
jmp 0x4ed4fd
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 0x4ed52c
mov dword [ecx + eax*8], esi
jmp 0x4ed53e
cmp edi, edx
jne 0x4ed535
mov dword [ecx + eax*8], esi
jmp 0x4ed542
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4ed542
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.0067e946
int3
Function at 0x4ed910
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 0x4eda6a
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.00476120
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 0x4eda3c
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 0x4ed9c3
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4eda2f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4ed9fa
mov eax, dword [eax]
cmp eax, ecx
je 0x4ed9f2
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 0x4eda2f
cmp ebx, eax
je 0x4eda0c
nop
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4eda45
cmp ebx, eax
jne 0x4eda00
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 0x4ed972
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 0x4eda2f
push str.invalid_hash_bucket_count
call fcn.0067e946
int3
Function at 0x4fd1c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4fd282
cmp byte [esi + 0x3e], 0
je 0x4fd282
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x4fd270
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 0x4fd238
sub eax, 1
je 0x4fd23c
sub eax, 2
jne 0x4fd270
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4fd259
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00698421
add esp, 0x10
cmp edi, eax
jne 0x4fd270
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0067d651
mov esp, ebp
pop ebp
ret
Function at 0x510470
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 0x5104a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x510490
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x5106f0
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 0x510721
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x510710
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x51a7d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ec0f3
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x82f084]
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 0x51a92f
push 2
push 0x782464
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 0x51a92f
nop dword [eax]
test byte [ebp - 0x278], 0x10
jne 0x51a909
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 0x51a883
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 0x51a8eb
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 0x51a8fa
lea ecx, [ebp - 0x294]
push ecx
push eax
mov ecx, esi
call fcn.00448540
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 0x51a850
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov byte [ebp - 0x279], 1
jmp 0x51a936
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.0067d651
mov esp, ebp
pop ebp
ret
Function at 0x51b6c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x82f084]
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 0x51b6f5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x51b733
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x51b733
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.0067d651
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x51b7fc
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x51b75d
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 0x51b76a
push dword [esi + 0x4c]
push edi
jmp 0x51b7a5
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 0x51b7fc
cmp eax, 1
jle 0x51b7cf
cmp eax, 3
jne 0x51b7fc
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.006a59af
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x51b801
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x51b7ec
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.00698421
add esp, 0x10
cmp ebx, eax
jne 0x51b7fc
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x51b71d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0067d651
mov esp, ebp
pop ebp
ret 4
Function at 0x51caf0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ec596
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x82f084]
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 0x51cbf4
lea ecx, [ebp - 0x118]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51cb56
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 0x51cba0
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.004f1470
lea ecx, [ebp - 0x240]
mov bl, al
call fcn.0042fd70
test bl, bl
je 0x51cc8c
xor eax, eax
jmp 0x51cc8e
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 0x51cc40
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.004f1470
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.0067d651
mov esp, ebp
pop ebp
ret
Function at 0x51e3a0
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 0x6ec7e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x50
mov eax, dword [0x82f084]
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 0x51e3fc
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.00680ac4
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 0x5253f0
push 0x8563d0
call fcn.0067ea88
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x24]
push eax
je 0x51e560
call fcn.00680b6d
add esp, 4
mov ecx, 0x783198
cmp byte [0x8570cc], 0
mov eax, 0x783188
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 0x51e53b
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x51e53b
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 0x51e4c0
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.0050d290
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0042fd70
push 1
push 0x781a34
mov ecx, esi
call fcn.00441730
push 5
push 0x782900
mov ecx, esi
call fcn.00441730
push 1
push 0x781a34
mov ecx, esi
call fcn.00441730
push dword [ebp - 0x40]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x51e540
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.0067d651
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00680c46
add esp, 4
test al, al
jne 0x51e571
call fcn.0067eaa0
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.004bb7d0
call fcn.004bb820
int3
Function at 0x51e590
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 0x6ec818
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x82f084]
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 0x51e5ec
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
movups xmm0, xmmword [0x7831e8]
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 0x51e693
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x51e693
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 0x51e636
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 0x51e66d
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 0x51e698
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.0067d651
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x51e6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ec848
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
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 - 0x2c], 0xff
jb 0x51e708
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
movups xmm0, xmmword [0x7831d8]
push eax
push ecx
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x51e7a9
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x51e7a9
mov ecx, edx
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51e752
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.0042fe00
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x51e789
cmp dword [ebp - 0x30], 8
mov ecx, esi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x44]
call fcn.0042fd70
push dword [ebp - 0x28]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x51e7ae
mov esi, 1
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 - 0x14]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret