joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ab10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002ab91
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002ab44
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1002ab8f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002ab72
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 0x1002ab8f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.100114b6
mov dword [eax], 0xf903
jmp 0x1002ab67
jmp 0x1002aba5
push 0
push 0x5c8
push 0x1528
call fcn.1002aa20
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1002fba2
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002fbf2
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x7bf3
push dword [ebp - 0xc]
push 0x6a93
push dword [ebp - 0x10]
push 0
push 0x6db
push dword [ebp - 0x14]
call fcn.10031cb9
add esp, 0x20
jmp 0x1002fc81
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1002fc61
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 - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002fc42
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], 4
jge 0x1002fc5f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.100114b6
mov dword [eax], 0x66e9b1cc
jmp 0x1002fc37
jmp 0x1002fc81
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 0x1002fc81
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esp, ebp
pop ebp
ret
Function at 0x1002fe49
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002fefa
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002fed8
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 - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
jmp 0x1002feac
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x1002fed6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100114b6
mov esi, eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100114b6
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1002fea1
jmp 0x1002fef8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002fef8
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1002ff25
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
push 0x794d
push 0x6b89
push 0x1054
call fcn.100311c5
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100315bb
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003163e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10031604
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10031602
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x1003163c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.100114b6
mov dword [eax], esi
jmp 0x1003165b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
push 0x790d
push 0x16a5
push dword [ebp - 0x30]
push 1
call fcn.100312da
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100317ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10031844
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10031824
push 0x22b0
push 0x1acc
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x10031842
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 0x10031842
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x10031861
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x14]
push 0x29f2
push 0x3d8c
call fcn.100350e4
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10031f2b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10031f8f
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10031f63
push 0x687
push 0xcb
push 0
push 0x22e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x10031f8d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10031f8d
push 0xc53
push 0xd74
push 0x1bce
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x10031f9d
push 0x85c
push 0
call fcn.10047399
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100329db
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10032a47
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10032a1b
push 0x856
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10032a42
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10032a42
push 0
push 0x17f7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
jmp 0x10032b1d
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10032ad2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jbe 0x10032ad0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
push dword [ebp - 0x30]
push 0
push 0x2ffb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x7aed
push 0xdd1
push 1
call fcn.1003464d
add esp, 0x20
jmp 0x10032b1d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10032b00
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], 2
jge 0x10032b1d
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.100114b6
mov dword [eax], 0xad95
jmp 0x10032af5
mov esp, ebp
pop ebp
ret
Function at 0x100414a9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100414de
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.10042154
add esp, 0x10
jmp 0x1004155a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10041526
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 0x10041524
push 0x1f94
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1004155a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1004155a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esp, ebp
pop ebp
ret

Function at 0x100425af
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10042632
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10042616
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
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]
push dword [eax]
push dword [ebp - 0x1c]
push 0x35b2
push 0xae2
push 0x1716
push 0
push 0
call fcn.1004668b
add esp, 0x1c
jmp 0x10042630
push 0x856
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10042661
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push 0x14f3
push 0xa8b
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.100311c5
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10043d48
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10043dcb
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10043dbf
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10043da0
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], 2
jge 0x10043dbd
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.100114b6
mov dword [eax], 0x57fd5464
jmp 0x10043d95
jmp 0x10043dc9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10043df1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push 0x595f
push dword [ebp - 0x24]
push 0
push 0x6098
call fcn.1004567d
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x100471ec
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004725b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10047242
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 0x10047240
push 0x1f94
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10047259
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10047277
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x24]
call fcn.100317ba
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1006ab05
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10074768]
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.1005b988
mov dword [ebp - 0x14], eax
cmp dword [0x10661718], esi
jne 0x1006abf8
push 0x800
push esi
push 0x10009830
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006ab85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006acd8
push esi
push esi
push 0x10009830
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006acd8
push 0x10009848
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006acd8
push eax
call ebx
push 0x10009854
push edi
mov dword [0x10661718], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009864
push edi
mov dword [0x1066171c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009878
push edi
mov dword [0x10661720], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10661728], eax
test eax, eax
je 0x1006abf5
push 0x10009894
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10661724], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006ac1d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006ac10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006ac32
push 4
pop eax
jmp 0x1006acda
cmp dword [ebp - 0x14], esi
je 0x1006ac32
push dword [0x10661718]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006ac17
mov eax, dword [0x10661724]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006ac90
cmp dword [0x10661728], edi
je 0x1006ac90
push eax
call ebx
push dword [0x10661728]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006ac90
test eax, eax
je 0x1006ac90
call ecx
test eax, eax
je 0x1006ac85
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 0x1006ac85
test byte [ebp - 8], 1
jne 0x1006ac90
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006acc0
mov eax, dword [0x1066171c]
cmp eax, edi
je 0x1006acbd
push eax
call ebx
test eax, eax
je 0x1006acbd
call eax
mov esi, eax
test esi, esi
je 0x1006acbd
mov eax, dword [0x10661720]
cmp eax, edi
je 0x1006acbd
push eax
call ebx
test eax, eax
je 0x1006acbd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10661718]
call ebx
test eax, eax
je 0x1006acd8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006acda
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10058c1b
mov esp, ebp
pop ebp
ret
Function at 0x401571
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
call sub.MSVCRT.dll_wcslen
mov edi, eax
lea eax, [edi + edi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp + 8]
mov esi, eax
push esi
call sub.MSVCRT.dll_wcscpy
xor ebx, ebx
push 0x1e
lea eax, [ebp - 0x20]
push ebx
mov word [esi + edi*2], bx
push eax
mov word [esi + edi*2 + 2], bx
call sub.MSVCRT.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x20]
mov word [ebp - 0x10], 0x414
mov dword [ebp - 0xa], ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40170d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x58]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov word [ebp - 0x28], si
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x40175e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
jmp 0x401771
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov esi, dword [ebp + 0x10]
push 4
pop eax
push eax
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
pop esi
leave
ret 0xc
Function at 0x401798
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
push esi
xor esi, esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x4018b0
lea eax, [ebp - 0x250]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40187b
push dword [ebp + 8]
lea eax, [ebp - 0x510]
push eax
call sub.MSVCRT.dll_wcscpy
pop ecx
mov eax, dword [ebp - 0x250]
pop ecx
mov dword [ebp - 0x308], eax
push 1
push esi
push esi
push dword [ebp - 0x234]
call fcn.00405a70
mov ecx, dword [ebp - 0x230]
add eax, ecx
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x238]
adc edx, esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2e4], eax
mov eax, 0x2c0
push eax
mov dword [ebp - 0x2fc], edx
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esi]
lea ecx, [ebp - 0x510]
jmp 0x40189c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp + 0x10]
push 4
mov dword [ebp + 8], eax
pop eax
push eax
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
jmp 0x4018db
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp + 0x10]
push 4
mov dword [ebp + 8], eax
pop eax
push eax
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
pop esi
leave
ret 0xc

Function at 0x4018e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x208]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x401914
mov esi, dword [ebp + 0x10]
mov eax, 0x410
push eax
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esi]
push edi
jmp 0x401936
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp + 0x10]
push 4
mov dword [ebp + 8], eax
pop eax
push eax
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
pop edi
pop esi
pop ebp
ret 0xc