joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
mov ecx, 0x6dff18f9
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x41aa280e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x175c8
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [0x592e8]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call ebx
test al, al
je 0x17616
cmp byte [edi], 0x4d
jne 0x17616
cmp byte [edi + 1], 0x5a
jne 0x17616
mov esi, dword [edi + 0x3c]
add esi, edi
push esi
call ebx
test al, al
je 0x17616
cmp dword [esi], 0x4550
jne 0x17616
mov eax, 0x10b
cmp word [esi + 0x18], ax
jne 0x17616
add eax, 0x41
cmp word [esi + 4], ax
sete al
jmp 0x17618
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x177d6
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
test edi, edi
je 0x17820
push edi
call dword [0x592e8]
test al, al
je 0x17820
movzx ecx, word [esi + 6]
xor edx, edx
test ecx, ecx
jbe 0x17820
mov eax, dword [edi + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x17818
mov esi, dword [edi + 0x10]
add esi, eax
cmp dword [ebp + 0xc], esi
jbe 0x17828
add edi, 0x28
inc edx
cmp edx, ecx
jb 0x17806
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
jmp 0x17822
Function at 0x1a806
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x10], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push eax
mov dword [ebp - 0x14], eax
call dword [0x59150]
mov esi, eax
test esi, esi
jne 0x1a83a
mov eax, 0xc000007b
jmp 0x1a97b
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x54]
push ebx
movzx ebx, word [esi + 6]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x38]
push eax
push dword [esi + 0x50]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
call fcn.0001a7e6
mov dword [ebp - 4], eax
push dword [ebp - 4]
or ecx, 0xffffffff
push dword [ebp - 0xc]
mov eax, ecx
push dword [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [0x59158]
xor ecx, ecx
mov dword [edi + 8], eax
cmp eax, ecx
je 0x1a8c4
test byte [eax + 6], 5
je 0x1a88d
mov eax, dword [eax + 0xc]
jmp 0x1a89d
push 0x10
push ecx
push ecx
push 1
push ecx
push eax
call dword [0x590b0]
xor ecx, ecx
mov dword [ebp + 8], eax
cmp eax, ecx
jne 0x1a8ce
mov eax, dword [edi + 8]
cmp eax, ecx
je 0x1a8c4
push eax
call dword [0x59154]
push 0x50453030
push dword [edi + 8]
call dword [0x592e4]
and dword [edi + 8], 0
mov eax, 0xc00000a0
jmp 0x1a97a
push dword [ebp - 4]
push ecx
push dword [ebp + 8]
call fcn.00055674
movzx eax, word [esi + 0x14]
add esp, 0xc
lea esi, [eax + esi + 0x18]
mov dword [ebp - 0xc], esi
test ebx, ebx
jbe 0x1a917
add esi, 8
mov dword [ebp - 8], ebx
push dword [ebp - 0x18]
push dword [esi + 8]
call fcn.0001a7e6
push dword [ebp - 0x1c]
mov dword [esi + 8], eax
push dword [esi]
call fcn.0001a7e6
mov dword [esi], eax
add esi, 0x28
dec dword [ebp - 8]
jne 0x1a8f2
mov esi, dword [ebp - 0xc]
mov eax, ebx
imul eax, eax, 0x28
add eax, esi
mov ecx, dword [eax - 0x1c]
mov edx, dword [eax - 0x18]
add edx, ecx
cmp edx, dword [ebp - 4]
jbe 0x1a933
mov edx, dword [ebp - 4]
sub edx, ecx
mov dword [eax - 0x18], edx
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00055680
add esp, 0xc
test ebx, ebx
jbe 0x1a96c
mov esi, dword [ebp - 0xc]
add esi, 0x14
mov eax, dword [esi]
add eax, dword [ebp - 0x14]
push dword [esi - 4]
push eax
mov eax, dword [esi - 8]
add eax, dword [ebp + 8]
push eax
call fcn.00055680
add esp, 0xc
add esi, 0x28
dec ebx
jne 0x1a94e
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x2c], eax
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x392fa
Capabilities:
Disable driver code integrity

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x572c0
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.0001741e
test al, al
jne 0x3932c
xor eax, eax
jmp 0x39440
push ebx
mov ebx, dword [ebp - 8]
push edi
push 0x572b2
push ebx
call fcn.0001791c
mov edi, eax
cmp edi, esi
je 0x3943c
mov eax, dword [0x590a0]
movzx eax, word [eax]
mov ecx, 0x2800
cmp eax, ecx
jg 0x39383
je 0x393a9
cmp eax, 0x1770
jl 0x3939f
cmp eax, 0x1772
jle 0x393a9
cmp eax, 0x1daf
jle 0x3939f
cmp eax, 0x1db1
jle 0x393a9
cmp eax, 0x23f0
je 0x393a9
cmp eax, 0x2580
jmp 0x3939d
cmp eax, 0x295a
je 0x393a9
cmp eax, 0x3839
je 0x393a9
cmp eax, 0x3ad7
je 0x393a9
cmp eax, 0x3fab
je 0x393a9
mov eax, dword [0x5d620]
jmp 0x3943e
lea eax, [edi + esi]
mov cl, byte [eax]
cmp cl, 0xe9
je 0x393b8
cmp cl, 0xe8
jne 0x393cc
push eax
call fcn.00035474
cmp eax, 5
jne 0x393cc
cmp dword [ebp - 4], 1
je 0x393d7
inc dword [ebp - 4]
inc esi
cmp esi, 0x100
jb 0x393a9
jmp 0x3943c
mov eax, dword [edi + esi + 1]
add eax, edi
lea eax, [eax + esi + 5]
cmp eax, ebx
jbe 0x3943c
mov ecx, dword [ebp - 0xc]
lea edi, [ecx + ebx]
cmp eax, edi
jae 0x3943c
xor ecx, ecx
mov esi, 0x15ff
mov edx, dword [eax + ecx]
movzx ebx, dx
cmp ebx, 0xd89
jne 0x3940d
movzx ebx, word [eax + ecx + 6]
cmp ebx, esi
je 0x39426
cmp dl, 0xa3
jne 0x3941b
movzx edx, word [eax + ecx + 5]
cmp edx, esi
je 0x39426
inc ecx
cmp ecx, 0x100
jb 0x393f6
jmp 0x3943c
lea esi, [eax + ecx]
push esi
call fcn.00035474
mov eax, dword [eax + esi - 4]
cmp eax, dword [ebp - 8]
jbe 0x3943c
cmp eax, edi
jb 0x3943e
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5028a
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x18f498
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push esi
push 0x1e15d0
jmp 0x231bb1
pop edi
mov eax, esi
pop esi
jmp 0x199317
mov dword [ebp - 0xc], eax
jmp _strnicmp
je 0x15c246
add eax, eax
jmp 0x1b1c1d
push 1
jmp 0x1599f0
push edx
lea edx, [ecx + ecx]
jmp 0x1db651
push 1
jmp 0x182e61
jb 0x24a25b
jmp 0x1b8a69
push esi
push 0x1c2afb
jmp 0x1b84d0
push ecx
jmp 0x1bfe5e
mov dword [ebp - 8], esi
call edi
mov eax, dword [ebp - 8]
cmp eax, esi
jmp 0x161de7
ja 0x1b8bf2
inc edx
lea eax, [eax + 0x11c]
test bp, cx
clc
cmp edx, edi
jmp 0x182cfb
push ebp
mov ebp, esp
sub esp, 0xc
cmp di, 0x289a
sbb cx, 0x5a46
cwde
push esi
push edi
cbw
mov edi, dword [sym.imp.ntoskrnl.exe_NtQuerySystemInformation]
ror ecx, cl
or cl, dl
xor esi, esi
bswap cx
cwde
lea eax, [ebp - 8]
movsx cx, dh
push eax
push esi
lea ecx, [ebp - 4]
jmp 0x1f8467
mov esp, ebp
jmp 0x251052
push eax
jmp 0x1a450d
call eax
mov eax, dword [ebp - 0xc]
movzx esi, di
xchg si, si
pop edi
cmovb esi, esp
pop esi
mov esp, ebp
xchg ebp, ebp
pop ebp
jmp 0x230cef
je 0x1b8a5e
inc edi
lea esi, [esi + 0x11c]
cmp ebp, edx
cmp edi, ebx
jb 0x1a3131
jmp 0x1b8a69
mov ecx, dword [ebp - 4]
rol bl, cl
cmp si, cx
mov ebx, dword [ecx]
sub edi, edi
test ecx, esp
stc
test ebx, ebx
jbe KeCancelTimer
mov esi, ecx
shl edx, 0xbd
neg edx
xor edx, 0x63dd4e20
add esi, 4
lea ebx, [ebx]
movzx cx, al
not cx
movzx eax, word [esi + 0x1a]
seta cl
mov edx, dword [ebp + 8]
mov ecx, 0x411a463c
cmovne ecx, ecx
push 0
not ecx
push edx
movsx ecx, dx
lea ecx, [eax + esi + 0x1c]
jmp 0x184bf5
push 0xb
call edi
test eax, eax
jl 0x1b8a6f
mov esi, dword [ebp + 8]
jmp 0x24299d
test edi, edi
jmp 0x24a24c
ret 4
push eax
movzx ax, al
mov ax, 0x2003
push 0
mov ax, 0x90c
mov eax, dword [sym.imp.ntoskrnl.exe_ExAllocatePool_1]
call eax
mov dword [ebp - 4], eax
cmc
cmp cl, 0xc5
cmp eax, esi
jmp 0x2219ed
call fcn.0022332b
test eax, eax
jne 0x172dfc
mov ebx, dword [sym.imp.ntoskrnl.exe_IoAllocateMdl_1]
jmp 0x1c5962
mov edx, dword [esi + 8]
mov dword [ebp - 0xc], edx
or al, bh
rcl ah, 0x84
pop ebx
not al
bswap ax
mov eax, dword [ebp - 4]
test eax, eax
je 0x1a0994
push 0
jmp 0x24cedf
mov eax, ecx
jmp 0x15fba6
call fcn.0022332b
test eax, eax
jmp 0x1a1f79
jmp 0x1edea3
jae 0x18b8fa
mov esi, dword [eax + 4]
cmc
lea esi, [esi + ecx]
cmp esi, ebx
jmp 0x18b8f4
push edx
jmp 0x19b14f
jmp _strnicmp
jne 0x1a30fd
mov ebx, dword [sym.imp.HAL.dll_KeQueryPerformanceCounter]
test ebx, ebx
je 0x1a30fd
mov eax, dword [ebp - 4]
mov edi, dword [eax]
test ax, si
sub edx, edx
cmp si, bx
jmp 0x1a75f0
push ecx
push 0xb
mov dword [ebp - 0xc], esi
jmp 0x242d75
je 0x15c246
mov ecx, dword [ebp - 8]
mov edx, 0x3bdc4b93
lea edx, [ebp - 8]
jmp 0x17d458
ret 4
call fcn.0022332b
test eax, eax
jmp 0x1ede97
push ebx
jmp 0x180d9b
mov dword [ebp - 4], esi
jmp 0x188486
jbe 0x1b8a69
add eax, 0xc
xor cl, 0x57
mov ch, 0x6e
mov ecx, dword [eax]
test sp, cx
cmp ecx, ebx
jmp 0x1d6eda
push eax
mov eax, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag_1]
jmp 0x1a0992
pop ebp
jmp 0x1a9ae0
Function at 0x4062c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
cmp dword [0x418a40], 0
je 0x40630e
push 0x44
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0040ee60
add esp, 0xc
mov dword [ebp - 0x48], 0x44
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x4145f0]
jmp 0x40637a
push 0x44
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040ee60
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
push 0x410
mov edx, dword [ebp + 8]
push edx
call dword [0x414630]
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.0040bc20
add esp, 0x10
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xa0]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x4b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret

Function at 0x406400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [0x414630]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.0040bc20
add esp, 0x10
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [0x414630]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.0040bc20
add esp, 0x10
push 0x44
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0040ee60
add esp, 0xc
mov dword [ebp - 0x48], 0x44
movzx ecx, word [0x4196bc]
test ecx, ecx
je 0x4064a5
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x26c], eax
jmp 0x4064d1
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov esp, ebp
pop ebp
ret
Function at 0x4065b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
cmp dword [ebp + 0x14], 0
jne 0x4065ee
cmp dword [ebp + 0x10], 0
je 0x4065d9
push 0
push 0
push 0
mov eax, dword [0x418a70]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4065ec
push 2
push 0
push 0
mov ecx, dword [0x418a70]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x406619
push 0
push 0
mov edx, dword [0x41b38c]
push edx
mov eax, dword [0x418a70]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x406619
mov dword [0x41b38c], 0
call fcn.0040a3c0
push 0
lea ecx, [ebp - 0x51c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x418a70]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x406668
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebp - 0x51c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x418a70]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x406679
mov eax, dword [0x418a70]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4080f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov dword [ebp - 0x150], 0
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x12c], 0
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
lea edx, [ebp - 0x130]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [0x418a40], 0
je 0x4081d2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x13c], 0x4080c0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x150]
push ecx
call dword [0x414634]
mov dword [ebp - 0x10c], eax
jmp 0x40824a
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [0x414630]
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040bc20
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0x4080c0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x114], ecx
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x130]
push eax
call fcn.0040df81
add esp, 4
mov eax, dword [ebp - 0x10c]
mov esp, ebp
pop ebp
ret
Function at 0x408860
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x90], 2
jne 0x4088aa
cmp dword [ebp - 0x9c], 4
jne 0x4088aa
cmp dword [ebp - 0x98], 0
jne 0x4088aa
mov dword [ebp - 0xa4], 1
jmp 0x408929
cmp dword [ebp - 0x90], 1
jne 0x4088d1
cmp dword [ebp - 0x9c], 4
jne 0x4088d1
cmp dword [ebp - 0x98], 0
jb 0x4088d1
mov dword [ebp - 0xa4], 2
jmp 0x408929
cmp dword [ebp - 0x90], 2
jne 0x4088f8
cmp dword [ebp - 0x9c], 5
jne 0x4088f8
cmp dword [ebp - 0x98], 0
jne 0x4088f8
mov dword [ebp - 0xa4], 3
jmp 0x408929
cmp dword [ebp - 0x90], 2
jne 0x40891f
cmp dword [ebp - 0x9c], 5
jb 0x40891f
cmp dword [ebp - 0x98], 1
jb 0x40891f
mov dword [ebp - 0xa4], 4
jmp 0x408929
mov dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xa4]
mov esp, ebp
pop ebp
ret

Function at 0x408c40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [0x418a40], 0
je 0x408c6a
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4145fc]
jmp 0x408ca9
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call dword [0x414630]
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0040bc20
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esp, ebp
pop ebp
ret

Function at 0x408d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x418a40], 0
je 0x408d81
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x4145d8]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x408d79
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0x20c]
jmp 0x408de7
push 0x208
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x414630]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.0040bc20
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x408de1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0x20c]
mov esp, ebp
pop ebp
ret
Function at 0x408df0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x418a40], 0
je 0x408e2c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4145c4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408e27
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 8]
jmp 0x408ea7
mov eax, dword [ebp + 0xc]
push eax
call dword [0x414630]
add eax, 1
imul eax, eax, 3
push eax
call fcn.0040df6d
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x414630]
add eax, 1
imul eax, eax, 3
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [0x414630]
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040bc20
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x408e98
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 4]
push edx
call fcn.0040df81
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x408eb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [0x418a40], 0
je 0x408ef8
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4145cc]
jmp 0x409004
cmp dword [ebp + 0x10], 0
je 0x408f15
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
add eax, 1
imul eax, eax, 3
push eax
call fcn.0040df6d
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], 0
je 0x408f66
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [0x414630]
add eax, 1
imul eax, eax, 3
push eax
call fcn.0040df6d
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
push edx
call dword [0x414630]
add eax, 1
imul eax, eax, 3
push eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [0x414630]
add eax, 1
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040bc20
add esp, 0x10
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x408fdd
cmp dword [ebp - 8], 0
je 0x408fb9
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0040bc80
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x408fdd
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0040bc80
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x408fef
mov edx, dword [ebp - 8]
push edx
call fcn.0040df81
add esp, 4
cmp dword [ebp - 4], 0
je 0x409001
mov eax, dword [ebp - 4]
push eax
call fcn.0040df81
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4092c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 4], 0
cmp dword [0x418a40], 0
je 0x4092f9
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x4145d4]
jmp 0x40936b
push 0x208
mov eax, dword [ebp + 0xc]
push eax
call dword [0x414630]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0040bc20
add esp, 0x10
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov esp, ebp
pop ebp
ret

Function at 0x409370
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
cmp dword [0x418a40], 0
je 0x409396
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4145c8]
jmp 0x40940d
cmp dword [ebp + 0xc], 0
je 0x4093b8
mov edx, dword [ebp + 0xc]
push edx
call dword [0x414630]
add eax, 0xa
imul eax, eax, 3
push eax
call fcn.0040df6d
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [0x414630]
add eax, 0xa
imul eax, eax, 3
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x414630]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0040bc20
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x40940a
mov eax, dword [ebp - 8]
push eax
call fcn.0040df81
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x409420
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x418a40], 0
je 0x409442
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4145e0]
jmp 0x409479
push 0x208
mov edx, dword [ebp + 8]
push edx
call dword [0x414630]
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.0040bc20
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esp, ebp
pop ebp
ret