joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460147
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476dec]
jne 0x460151
repz ret
jmp fcn.00463919

Function at 0x460668
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00454998
xor ebx, ebx
cmp dword [0x479228], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46073e
push 0x46b4a8
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46081e
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46b49c
push edi
call esi
cmp eax, ebx
je 0x46081e
push eax
call fcn.0045492a
mov dword [esp], 0x46b48c
push edi
mov dword [0x479228], eax
call esi
push eax
call fcn.0045492a
mov dword [esp], 0x46b478
push edi
mov dword [0x47922c], eax
call esi
push eax
call fcn.0045492a
mov dword [0x479230], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044eb00
test eax, eax
pop ecx
pop ecx
je 0x46070c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454f21
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46073e
push 0x46b45c
push edi
call esi
push eax
call fcn.0045492a
cmp eax, ebx
pop ecx
mov dword [0x479238], eax
je 0x46073e
push 0x46b444
push edi
call esi
push eax
call fcn.0045492a
pop ecx
mov dword [0x479234], eax
mov eax, dword [0x479234]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4607c3
cmp dword [0x479238], ecx
je 0x4607c3
push eax
call fcn.004549a1
push dword [0x479238]
mov esi, eax
call fcn.004549a1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4607c3
cmp edi, ebx
je 0x4607c3
call esi
cmp eax, ebx
je 0x460790
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x460790
test byte [ebp - 0x18], 1
jne 0x4607c3
lea eax, [ebp - 0x10]
push eax
call fcn.0044eb37
test eax, eax
pop ecx
je 0x4607ab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454f21
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4607ba
or dword [ebp + 0x10], 0x200000
jmp 0x4607fe
or dword [ebp + 0x10], 0x40000
jmp 0x4607fe
mov eax, dword [0x47922c]
cmp eax, dword [ebp - 8]
je 0x4607fe
push eax
call fcn.004549a1
cmp eax, ebx
pop ecx
je 0x4607fe
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4607fe
mov eax, dword [0x479230]
cmp eax, dword [ebp - 8]
je 0x4607fe
push eax
call fcn.004549a1
cmp eax, ebx
pop ecx
je 0x4607fe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x479228]
call fcn.004549a1
cmp eax, ebx
pop ecx
je 0x46081e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x460820
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d0e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7c41f0]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
test eax, 0xfffffffe
jne 0x42d11c
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x42d11c
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x42d168
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x42d164
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x42d164
xor dl, dl
jmp 0x42d17a
mov dl, 1
jmp 0x42d17a
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne dl
xor ecx, ecx
lea eax, [esi + 0x10]
xchg dword [eax], ecx
test dl, dl
jne 0x42d18c
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0042cfa0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42dae0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x7c41f0]
push esi
mov esi, ecx
test eax, 0xfffffffe
jne 0x42db0f
push 0x7c41f0
call fcn.00418c90
add esp, 4
test al, al
je 0x42db0f
mov ecx, 0x7c41f4
call fcn.004228b0
mov dword [0x7c41f0], eax
mov eax, dword [0x7c41f0]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], esi
mov dword [esi + 8], 0
pop esi
ret

Function at 0x431560
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x7ad398]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x43157a
call fcn.00423af0
mov ecx, eax
mov eax, dword [0x7c4314]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x4315c6
push 0xc
call fcn.004a7835
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x7ad398]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4315bb
call fcn.00423af0
mov ecx, dword [0x7c4314]
mov dword [eax + ecx*4], esi
mov eax, esi
pop esi
ret
Function at 0x4a6476
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x4dad5a
call fcn.004a85ed
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x4a649b
xor eax, eax
jmp 0x4a6614
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a64c7
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4a64c7
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4a6614
cmp dword [esi + 0x4c], 0
je 0x4a6611
mov ecx, esi
call fcn.004a60a3
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4a64fa
push dword [esi + 0x4c]
push edi
call fcn.004a5a2c
pop ecx
pop ecx
test al, al
je 0x4a6611
movzx ebx, di
jmp 0x4a6611
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00405790
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x4a6532
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.004a89d7
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x4a6605
cmp eax, 1
jg 0x4a65e0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x4a657b
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x4a65a8
cmp eax, 0x10
jae 0x4a658a
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.004b3fe5
add esp, 0x10
cmp edi, eax
jne 0x4a65db
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x4a65ab
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x4a65d5
test edi, edi
jne 0x4a6526
cmp dword [ebp - 0x18], 0x20
jae 0x4a65ff
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.00406820
jmp 0x4a6520
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4a65ff
cmp eax, 3
jne 0x4a6605
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004a5a2c
pop ecx
pop ecx
test al, al
je 0x4a65ff
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401d30
mov ax, bx
call fcn.004a85a8
ret 4
Function at 0x4ca764
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ca423

Function at 0x4ca76f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ca5a6

Function at 0x4cb23e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb1ba

Function at 0x4cffdc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cfc76
Function at 0x404c90
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8f38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ebfe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add eax, 0x520
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c480
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x538
call fcn.00407da0
jmp 0x404cf2
push 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.004087c0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x538
call fcn.00407dd0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fd20
movzx ecx, al
test ecx, ecx
je 0x404d3c
push 0
lea ecx, [ebp - 0x18]
call fcn.004087a0
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x18]
call fcn.004087a0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404ce4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x538
call fcn.004085e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x404d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.0041cba0
add esp, 4
push str.ZIPINSTALL
push 0x6d
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404dc5
xor al, al
jmp 0x404e70
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404def
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x404e70
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0
jne 0x404e0e
xor al, al
jmp 0x404e70
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0041bd2c
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x404e48
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004a85b0
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0041cbb0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x405260
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004a8470
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x4cb67c
push 1
push 0
push 0x4cb68c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jge 0x4052cb
xor eax, eax
jmp 0x40535d
mov ecx, dword [ebp + 8]
call fcn.00402c10
push eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ecx + 0x50]
call eax
lea ecx, [ebp - 4]
push ecx
push 0x4cb6ac
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jge 0x405317
xor eax, eax
jmp 0x40535d
push 2
mov ecx, dword [ebp + 0xc]
call fcn.00402c10
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret
Function at 0x405370
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9408
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallok
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x38], eax
push 0x4df7b8
lea ecx, [ebp - 0x34]
call fcn.00401840
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00472d20
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00402c10
push eax
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004018e0
lea ecx, [ebp - 0x34]
call fcn.00472d20
sub eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00407b90
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x40543a
push 0x4df7dc
lea ecx, [ebp - 0x34]
call fcn.00401920
push 0x4df7e0
lea ecx, [ebp - 0x34]
call fcn.00401920
lea ecx, [ebp - 0x34]
call fcn.00472d20
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00402c10
push eax
push 1
push 0
push 0x4df7fc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004018e0
lea ecx, [ebp - 0x34]
call fcn.00472d20
sub eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00407b90
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4054a6
push 0x4df81c
lea ecx, [ebp - 0x34]
call fcn.00401920
push 0x4df820
lea ecx, [ebp - 0x34]
call fcn.00401920
lea ecx, [ebp - 0x34]
call fcn.00472d20
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00402c10
push eax
push 1
push 0
push str.DisplayIcon
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
call fcn.00472d20
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402c10
push eax
push 1
push 0
push str.DisplayShortcut
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x10], 0
je 0x405517
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004018c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret
Function at 0x405540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x814], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4055f8
lea ecx, [ebp - 8]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4055ea
xor edx, edx
mov word [ebp - 0x810], dx
push 0x7fe
push 0
lea eax, [ebp - 0x80e]
push eax
call fcn.004a8470
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4055d8
lea eax, [ebp - 0x810]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401840
mov ecx, dword [ebp - 0x814]
or ecx, 1
mov dword [ebp - 0x814], ecx
mov eax, dword [ebp + 8]
jmp 0x405617
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x4df870
mov ecx, dword [ebp + 8]
call fcn.00401840
mov edx, dword [ebp - 0x814]
or edx, 1
mov dword [ebp - 0x814], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret
Function at 0x405860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c93cd
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.004a8470
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x814]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x405a57
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x834]
call fcn.00401840
mov dword [ebp - 4], 0
push 0x4df8b4
lea ecx, [ebp - 0x834]
call fcn.00401920
lea ecx, [ebp - 0x834]
push ecx
call fcn.004108c0
add esp, 4
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x405a45
push 0x4df8c4
lea edx, [ebp - 0x834]
push edx
lea eax, [ebp - 0x86c]
push eax
call fcn.0040b530
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x86c]
call fcn.00402c10
push eax
lea ecx, [ebp - 0x888]
call fcn.00401840
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.00402c10
push eax
lea ecx, [ebp - 0x8a4]
call fcn.00401840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x888]
push ecx
lea edx, [ebp - 0x8a4]
push edx
call fcn.00405260
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a4]
call fcn.004018c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x888]
call fcn.004018c0
push 0x4df8e0
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x850]
push ecx
call fcn.0040b530
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x850]
call fcn.00402c10
push eax
lea ecx, [ebp - 0x8c0]
call fcn.00401840
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
call fcn.00402c10
push eax
lea ecx, [ebp - 0x8dc]
call fcn.00401840
mov byte [ebp - 4], 6
lea edx, [ebp - 0x8c0]
push edx
lea eax, [ebp - 0x8dc]
push eax
call fcn.00405260
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8dc]
call fcn.004018c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c0]
call fcn.004018c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x850]
call fcn.004018c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x86c]
call fcn.004018c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x834]
call fcn.004018c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret
Function at 0x40beb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0040c3f0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040c310
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40bf1b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0040c3d0
mov eax, dword [ebp - 0x224]
jmp 0x40bfac
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40bf81
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040beb0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40bf78
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0040c3d0
mov eax, dword [ebp - 0x228]
jmp 0x40bfac
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x40bf22
lea ecx, [ebp - 0x14]
call fcn.0040c380
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0040be20
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0040c3d0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret 4

Function at 0x40c250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x40c259
xor ecx, ecx
jne 0x40c259
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40c2a0
mov eax, dword [ebp - 0xc]
jmp 0x40c2fd
cmp dword [ebp - 4], 1
je 0x40c2b3
cmp dword [ebp - 4], 2
je 0x40c2b3
mov eax, 0xd
jmp 0x40c2fd
cmp dword [ebp + 0xc], 0
je 0x40c2f1
cmp dword [ebp - 8], 0
je 0x40c2e9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40c2e0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40c2e7
mov eax, 0xd
jmp 0x40c2fd
jmp 0x40c2f1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410500
Capabilities:
Create process on windows
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c949b
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
push str.taskkill__f__im
lea ecx, [ebp - 0x4c]
call fcn.00401840
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040e650
push 0x4dea48
lea ecx, [ebp - 0x4c]
call fcn.00401920
push 0x4dea50
lea ecx, [ebp - 0x468]
call fcn.00401840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x468]
call fcn.0040e650
push 0x4dea5c
lea ecx, [ebp - 0x468]
call fcn.00401920
xor edx, edx
mov word [ebp - 0x44c], dx
push 0x3fe
push 0
lea eax, [ebp - 0x44a]
push eax
call fcn.004a8470
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x44c]
push edx
lea ecx, [ebp - 0x30]
call fcn.00401840
mov byte [ebp - 4], 2
push 0x4dea60
lea ecx, [ebp - 0x30]
call fcn.00401920
lea ecx, [ebp - 0x468]
call fcn.00402c10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 0x4dea74
lea ecx, [ebp - 0x468]
call fcn.00402c10
push eax
lea ecx, [ebp - 0x30]
call fcn.00402c10
push eax
push 0x4dea78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004018c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.004018c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004018c0
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret 4