joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447990
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xa
mov esi, str.c:TestTES.exe__ss
lea edi, [ebp - 0x21c]
rep movsd dword es:[edi], dword [esi]
push 0x1e0
push 0
lea eax, [ebp - 0x1f4]
push eax
call fcn.0042a350
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00446250
add esp, 4
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
push str.c:program_files___tunnelsRemoteCtrlTray.exe
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
push eax
push str.attribute___d_n
call fcn.0042bdd5
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.004014d0
mov dword [ebp - 4], 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x238]
call fcn.0041f540
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401540
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret

Function at 0x448020
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00401410
mov dword [ebp - 0x134], str.mswsock.dll
push 0x5c
mov edx, dword [ebp - 0x134]
push edx
call fcn.0042fe70
add esp, 8
test eax, eax
je 0x4480d4
push 0x104
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x4480d2
mov dword [ebp - 0x244], 1
lea ecx, [ebp - 0x12c]
call fcn.00401490
mov eax, dword [ebp - 0x244]
jmp 0x44816b
jmp 0x448150
mov byte [ebp - 0x240], 0
push 0x103
push 0
lea edx, [ebp - 0x23f]
push edx
call fcn.0042a350
add esp, 0xc
mov eax, dword [ebp - 0x134]
push eax
push str._SystemRoot_
push str._s_system32_s
push 0x103
lea ecx, [ebp - 0x240]
push ecx
call fcn.0042fac8
add esp, 0x14
push 0x104
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x448150
mov dword [ebp - 0x248], 1
lea ecx, [ebp - 0x12c]
call fcn.00401490
mov eax, dword [ebp - 0x248]
jmp 0x44816b
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x12c]
call fcn.00401490
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x4486b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ax, word [0x459ba4]
mov word [ebp - 0x820], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x828], 0x80004005
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
jne 0x44874a
jmp 0x44880f
mov ecx, dword [ebp - 0x824]
push ecx
call fcn.00429e2e
add esp, 4
mov dword [ebp - 0x82c], eax
mov edx, dword [ebp - 0x82c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x448778
jmp 0x44880f
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x824]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x448796
jmp 0x44880f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x459ba8
mov edx, dword [ebp - 4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4487b4
jmp 0x44880f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4487fc
jmp 0x44880f
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00401580
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x448842
mov edx, dword [ebp - 4]
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x830]
push eax
call fcn.0042acac
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x448990
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x4489ae
jmp 0x448b0a
mov dword [ebp - 0x464], 0xffffffff
mov word [ebp - 0x460], 0
push 0x206
push 0
lea eax, [ebp - 0x45e]
push eax
call fcn.0042a350
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._s.
push 0x103
lea edx, [ebp - 0x460]
push edx
call fcn.0042aa83
add esp, 0x10
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x448afd
mov word [ebp - 0x670], 0
push 0x206
push 0
lea edx, [ebp - 0x66e]
push edx
call fcn.0042a350
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x45a9b4
push 0x103
lea edx, [ebp - 0x670]
push edx
call fcn.0042aa83
add esp, 0x14
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x468], eax
push 0x45a9c0
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0042b8f5
add esp, 8
test eax, eax
je 0x448aaa
push 0x45a9c4
lea edx, [ebp - 0x22c]
push edx
call fcn.0042b8f5
add esp, 8
test eax, eax
je 0x448aaa
cmp dword [ebp - 0x468], 0xffffffff
jne 0x448aac
jmp 0x448ade
mov eax, dword [ebp - 0x468]
and eax, 0x10
jne 0x448ac8
lea ecx, [ebp - 0x670]
push ecx
call fcn.00448860
add esp, 4
jmp 0x448ade
mov edx, dword [ebp + 0xc]
sub edx, 1
push edx
lea eax, [ebp - 0x670]
push eax
call fcn.00448990
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x448af8
jmp 0x448afd
jmp 0x448a0e
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x449a90
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x214], 0
jmp 0x449ae3
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0xa
jae 0x449b81
push 0x103
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax*4 + 0x465230]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x449b7c
mov eax, dword [ebp - 0x218]
and eax, 0x10
jne 0x449b7c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x449b7c
push 4
push 0x45c25c
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x449b6f
mov eax, dword [ebp - 0x21c]
mov dword [eax + 8], 1
jmp 0x449b7c
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 4], 1
jmp 0x449ad4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x44a0d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov word [ebp - 4], 0
mov word [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
push 1
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.0042c83f
add esp, 0x10
cmp eax, 1
je 0x44a110
xor eax, eax
jmp 0x44a191
movzx edx, word [ebp - 4]
sub edx, 2
mov word [ebp - 8], dx
push 1
movzx eax, word [ebp - 8]
add eax, 3
push eax
call fcn.0042c3b4
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x44a140
xor eax, eax
jmp 0x44a191
push 2
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042b020
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
push 1
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042c83f
add esp, 0x10
cmp eax, 1
je 0x44a18e
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042acb1
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x44a191
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x44a1c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov word [ebp - 4], 0
mov word [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
push 1
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.0042c83f
add esp, 0x10
cmp eax, 1
je 0x44a200
xor eax, eax
jmp 0x44a28d
movzx edx, word [ebp - 4]
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
add eax, 1
imul edx, eax
mov word [ebp - 8], dx
push 1
movzx ecx, word [ebp - 8]
add ecx, 3
push ecx
call fcn.0042c3b4
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x44a23c
xor eax, eax
jmp 0x44a28d
push 2
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042b020
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
push eax
push 1
movzx ecx, word [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042c83f
add esp, 0x10
cmp eax, 1
je 0x44a28a
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042acb1
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x44a28d
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x44b620
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44b641
xor eax, eax
jmp 0x44b6ab
lea ecx, [ebp - 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x44b664
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44b6ab
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x44b6a6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44b6ab
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x44ba90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0044b620
test eax, eax
je 0x44bbd8
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x668], 0
push 0x424
push 0
lea ecx, [ebp - 0x664]
push ecx
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x66c], 0xffffffff
mov dword [ebp - 0x23c], 0xffffffff
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0xffffffff
jne 0x44bb23
xor eax, eax
jmp 0x44bbda
mov dword [ebp - 0x238], 0x22c
mov ecx, 0x466fa4
call fcn.00411c80
mov ecx, 0x466fb0
call fcn.00411c80
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x66c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44bb5c
xor eax, eax
jmp 0x44bbda
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.0044b6b0
add esp, 8
test eax, eax
je 0x44bb8c
mov eax, dword [ebp - 0x230]
push eax
push str.Process__d_is_malicious_svchost_process_n
call fcn.0042a9d4
add esp, 8
jmp 0x44bbc1
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.0044ba70
add esp, 8
test eax, eax
je 0x44bbc1
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
push str.Process__d___s__is_malicious_process_n
call fcn.0042a9d4
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x66c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44bb5c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x44bd40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454f13
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4645c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0x105
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
shl eax, 1
push eax
call fcn.00429e2e
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x44bda3
jmp 0x44be78
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44bdc4
jmp 0x44bdee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x44bdd3
jmp 0x44bdee
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0042acac
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x44bd81
cmp dword [ebp - 0x14], 0
je 0x44be59
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
jmp 0x44be12
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042a3cf
add esp, 4
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x44be59
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.00401500
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x466f98
call fcn.00411a40
mov ecx, eax
call fcn.00401580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401540
jmp 0x44bdfc
cmp dword [ebp - 0x18], 0
je 0x44be78
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0042acac
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44c0c0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x430], 0
mov ax, word [0x45c6b8]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x434], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x42c], 0
mov dx, word [0x45c6bc]
mov word [ebp - 0x428], dx
push 0x206
push 0
lea eax, [ebp - 0x426]
push eax
call fcn.0042a350
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
jne 0x44c19d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
push str.FindFirstVolumeW_failed_with_error_code__d_n
call fcn.0042a9d4
add esp, 8
mov eax, dword [ebp - 0x21c]
jmp 0x44c2fb
lea eax, [ebp - 0x428]
push eax
call fcn.0042a3cf
add esp, 4
sub eax, 1
mov dword [ebp - 4], eax
movzx ecx, word [ebp - 0x428]
cmp ecx, 0x5c
jne 0x44c1f2
movzx edx, word [ebp - 0x426]
cmp edx, 0x5c
jne 0x44c1f2
movzx eax, word [ebp - 0x424]
cmp eax, 0x3f
jne 0x44c1f2
movzx ecx, word [ebp - 0x422]
cmp ecx, 0x5c
jne 0x44c1f2
mov edx, dword [ebp - 4]
movzx eax, word [ebp + edx*2 - 0x428]
cmp eax, 0x5c
je 0x44c212
mov dword [ebp - 0xc], 0xa1
lea ecx, [ebp - 0x428]
push ecx
push str.FindFirstVolumeW_FindNextVolumeW_returned_a_bad_path:__s_n
call fcn.0042a9d4
add esp, 8
jmp 0x44c2de
mov edx, dword [ebp - 4]
mov word [ebp + edx*2 - 0x428], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0x430], eax
mov edx, dword [ebp - 4]
mov word [ebp + edx*2 - 0x428], 0x5c
cmp dword [ebp - 0x430], 0
jne 0x44c270
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push str.QueryDosDeviceW_failed_with_error_code__d_n
call fcn.0042a9d4
add esp, 8
jmp 0x44c2de
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0044bd40
add esp, 8
push 0x104
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x44c2d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x12
je 0x44c2d0
mov edx, dword [ebp - 0xc]
push edx
push str.FindNextVolumeW_failed_with_error_code__d_n
call fcn.0042a9d4
add esp, 8
jmp 0x44c2de
mov dword [ebp - 0xc], 0
jmp 0x44c2de
jmp 0x44c19d
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [ebp - 0x434], 0xffffffff
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x44c310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0044c0c0
call fcn.0044b620
test eax, eax
je 0x44c3f0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x668], 0
push 0x424
push 0
lea ecx, [ebp - 0x664]
push ecx
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x66c], 0xffffffff
mov dword [ebp - 0x23c], 0xffffffff
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0xffffffff
jne 0x44c3a5
xor eax, eax
jmp 0x44c3fc
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x66c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44c3ca
xor eax, eax
jmp 0x44c3fc
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0044be90
add esp, 4
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x66c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44c3ca
mov ecx, 0x466f98
call fcn.00411b90
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x44cec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x44cee4
jmp 0x44cf29
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x44ce90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x44cf21
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx], 0
jmp 0x44cf29
mov eax, dword [ebp - 4]
mov dword [0x466f84], eax
mov esp, ebp
pop ebp
ret

Function at 0x44cf50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x80c], ecx
cmp dword [ebp + 0xc], 0
je 0x44cf75
cmp dword [ebp + 8], 0
jne 0x44cf7a
jmp 0x44d050
mov dword [ebp - 4], 0
jmp 0x44cf8c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x44d03c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x46542c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x46542c]
push edx
call fcn.0042ba6e
add esp, 0xc
test eax, eax
jne 0x44d037
mov eax, dword [0x45d414]
mov dword [ebp - 0x808], eax
push 0x7fc
push 0
lea ecx, [ebp - 0x804]
push ecx
call fcn.0042a350
add esp, 0xc
push 0x400
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x465430]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x46542c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
lea eax, [ebp - 0x808]
push eax
push 0x45d418
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042aa83
add esp, 0x14
jmp 0x44d050
jmp 0x44cf83
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042a6b1
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret 0xc