joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f0bc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.00477ba0
mov dword [ebp - 4], 0
lea edi, [ebx + 0x18c]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 4]
lea esi, [edi + 8]
mov dword [edi], eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [ebp - 0x14], esi
mov dword [esi], 0x58314c
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
mov byte [ebp - 4], 1
mov byte [esi + 0x24], al
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.00425510
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x5c]
call fcn.004255e0
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push ebx
call dword [eax + 0xc]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edi, [eax + 0x20c]
mov dword [eax], 0x5859b8
mov dword [eax + 0x24], 0x5858d4
mov dword [eax + 0x28], 0x5858c0
mov eax, dword [ebx]
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 4]
mov dword [edi], 0x5903f4
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 7
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov byte [ebp - 4], 9
mov dword [edi], 0x5903f4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 0x23c]
mov dword [ebp + 8], eax
mov dword [eax], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov byte [ebp - 4], 0xc
mov dword [ecx + 0x24c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
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
Function at 0x469c70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54dec8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5cf024]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x30]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x60]
and eax, 1
shl eax, 5
cmp dword [ecx + 0x14], 8
jb 0x469cc0
mov ecx, dword [ecx]
mov dword [ebp - 0x74], eax
xorps xmm0, xmm0
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0x1132
push dword [ebx + 0x130]
mov dword [ebp - 0x84], edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0x2f
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0
push 0
push 0
push 0
mov edi, eax
lea ecx, [ebx + 0x130]
push 4
push edi
call fcn.00452620
mov ecx, dword [ebx + 0x18c]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xffffffff
cmove ecx, dword [ebp - 0x38]
mov dword [ebp - 0x34], ecx
cmp ecx, 3
jne 0x469d79
xor eax, eax
jmp 0x469dae
cmp ecx, 0x64
jne 0x469d83
lea eax, [ecx - 0x62]
jmp 0x469dae
cmp ecx, 4
jne 0x469d8d
lea eax, [ecx + 4]
jmp 0x469dae
cmp ecx, 1
jne 0x469d97
lea eax, [ecx + 5]
jmp 0x469dae
cmp ecx, 2
jne 0x469da1
lea eax, [ecx + 2]
jmp 0x469dae
xor eax, eax
mov edx, 4
cmp ecx, 0xffffffff
cmove eax, edx
push 0
push 0
push 0
push eax
push eax
push 0
push 0x22
push edi
lea ecx, [ebx + 0x130]
call fcn.00452620
push esi
lea ecx, [ebp - 0x30]
call fcn.004071f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x8c]
lea ecx, [ebx + 0x1bc]
push eax
call fcn.00442ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407e00
mov eax, edi
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.0051dacc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, edx
mov ebp, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 8
mov ebx, dword [esi + 0x10]
jb 0x46d6a8
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x46d6c4
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x46d6b3
push edx
push esi
lea eax, [esp + 0x18]
mov ecx, 0x5d5484
push eax
call fcn.0040b020
mov ecx, dword [0x5d5488]
pop edi
pop esi
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov eax, ebp
mov dword [ebp], ecx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x46e000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54feeb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x46e03a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x46e05b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x46e047
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040b020
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e08c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0x16c16c1
je 0x46e1f2
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0xb4
mov dword [ebp - 0x14], 0
call fcn.0051db0e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004071f0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x20]
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.00426a40
mov dword [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x596760]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x596760]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x46e182
divss xmm0, xmm3
call fcn.0040b0b0
call fcn.0053be00
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x46e166
cmp eax, 0x200
jae 0x46e164
shl eax, 3
cmp eax, ecx
jae 0x46e166
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0046e7a0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040b020
mov edx, dword [eax]
jmp 0x46e185
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x46e1b8
mov dword [ecx + eax*8], edi
jmp 0x46e1ca
cmp esi, edx
jne 0x46e1c1
mov dword [ecx + eax*8], edi
jmp 0x46e1ce
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x46e1ce
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.0051bc15
int3
Function at 0x46e200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ff3b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x46e23a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x46e25b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x46e247
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040b020
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e28c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0x4924924
je 0x46e3ef
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x14], 0
call fcn.0051db0e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004071f0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x20]
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.004071f0
mov dword [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x596760]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x596760]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x46e37f
divss xmm0, xmm3
call fcn.0040b0b0
call fcn.0053be00
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x46e363
cmp eax, 0x200
jae 0x46e361
shl eax, 3
cmp eax, ecx
jae 0x46e363
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00426db0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040b020
mov edx, dword [eax]
jmp 0x46e382
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x46e3b5
mov dword [ecx + eax*8], edi
jmp 0x46e3c7
cmp esi, edx
jne 0x46e3be
mov dword [ecx + eax*8], edi
jmp 0x46e3cb
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x46e3cb
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.0051bc15
int3
Function at 0x46f6b0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x2b8
push 0xffffffffffffffff
push 0x550203
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0x2c4]
mov esi, dword [ebp + 0x2c0]
push esi
mov dword [ebp - 0x18], edi
call fcn.00474330
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], 0x585ff4
mov dword [edi + 0x24], 0x585f10
mov dword [edi + 0x28], 0x585efc
mov eax, dword [esi]
call dword [eax + 4]
mov dword [edi + 0x17c], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
lea esi, [edi + 0x190]
mov dword [edi + 0x180], eax
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 1
mov dword [ebp - 0x10], esi
mov dword [esi], 0
push 0x40
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0051db0e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.0040a590
mov byte [ebp - 4], 4
mov esi, dword [0x5d5518]
test esi, esi
jne 0x46f8c4
push 0x10
call fcn.0051db0e
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 5
lea eax, [ebp]
push 0x2b4
push 0
push eax
call fcn.0051fe50
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp]
add esp, 0x10
push 0x4011
push 0x2b4
push eax
push 0x10
push 0x58a644
call ebx
push 0x4011
push 0x2b4
mov dword [esi], eax
lea eax, [ebp]
push eax
push 0x10
push str.C:FAKE_DIR_
call ebx
mov eax, dword [ebp + 4]
push 0x4013
push 0x2b4
mov dword [esi + 4], eax
lea eax, [ebp]
push eax
push 0x10
push str.C:FAKE_DIR_
call ebx
mov eax, dword [ebp + 4]
mov dword [esi + 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x46f899
push 0x4009
push 0x2b4
lea eax, [ebp]
push eax
push 0
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp + 4]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x46f8a0
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x14]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x46f8a0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
mov eax, dword [0x5d5518]
mov dword [0x5d5518], esi
test eax, eax
je 0x46f8c4
push 0x10
push eax
call fcn.0051dadd
mov esi, dword [0x5d5518]
add esp, 8
mov dword [edi + 0x1b0], esi
mov dword [edi + 0x1b4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.0051dacc
lea esp, [ebp + 0x2b8]
pop ebp
ret 8
Function at 0x471980
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550928
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 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 0x471b20
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040a590
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x471adc
nop dword [eax + eax]
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 0x471a61
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x471acf
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x471a98
mov eax, dword [eax]
cmp eax, ecx
je 0x471a90
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x471acf
cmp ebx, eax
je 0x471aac
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x471afe
cmp ebx, eax
jne 0x471aa0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x471a10
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
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 + 8], 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 + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x471acf
push str.invalid_hash_bucket_count
call fcn.0051bc15
int3
Function at 0x479c50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551b58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5cf024]
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 ebx, ecx
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x479c96
mov ecx, esi
call fcn.00407e00
add esi, 0x18
cmp esi, edi
jne 0x479c86
mov esi, dword [ebx]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebx + 4], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push eax
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp esi, ecx
ja 0x479ce7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x479cf6
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00479f90
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call edi
test eax, eax
jne 0x479d0d
xor bl, bl
jmp 0x479d3c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.00484fd0
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e00
mov al, bl
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.0051dacc
mov esp, ebp
pop ebp
ret
Function at 0x47fd60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d9b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x47fda7
lea eax, [ebx + 0xd]
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
xor esi, esi
mov edx, ebx
nop dword [eax + eax]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fdb5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x47fdb0
mov eax, dword [ebp - 0x10]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
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
Function at 0x481090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x552ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x481138
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x481138
call fcn.00413d10
mov edi, eax
jmp 0x481240
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x481155
call fcn.00413d10
jmp 0x481233
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x481170
call fcn.00413d10
jmp 0x481233
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x48118e
mov edi, 0x8007000e
jmp 0x481235
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x481282
jb 0x4811b2
cmp eax, 0xffffffff
ja 0x481282
cmp eax, 0x400
jbe 0x4811cb
push eax
lea ecx, [ebp]
call fcn.00477ac0
mov dword [ebp - 4], 1
jmp 0x4811f0
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x4811f0
mov eax, dword [ebp]
test eax, eax
jne 0x4811fe
mov edi, 0x8007000e
jmp 0x481235
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x481219
call fcn.00413d10
jmp 0x481233
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00480f30
mov edi, eax
test esi, esi
je 0x481240
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x481254
lea ecx, [ebp]
call fcn.00477a80
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0051dacc
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
push 0x80070216
call fcn.00408f80
int3