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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71c7e5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
mov ecx, esi
push ebx
push edi
push eax
call fcn.006c0cd0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x6d7a4b
cmp dword [esi + 8], 0xfffffff
je 0x6d7a62
lea eax, [esi + 4]
mov dword [ebp - 0x1c], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.006dd216
mov dword [ebp - 0x18], eax
add esp, 4
lea ecx, [eax + 8]
mov eax, dword [edi]
mov dword [ebp - 0x20], ecx
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov eax, dword [esi + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x562020]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x562020]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
seta al
test al, al
je 0x6d7a3c
mov ecx, esi
call fcn.006d8ac0
push ebx
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.006c0cd0
mov ecx, dword [eax]
jmp 0x6d7a3f
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push ebx
mov ecx, esi
call fcn.006d8a60
add eax, 0xc
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 0x579544
call fcn.006de82a
int3
Function at 0x6d8750
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x18]
cmp ecx, eax
ja 0x6d88a5
lea eax, [ecx - 1]
or eax, edi
bsr ecx, eax
push ebp
push esi
mov esi, dword [ebx + 4]
lea ebp, [ebx + 0xc]
push esi
lea ecx, [ecx + 1]
mov dword [esp + 0x14], ebp
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.006c87b0
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 0x6d887f
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 [ebp]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x6d8807
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x6d8871
mov eax, dword [eax + 4]
mov ebp, dword [ecx + 8]
cmp ebp, dword [eax + 8]
jne 0x6d8839
mov ebp, dword [eax]
cmp ebp, ecx
je 0x6d8830
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x6d886d
mov edi, eax
cmp ebx, eax
je 0x6d884e
nop
mov eax, dword [eax + 4]
mov edi, eax
cmp ebp, dword [eax + 8]
je 0x6d8889
cmp ebx, edi
jne 0x6d8840
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ecx, edx
cmp edx, esi
jne 0x6d87b5
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x6d886d
push 0x579560
call fcn.006de82a
int3
Function at 0x6d88b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71d4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x6d8a48
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0x14], 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.006c87b0
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 0x6d8a10
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 - 0x18], eax
cmp ebx, esi
jne 0x6d8982
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x6d89f9
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x6d89bc
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x6d89b4
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x10]
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 - 0x14]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], ecx
jmp 0x6d89f9
mov edi, eax
cmp ebx, eax
je 0x6d89d6
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
mov esi, dword [ebp - 0x14]
je 0x6d8a24
cmp ebx, edi
jne 0x6d89c2
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x1c]
mov ecx, edx
cmp edx, esi
jne 0x6d8931
nop word [eax + eax]
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
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, eax
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 - 0x14]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x6d89f9
push 0x579560
call fcn.006de82a
int3
Function at 0x6d8c10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71c5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.006c0cd0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x6d8c92
mov dword [edi], eax
xor al, al
jmp 0x6d8d4f
cmp dword [esi + 8], 0xfffffff
je 0x6d8d68
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.006dd216
mov ecx, dword [ebx + 4]
add esp, 4
mov dword [ebp - 0x20], eax
lea edx, [eax + 8]
mov eax, dword [ebx]
mov dword [edx], eax
mov dword [ebp - 0x1c], edx
mov dword [edx + 4], ecx
mov eax, dword [esi + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x562020]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x562020]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
seta al
test al, al
je 0x6d8d39
mov ecx, esi
call fcn.006d8ac0
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.006c0cd0
mov ecx, dword [eax]
jmp 0x6d8d3f
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x20]
push ecx
push ebx
mov ecx, esi
call fcn.006d8a60
mov dword [edi], eax
mov al, 1
mov byte [edi + 4], al
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 0x579544
call fcn.006de82a
int3
Function at 0x6d8d80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71d4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x76e964]
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, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0xd
push eax
push 0x57ab14
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, 0xc
jne 0x6d8f17
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x38], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d8de2
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0059a870
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x24]
cmovae eax, edi
cmovae ecx, edi
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
cmp ecx, eax
je 0x6d8e50
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x30
jl 0x6d8ee4
cmp al, 0x39
jle 0x6d8e36
cmp al, 0x41
jl 0x6d8ee4
cmp al, 0x46
jle 0x6d8e42
cmp al, 0x61
jl 0x6d8ee4
cmp al, 0x66
jg 0x6d8ee4
inc ecx
cmp ecx, dword [ebp - 0x48]
jne 0x6d8e20
xor ecx, ecx
lea eax, [ebp - 0x38]
cmp edx, 0x10
mov dword [ebp - 0x3c], ecx
xorps xmm1, xmm1
cmovae eax, edi
movq qword [ebp - 0x44], xmm1
cmp dword [ebp - 0x28], ecx
jbe 0x6d8e86
push dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.006f3c10
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
movq xmm1, qword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
mov byte [esi], 0
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
movq qword [esi + 0x14], xmm0
mov byte [esi + 0x1c], 0
movq qword [esi + 0x1d], xmm0
mov dword [esi + 0x25], 0
mov byte [esi + 0x1c], 0
movq qword [esi + 0x1d], xmm1
mov dword [esi + 0x25], ecx
mov byte [esi + 0x1c], 1
cmp edx, 0x10
jb 0x6d8f36
lea ecx, [edx + 1]
mov eax, edi
mov dword [ebp - 4], 0
cmp ecx, 0x1000
jb 0x6d8f53
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d8f5f
jmp 0x6d8f53
cmp edx, 0x10
jb 0x6d8f17
lea ecx, [edx + 1]
mov eax, edi
mov dword [ebp - 4], 1
cmp ecx, 0x1000
jb 0x6d8f0d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d8f5f
push ecx
push edi
call fcn.006dd246
add esp, 8
mov byte [esi], 0
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
movq qword [esi + 0x14], xmm0
mov byte [esi + 0x1c], 0
movq qword [esi + 0x1d], xmm0
mov dword [esi + 0x25], 0
mov eax, esi
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.006dd760
mov esp, ebp
pop ebp
ret
push ecx
push edi
call fcn.006dd246
add esp, 8
jmp 0x6d8f36
call fcn.0060e3b4
int3
Function at 0x6dc460
Capabilities:
Reference the vmware io port

Disassembly:
push ecx
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
pushal
mov eax, 0x564d5868
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov dword [esp + 0x2c], ebx
popal
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x6fe1c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x6fe28c
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x6fe28b
push edi
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
je 0x6fe286
push esi
cmp edi, 0x40
jb 0x6fe26b
lea eax, [edi - 1]
lea esi, [edi - 1]
add eax, edx
add esi, ebx
cmp ebx, eax
ja 0x6fe200
cmp esi, edx
jae 0x6fe26b
movaps xmm1, xmmword [0x57e3a0]
lea esi, [edx + 0x30]
mov eax, edi
mov edi, edx
and eax, 0xffffffc0
sub edi, ebx
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
push ebp
nop dword [eax + eax]
movups xmm0, xmmword [esi - 0x30]
add ecx, 0x40
lea esi, [esi + 0x40]
lea eax, [eax + 0x40]
mov ebp, ecx
pxor xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [edi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [esi - 0x50]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [esi - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp ecx, dword [esp + 0x14]
jb 0x6fe220
mov edi, dword [esp + 0x1c]
cmp ebp, edi
pop ebp
jae 0x6fe285
mov esi, edi
lea eax, [ecx + ebx]
sub edx, ebx
sub esi, ecx
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor cl, 0x67
mov byte [eax - 1], cl
sub esi, 1
jne 0x6fe274
pop esi
mov byte [ebx + edi], 0
pop edi
pop ebx
ret
Function at 0x52a370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x52a38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x553074
push ecx
mov edi, eax
call fcn.0053e198
mov esi, eax
add esp, 8
test esi, esi
jne 0x52a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0053e02e
push esi
call fcn.0053dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x52d850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x52d8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x558720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x52d8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0053e1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x52d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x558720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x52d92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0053f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x52d957
mov word [eax], si
add eax, 2
push eax
call fcn.0053f030
add esp, 4
jmp 0x52d959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x52d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x52d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x52dff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x52e080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x52e0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x553458
push ecx
call fcn.0053e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0053e1e1
add esp, 0x10
jmp 0x52e0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0053e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0053ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0052e050
mov eax, dword [0x558728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x52e13b
push esi
call fcn.0052dfb0
add esp, 4
mov dword [0x558728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x52e14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0052dff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x531440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x5314b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x53148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x531471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x53147e
add edx, ecx
cmp ebx, edx
jb 0x53148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x531467
xor ecx, ecx
jmp 0x5314a2
test eax, eax
jne 0x531492
xor ecx, ecx
jmp 0x5314a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.005313c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x5318f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x531921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x531946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x53196e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x531993
push ecx
push esi
call fcn.005314c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x532c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x532c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x532c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x532c38
add edx, eax
cmp ebx, edx
jb 0x532c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x532c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x532c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x532c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x532cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x532c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x532ca8
add edx, ecx
cmp ebx, edx
jb 0x532cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x532c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x532f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.0053f145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x532ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x532fdd
lea eax, [esp + 0x18]
push eax
jmp 0x532fe2
push 0x558720
call fcn.0053efd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x532fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x532f40
push 4
push ecx
push eax
call fcn.0053f43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x533310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.0053f145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x5333ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x53338d
lea eax, [esp + 0x18]
push eax
jmp 0x533392
push 0x558720
call fcn.0053efd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x533360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x532f40
push 4
push ecx
push eax
call fcn.0053f43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret