joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c804
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002c8d4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002c8aa
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 3
jmp 0x1002c866
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1002c8a8
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002c885
push 1
push 1
call fcn.1002601d
pop ecx
pop ecx
push 0x313b
push 0x4ff6
push 1
push 0x12b5
push dword [ebp - 8]
push 0
push dword [ebp - 0x20]
call fcn.1003402e
add esp, 0x1c
jmp 0x1002c85b
jmp 0x1002c8d2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1002c8d2
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1002c903
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x2113
push dword [ebp - 0x38]
push 0
push 0x1db
call fcn.1002372e
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10031751
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100317f2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100317a8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x100317a6
push 0x222f
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x100317f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100317d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x100317f0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10017dd6
and dword [eax], 0
jmp 0x100317cb
jmp 0x10031824
push 0x40ba
push 0x1953
push 0x18be
push 1
push 0x75af
push 0x2979
push 0x2091
push 0x7049
push 0x6c24
call fcn.10021254
add esp, 0x24
mov esp, ebp
pop ebp
ret

Function at 0x100337de
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10033828
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push 0x359f
push dword [ebp - 8]
push 1
push 0x20f4
push dword [ebp - 0xc]
push 0x2af5
push 0x7103
push 0x50a3
push 0x34a2
call fcn.1003386a
add esp, 0x24
jmp 0x10033866
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003384c
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x10033866
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10033866
push 0
push 0x7a7b
call fcn.1002d8df
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10034d6f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10034dc2
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10034db6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10034db4
push 0x33c0
push 1
push 0x4350
push 1
push 0x8a8
call fcn.10031fe2
add esp, 0x14
jmp 0x10034dc0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10034de3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0
push 0x675e
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10020d49
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10039ddf
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071341
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10039f18
mov dword [ebp - 0x20], 0x2162
mov dword [ebp - 0x28], 0x10008748
cmp dword [ebp - 0x20], 0x21ce
jle 0x10039e73
and dword [ebp - 0x18], 0
jmp 0x10039e31
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x60b0
jge 0x10039e73
and dword [ebp - 0x1c], 0
jmp 0x10039e47
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x40bf
jge 0x10039e71
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov ecx, 0x10618758
call fcn.10017a2f
jmp 0x10039e40
jmp 0x10039e2a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x1e13
jge 0x10039e93
mov edx, dword [ebp - 0x28]
mov ecx, 0x10618758
call fcn.1001bf11
jmp 0x10039eaf
or dword [ebp - 4], 0xffffffff
jmp 0x10039eb9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10039efe
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov dword [ecx + 0x18], eax
jmp 0x10039f16
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10039f16
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10039f35
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
push 0x418e
push 0x234e
push dword [ebp - 0x44]
push 0
call fcn.10038511
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003a50b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003a597
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1003a58b
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1003a595
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1003a5b5
push 0x45fe
push 0
push 0x54fe
push 0x12b1
push 0x866
call fcn.1003a4ed
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x1003ac29
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003ac66
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push 0x1227
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.1003ad08
add esp, 0x14
jmp 0x1003ad04
lea eax, [ebp + 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1003acdc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
and eax, dword [ecx]
je 0x1003acc8
mov eax, dword [ebp - 4]
push dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.1003868c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov dword [ebp - 0xc], eax
jmp 0x1003acd0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x1003ad04
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1003ad04
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x1003ad2b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003ae9b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x76c4
mov dword [ebp - 0x28], 0x100087b0
cmp dword [ebp - 0x20], 0x792d
jle 0x1003ade6
and dword [ebp - 0x1c], 0
jmp 0x1003ad83
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x668e
jge 0x1003ade0
and dword [ebp - 0x14], 0
jmp 0x1003ad99
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4301
jge 0x1003adde
and dword [ebp - 0x18], 0
jmp 0x1003adaf
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5ac2
jge 0x1003addc
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
mov ecx, 0x10618758
call fcn.10017a2f
jmp 0x1003ada8
jmp 0x1003ad92
jmp 0x1003ad7c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x7536
jge 0x1003ae06
mov edx, dword [ebp - 0x28]
mov ecx, 0x10618758
call fcn.1001bf11
jmp 0x1003ae22
or dword [ebp - 4], 0xffffffff
jmp 0x1003ae2c
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1003ae81
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1003ae99
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x1003aeb8
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
push 0x7c7a
push 0x2681
push 0
push dword [ebp - 0x5c]
call fcn.10038470
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003afea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003b036
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x1ff1
push dword [ebp - 0x14]
call fcn.1003b09a
add esp, 0x1c
jmp 0x1003b096
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1003b084
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push 0xf
push 5
call fcn.100384ce
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x1003b096
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x1003ea2e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003eab8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1003ea96
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x1003ea74
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1003ea94
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003ea92
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1003ea69
jmp 0x1003eab6
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003eab6
push 0
push 0x2f54
push 0x56ab
call fcn.1003ff2c
add esp, 0xc
jmp 0x1003ead0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0
push 0x5010
call fcn.100402f8
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1003febf
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003feeb
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.1003ff2c
add esp, 0xc
jmp 0x1003ff28
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003ff20
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003ff1e
push 0x1444
push 0x66d
push 0
push 0x170d
call dword [sym.imp.USER32.dll_DrawFrameControl]
jmp 0x1003ff28
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret

Function at 0x1003ff68
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003ffad
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x6676
push 0x1d93
push 0x174a
push dword [ebp - 4]
push 1
push 0x1742
push dword [ebp - 8]
push 0x7e3a
call fcn.1003ffdb
add esp, 0x20
jmp 0x1003ffd7
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1003ffcf
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ExtCreatePen]
jmp 0x1003ffd7
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret

Function at 0x10040d6f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10040e25
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10040dd7
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10040dd5
push 0x3bd2
push 0x3e22
push 0x3e12
push 0x194d
push 1
push 0
push 0
call fcn.10041053
add esp, 0x1c
jmp 0x10040e23
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10040e23
push 1
push 0x1528
push 0x63a
push 1
push 0x7140
push 0x3e2b
push 0
push 0x4075
push 0x5cfc
push 0x7a6b
push 0x7f09
call fcn.100519da
add esp, 0x2c
jmp 0x10040e62
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10040e49
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x10040e62
push 0
push 0
push 0xb11
push 0x1bfa
push 0x1fc7
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x10052897
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071a12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10052a64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10052a58
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10ece150]
and eax, 1
jne 0x10052936
mov eax, dword [0x10ece150]
or eax, 1
mov dword [0x10ece150], eax
and dword [ebp - 4], 0
mov ecx, 0x10ece19c
call fcn.10018153
push 0x10071c5d
call fcn.10059066
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
imul eax, dword [eax], 0x3e8
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x10ece048]
test eax, eax
je 0x100529a8
mov ecx, 0x10ece19c
call fcn.10052c88
movzx eax, al
test eax, eax
jne 0x100529a8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x10ece19c
call fcn.10018074
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x10ece19c
call fcn.10018066
push eax
lea ecx, [ebp - 0x10]
call fcn.10018140
movzx eax, al
test eax, eax
je 0x100529a8
lea ecx, [ebp - 0x10]
call fcn.10052c91
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x10052a6c
push dword [ebp - 0x14]
call fcn.10043eac
pop ecx
mov dword [ebp - 0x3c], eax
push 1
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0
push dword [ebp - 0x3c]
call fcn.10049866
add esp, 0x10
mov dword [ebp - 0x24], eax
movzx eax, byte [0x10ece048]
test eax, eax
je 0x100529e7
mov ecx, 0x10ece19c
call fcn.10052c88
movzx eax, al
test eax, eax
jne 0x10052a4c
push 0x672
push 0x62bb
lea eax, [ebp - 0x24]
push eax
push 0x10ece19c
push 1
push 0x656d
lea eax, [ebp - 0x1c]
push eax
push 0x5e89
push 1
push 1
call fcn.10051d9e
add esp, 0x28
push 0x3c66
push 0x3cfd
push 1
push 0x10ece048
push 0x6a34
push 0x626a
push 0x645b
push 1
push 0x49ab
push 1
push 0x3e0b
call fcn.10051fdf
add esp, 0x2c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x10052a6c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10052a6c
push 0
call fcn.100404b6
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006c685
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10076740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005ed08
mov dword [ebp - 0x14], eax
cmp dword [0x1061986c], esi
jne 0x1006c778
push 0x800
push esi
push 0x10007590
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006c705
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006c858
push esi
push esi
push 0x10007590
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006c858
push 0x100075a8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006c858
push eax
call ebx
push 0x100075b4
push edi
mov dword [0x1061986c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075c4
push edi
mov dword [0x10619870], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075d8
push edi
mov dword [0x10619874], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061987c], eax
test eax, eax
je 0x1006c775
push 0x100075f4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10619878], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006c79d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006c790
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006c7b2
push 4
pop eax
jmp 0x1006c85a
cmp dword [ebp - 0x14], esi
je 0x1006c7b2
push dword [0x1061986c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006c797
mov eax, dword [0x10619878]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006c810
cmp dword [0x1061987c], edi
je 0x1006c810
push eax
call ebx
push dword [0x1061987c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006c810
test eax, eax
je 0x1006c810
call ecx
test eax, eax
je 0x1006c805
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006c805
test byte [ebp - 8], 1
jne 0x1006c810
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006c840
mov eax, dword [0x10619870]
cmp eax, edi
je 0x1006c83d
push eax
call ebx
test eax, eax
je 0x1006c83d
call eax
mov esi, eax
test esi, esi
je 0x1006c83d
mov eax, dword [0x10619874]
cmp eax, edi
je 0x1006c83d
push eax
call ebx
test eax, eax
je 0x1006c83d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061986c]
call ebx
test eax, eax
je 0x1006c858
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006c85a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005b9ad
mov esp, ebp
pop ebp
ret