joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b090
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
jne 0x41b0a6
xor al, al
jmp 0x41b19b
mov byte [ebp - 9], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41b0e4
xor al, al
jmp 0x41b19b
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x41b102
cmp dword [ebp - 4], 0x2800000
jbe 0x41b109
xor al, al
jmp 0x41b19b
mov edx, dword [ebp - 4]
push edx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41b128
xor al, al
jmp 0x41b19b
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
je 0x41b16f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0053e96b
add esp, 4
xor al, al
jmp 0x41b19b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.0041b1b0
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0053e96b
add esp, 4
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret 8
Function at 0x41e8b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41e933
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x18]
push ecx
push 0x5791e8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [ebp + 8]
neg edx
sbb edx, edx
and edx, 2
mov dword [ebp - 0x10], edx
push 0
push 0
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret

Function at 0x41eaa0
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b3c28
push 0x5440f0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [0x5c0c70]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 1
call fcn.0041e8b0
add esp, 4
mov eax, dword [ebp + 8]
push eax
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41eb1c
jmp 0x41ebb9
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
shl edx, 1
mov dword [ebp - 0x30], edx
push 4
push 0x1000
mov eax, dword [ebp - 0x30]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41eb56
jmp 0x41ebb9
push 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x41eb74
jmp 0x41ebb9
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41eb9c
jmp 0x41ebb9
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call fcn.0041e8b0
add esp, 4
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0041ebc7
jmp 0x41ec0d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ef70
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b3c48
push 0x5440f0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffbac
mov eax, dword [0x5c0c70]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41efe2
jmp 0x41f10f
mov dword [ebp - 0x460], 0x428
push 0x424
push 0
lea ecx, [ebp - 0x45c]
push ecx
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.dll_Module32FirstW
mov dword [ebp - 0x2c], eax
jmp 0x41f031
lea ecx, [ebp - 0x460]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call sub.KERNEL32.dll_Module32NextW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41f08e
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.0054449d
add esp, 8
test eax, eax
je 0x41f071
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.0054449d
add esp, 8
test eax, eax
je 0x41f071
mov dword [ebp - 0x464], 0
jmp 0x41f07b
mov dword [ebp - 0x464], 1
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
je 0x41f08c
jmp 0x41f08e
jmp 0x41f01e
cmp dword [ebp - 0x34], 0
jne 0x41f096
jmp 0x41f10f
mov edx, dword [ebp + 8]
push edx
push 0
push 0x40a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41f0b2
jmp 0x41f10f
push 0x57923c
push 0x579248
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41f0d4
jmp 0x41f10f
push 0
push 0
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41f0fc
jmp 0x41f10f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0041f11d
jmp 0x41f14e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret
Function at 0x442aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ebp + 0x10]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
push 6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442ad6
push 5
call fcn.00442330
add esp, 4
xor eax, eax
jmp 0x442b77
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x442afb
push 6
call fcn.00442330
add esp, 4
xor eax, eax
jmp 0x442b77
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442b1c
push 6
call fcn.00442330
add esp, 4
xor eax, eax
jmp 0x442b77
push 0x48
call fcn.00543c05
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x442b3d
push 1
call fcn.00442330
add esp, 4
xor eax, eax
jmp 0x442b77
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [ebp + 0x10]
mov word [edx + 4], ax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00442b80
add esp, 8
test eax, eax
jne 0x442b74
mov eax, dword [ebp - 0xc]
push eax
call fcn.00543b8c
add esp, 4
xor eax, eax
jmp 0x442b77
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x445410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov ecx, dword [ebp + 8]
call fcn.0041cb20
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], str.runas
mov ecx, dword [ebp + 0xc]
call fcn.0041cb20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x4456f0
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.0053ef70
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4457a8
push 0x57bc6c
lea eax, [ebp - 0x21c]
push eax
call fcn.0054449d
add esp, 8
test eax, eax
jne 0x445790
mov ecx, dword [ebp - 0x238]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
jmp 0x4457a8
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x244]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 4], eax
jmp 0x445759
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0
cmp dword [ebp - 8], 0
je 0x4457d5
mov edx, dword [ebp - 8]
push edx
call fcn.00445390
add esp, 4
test eax, eax
jne 0x4457f4
push ecx
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0041c880
call fcn.00445470
add esp, 4
mov dword [ebp - 0x248], eax
jmp 0x44588f
mov dword [ebp - 0x2a8], 0
push 0x40
push 0
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x258], 0
xor edx, edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0041cbc0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x248], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x248], 0
je 0x44588f
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x44589f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x2b0], edx
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret
Function at 0x4461c0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 5
jge 0x4461fe
push 0
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4461f3
jmp 0x4461fe
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4461cd
cmp dword [ebp - 4], 5
jl 0x44627b
lea ecx, [ebp - 8]
call fcn.0040ee90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.._d.tmp
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.0041ca60
add esp, 0xc
mov ecx, eax
call fcn.0041cb20
push eax
lea eax, [ebp - 8]
push eax
call fcn.004ea900
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x446273
push 4
push 0
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov esp, ebp
pop ebp
ret
Function at 0x4476c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 8]
call fcn.0040ee90
cmp dword [ebp + 0xc], 0
jne 0x4476f7
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x447708
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44789a
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov edx, dword [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x447777
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4478b1
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x218]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0x57ab9c
mov edx, dword [ebp - 0x220]
push edx
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x228], 0
je 0x4477d6
cmp dword [ebp - 0x224], 0
jne 0x4477f2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4478b1
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x10]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0x230], dx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
mov word [ebp - 0x22e], cx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
mov word [ebp - 0x22c], ax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x14]
and edx, 0xffff
mov word [ebp - 0x22a], dx
movzx eax, word [ebp - 0x22a]
push eax
movzx ecx, word [ebp - 0x22c]
push ecx
movzx edx, word [ebp - 0x22e]
push edx
movzx eax, word [ebp - 0x230]
push eax
push str._d._d._d._d
lea ecx, [ebp - 8]
push ecx
call fcn.004ea900
add esp, 0x18
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret
Function at 0x447b30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d18
call fcn.00543e90
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.0041cb30
mov dword [ebp - 4], 0
jmp 0x447b61
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x447c9d
mov dword [ebp - 0x20c], 0
mov ecx, dword [ebp - 4]
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
jne 0x447bbb
jmp 0x447c98
mov dword [ebp - 0x292c], 0
push 0x2710
push 0
lea ecx, [ebp - 0x2928]
push ecx
call fcn.0053ef70
add esp, 0xc
push 0xc
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0x2710
push 0
lea eax, [ebp - 0x2928]
push eax
call fcn.0053ef70
add esp, 0xc
push 0
lea ecx, [ebp - 0x292c]
push ecx
push 0x2710
lea edx, [ebp - 0x2928]
push edx
push 0xc
lea eax, [ebp - 0x218]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x447c96
lea edx, [ebp - 0x2928]
mov dword [ebp - 0x2930], edx
lea eax, [ebp - 0x2d18]
push eax
push 1
mov ecx, dword [ebp - 0x2930]
mov edx, dword [ecx + 0x18]
push edx
lea eax, [ebp - 0x2928]
push eax
call fcn.00447cb0
add esp, 0x10
lea ecx, [ebp - 0x2d18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004a5530
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447c9d
jmp 0x447b58
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret
Function at 0x447fb0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x30], 0
push 0
push 0
push 0
push 0
push str.Upload
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x57c314
mov dword [ebp - 0x38], 0
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x34], eax
push 0x20200400
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
push str.POST
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x2c], eax
push 0x28
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x28], 0x28
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x10], edx
push 0
push 8
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret
Function at 0x4484e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x582304
lea edx, [ebp - 0x210]
push edx
call fcn.004eb0e0
add esp, 8
lea eax, [ebp - 0x210]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 4], 0
je 0x4485bf
cmp dword [ebp - 0x218], 0xb7
jne 0x4485bf
push 0
push 0x582334
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x4485b8
mov ecx, dword [ebp - 0x220]
movzx edx, byte [ecx + 0x1c8]
test edx, edx
je 0x4485a2
push 1
push 0
push 0x538
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4485b8
push 0
push 0
push 0x538
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x4485c1
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret

Function at 0x4485d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0041cc20
sub eax, 1
push eax
lea ecx, [ebp - 8]
call fcn.004a6130
movzx ecx, ax
cmp ecx, 0x5c
je 0x44860b
push 0x5c
lea ecx, [ebp - 8]
call fcn.004550a0
lea ecx, [ebp - 0x18]
call fcn.004b2990
lea ecx, [ebp - 4]
call fcn.0040ee90
mov byte [ebp - 9], 0
mov dword [ebp - 0x1c], 0
jmp 0x448631
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 8]
call fcn.0041cc20
cmp dword [ebp - 0x1c], eax
jge 0x448684
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.004a6130
movzx ecx, ax
cmp ecx, 0x5c
je 0x44866c
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 8]
call fcn.004a6130
movzx eax, ax
push eax
lea ecx, [ebp - 4]
call fcn.004550a0
jmp 0x448682
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004b2b50
push 0x5c
lea ecx, [ebp - 4]
call fcn.004550a0
jmp 0x448628
mov dword [ebp - 0x20], 0
jmp 0x448696
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x18]
call fcn.004b2b30
cmp dword [ebp - 0x20], eax
jge 0x4486c9
push 0
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b2c50
mov ecx, eax
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne cl
mov byte [ebp - 9], cl
jmp 0x44868d
mov dl, byte [ebp - 9]
mov byte [ebp - 0x21], dl
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.004ea9f0
lea ecx, [ebp - 8]
call fcn.0040f740
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret 4
Function at 0x449e80
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x449ef0
cmp dword [ebp + 0x10], 0
je 0x449eeb
push 0x10
push str.Internet_open_failed_
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x449f8d
push 4
lea edx, [ebp + 0xc]
push edx
push 2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x102
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x449f6f
cmp dword [ebp + 0x10], 0
je 0x449f6d
mov ecx, 0x13
mov esi, str.Internet_open_url_failed__error_code
lea edi, [ebp - 0x518]
rep movsd dword es:[edi], dword [esi]
push 0xb4
push 0
lea eax, [ebp - 0x4cc]
push eax
call fcn.0053ef70
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x518]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x449f83
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret