joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403693
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8bf3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, edx
cmp dword [edi + 0x14], 0
mov ebx, ecx
mov dword [esp + 0x18], ebx
je 0x40385f
mov esi, ebx
call fcn.0040363f
lea eax, [esp + 0x54]
push eax
call fcn.004192aa
pop ecx
and dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x403705
lea eax, [esp + 0x58]
push eax
call fcn.004038d7
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
call fcn.00402522
mov edi, eax
call fcn.00402502
and dword [esp + 0x2c], 0
and dword [esp + 0x30], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
lea esi, [esp + 0x2c]
lea edi, [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x1c]
call fcn.004cb52e
cmp byte [ebp + 0xc], 0
je 0x403808
mov eax, edi
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x403808
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
sub edi, dword [esp + 0x20]
sub ebx, dword [esp + 0x1c]
call fcn.004022dd
push eax
push edi
push ebx
lea eax, [esp + 0x50]
push eax
call fcn.0040246a
mov byte [esp + 0x80], 1
lea eax, [esp + 0x44]
lea esi, [esp + 0x3c]
call fcn.00402389
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
call fcn.00402542
mov esi, dword [esp + 0x18]
add esi, 4
push esi
push dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
call fcn.004cbe06
add esp, 0xc
mov byte [esp + 0x80], 1
push dword [esp + 0x3c]
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [esp + 0x80], 0
lea eax, [esp + 0x44]
push eax
call fcn.004023ad
mov ebx, dword [esp + 0x18]
jmp 0x40381b
lea esi, [ebx + 4]
push esi
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004cbe06
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x403829
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x40384d
test edi, edi
jl 0x40387f
cmp edi, dword [esi + 4]
jge 0x40387f
mov eax, dword [esi]
mov edx, dword [ebx]
lea eax, [eax + edi*4]
push dword [eax]
mov ecx, ebx
push edi
call dword [edx]
inc edi
cmp edi, dword [ebx + 8]
jl 0x403830
or dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x54]
push eax
call fcn.004035db
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004ad67b
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x40448a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4044a1
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4044d6
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4044d2
cmp edi, eax
jae 0x4044d6
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4044c4
cmp edi, eax
jb 0x4044da
xor eax, eax
jmp 0x4044e3
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x414c5e
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
push edi
test esi, esi
je 0x414c6c
lea edi, [esi - 0x28]
jmp 0x414c6e
xor edi, edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
call fcn.004136bc
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.004137b4
cmp dword [esi + 0x1c], 0
je 0x414c9d
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 5
push dword [edi + 4]
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4150cb
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x1c
mov eax, 0x4ce66b
call fcn.004b3d1e
xor ebx, ebx
cmp esi, ebx
je 0x4150e5
lea eax, [esi - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x4150e8
mov dword [ebp - 0x18], ebx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jne 0x4151d6
xor edi, edi
inc edi
push 0x17
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x415116
mov dword [ebp - 0x14], 2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
cmp byte [esi + 0x18], bl
je 0x41513b
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 8
jne 0x41514f
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x415161
cmp dword [ebp + 8], 0x14
jne 0x415166
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x10]
push ebx
push edi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x14]
push 2
push edi
call dword [eax + 0x18]
cmp dword [ebp + 8], 8
je 0x4151a3
cmp dword [ebp + 8], 0x14
jne 0x4151c4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4151d6
push edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004b3df6
ret 8

Function at 0x415764
Capabilities:
Hash data using fnv

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x41576f
mov ecx, dword [eax + 4]
jmp 0x415772
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
push esi
mov eax, 0x811c9dc5
lea edx, [ecx + edx*2]
jmp 0x41578d
movzx esi, word [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jne 0x415780
mov esi, SysReAllocString
and eax, esi
push 0x1f31d
push eax
call fcn.004af6bd
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
pop ecx
sub edx, eax
pop ecx
mov eax, edx
jns 0x4157b9
add eax, esi
pop esi
ret
Function at 0x41930a
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x58
mov eax, 0x4d84c1
call fcn.004b3d87
lea eax, [ebp - 0x2c]
push eax
call fcn.00458090
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.0044b040
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push 0x4ebcd0
push eax
call fcn.004089fd
add esp, 0x10
mov byte [ebp - 4], 2
push eax
lea esi, [ebp - 0x2c]
call fcn.00419511
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403537
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403537
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x419382
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4193ba
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x419399
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4193ba
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.004035db
mov al, bl
call fcn.004b3e0a
ret
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x523138
call fcn.00456910
mov bl, 1
jmp 0x4193a5
Function at 0x41ec54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4df24f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0xfc
push eax
call fcn.0040318a
pop ecx
test eax, eax
jne 0x41ee84
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x24]
push eax
add esi, 4
call fcn.004081ca
and dword [esp + 0x80], 0
push 0x4ec280
lea ecx, [esp + 0x40]
call fcn.0040417e
mov byte [esp + 0x80], 1
push esi
lea ecx, [esp + 0x40]
lea ebx, [esp + 0x28]
call fcn.00454bf0
pop ecx
mov byte [esp + 0x80], 0
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00403537
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x34]
jbe 0x41ecf8
call fcn.004af418
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x30], esi
jbe 0x41ed13
call fcn.004af418
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00422731
test al, al
je 0x41ee72
call fcn.004226de
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.004081ca
mov byte [esp + 0x80], 2
push 0x4ec284
lea ecx, [esp + 0x5c]
call fcn.0040417e
mov byte [esp + 0x80], 3
push esi
lea ecx, [esp + 0x5c]
lea ebx, [esp + 0x40]
call fcn.00454bf0
pop ecx
mov byte [esp + 0x80], 2
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.00403537
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push 0
lea esi, [esp + 0x40]
mov ebx, eax
call fcn.0040822c
mov ecx, ebx
call fcn.0040e032
test al, al
je 0x41ee52
xor ebx, ebx
push 0x4ec288
inc ebx
push ebx
call fcn.0040822c
mov esi, eax
call fcn.0040a7b6
pop ecx
test al, al
je 0x41eddc
mov ebx, dword [edi + 0x110]
call fcn.00402f46
jmp 0x41ee52
push str.Pause
push ebx
lea esi, [esp + 0x44]
call fcn.0040822c
mov esi, eax
call fcn.0040a7b6
pop ecx
test al, al
je 0x41ee04
mov ebx, dword [edi + 0x110]
call fcn.00402ef8
jmp 0x41ee52
push str.Rewind
push ebx
lea esi, [esp + 0x44]
call fcn.0040822c
mov esi, eax
call fcn.0040a7b6
pop ecx
test al, al
je 0x41ee2c
mov ebx, dword [edi + 0x110]
call fcn.00402fc1
jmp 0x41ee52
push str.Stop
push ebx
lea esi, [esp + 0x44]
call fcn.0040822c
mov esi, eax
call fcn.0040a7b6
pop ecx
test al, al
je 0x41ee52
mov ecx, dword [edi + 0x110]
call fcn.0040302e
mov byte [esp + 0x80], 0
lea eax, [esp + 0x3c]
push eax
call fcn.00408202
lea esi, [esp + 0x14]
call fcn.0041c6a9
jmp 0x41ed04
or dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x24]
push eax
call fcn.00408202
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x427cb1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x427cfb
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x427d22
shr eax, 2
test al, 1
je 0x427d2b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x427d5e
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x4ed238
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x427d5d
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret
Function at 0x42870d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428771
cmp dword [ebp + 0xc], 1
je 0x428749
cmp dword [ebp + 0xc], 2
je 0x428749
push 0xd
pop eax
jmp 0x428771
mov eax, dword [ebp - 4]
test edi, edi
je 0x42876b
test eax, eax
je 0x428766
test al, 1
jne 0x428744
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x42876b
jmp 0x428744
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x4379f2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf0c5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x437a2b
mov eax, dword [eax + 4]
jmp 0x437a2e
add eax, 4
push eax
lea esi, [esp + 0x30]
call fcn.0043d2e4
and dword [esp + 0x48], 0
push 3
pop eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], 0xe
mov byte [esp + 0x48], 1
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x48], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x110]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push edx
push edx
lea edx, [esp + 0x28]
push edx
mov edx, esi
push edx
push eax
call dword [ecx + 0xd0]
test eax, eax
setge bl
mov byte [esp + 0x48], 1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xc]
push eax
call esi
mov byte [esp + 0x48], 0
lea eax, [esp + 0x1c]
push eax
call esi
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call esi
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x437ac8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dbdb6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
push eax
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, eax
lea ecx, [esp + 8]
call fcn.0043d5a1
pop ecx
and dword [esp + 0x30], 0
lea eax, [esp + 4]
push eax
push esi
call fcn.004379f2
or dword [esp + 0x30], 0xffffffff
push 0
push 1
lea ecx, [esp + 0xc]
call fcn.00403537
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004ad67b
mov esp, ebp
pop ebp
ret 4
Function at 0x43d851
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call fcn.004185f7
cmp dword [esi], 0
je 0x43d880
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43d880
mov byte [esi + 8], 1
pop edi
pop esi
ret 4

Function at 0x4410fc
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x4ccc95
call fcn.004b3d1e
mov edi, ecx
call fcn.004410a8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
jne 0x441146
or dword [ebp - 4], eax
push eax
jmp 0x4411cb
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00441691
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x4411b3
cmp dword [ebp - 0x14], ebx
je 0x4411b3
push dword [ebp - 0x14]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, edi
call dword [eax + 8]
mov byte [ebp + 0xb], al
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.004af6b2
pop ecx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4411ae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
mov al, byte [ebp + 0xb]
jmp 0x4411d6
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.004af6b2
pop ecx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4411d4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
xor al, al
call fcn.004b3df6
ret 4

Function at 0x441767
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4deac5
call fcn.004b3d87
push edi
call fcn.00409521
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.004035bd
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.00441843
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004081a2
push eax
push dword [ebp - 0x34]
call esi
cmp eax, ebx
jne 0x4417d3
mov byte [ebp - 0x2d], bl
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403537
mov al, byte [ebp - 0x2d]
call fcn.004b3e0a
ret
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004081a2
mov ebx, edi
mov ecx, eax
call fcn.00454e30
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
pop ecx
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
seta byte [ebp - 0x2d]
xor ebx, ebx
jmp 0x4417bb
Function at 0x443568
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push 0x58
mov eax, 0x4d9f89
call fcn.004b3d1e
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
xor esi, esi
cmp eax, esi
je 0x44371b
lea eax, [ebp - 0x10]
push eax
call fcn.004441b6
mov byte [ebp - 4], 2
push 0x4f23a0
lea eax, [ebp - 0x18]
push eax
call fcn.004046e4
mov byte [ebp - 4], 3
lea edi, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0045cea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402907
push str..bat
mov eax, edi
push eax
call fcn.00443470
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
jne 0x44360c
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], esi
jmp 0x44370f
lea eax, [ebp - 0x18]
push eax
call fcn.004441b6
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.004441dd
mov byte [ebp - 4], 6
cmp byte [ebx + 9], 0
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_nrd___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
jne 0x443639
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_ndel___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [ebx]
push dword [ebx]
push dword [ebx]
push eax
lea eax, [ebp - 0x18]
call fcn.0044457a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0x18
push esi
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
push eax
call fcn.0044421f
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
call fcn.0044421f
mov byte [ebp - 4], 2
cmp edi, esi
je 0x443691
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x1c]
lea esi, [ebx + 4]
push eax
call fcn.0045c6d0
pop ecx
mov byte [ebp - 4], 7
cmp byte [ebx + 8], 0
jne 0x4436c0
xor eax, eax
push eax
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push 0x4ed238
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x443703
push 0x3c
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004af810
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], 0x500
mov dword [ebp - 0x58], str.runas
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402907
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402907
mov byte [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.00402907
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.0044421f
call fcn.004b3df6
ret 4
Function at 0x44558c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x44559a
push 0xd
pop eax
jmp 0x4455cd
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4455a1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4480b2
Capabilities:
Get system information on windows

Disassembly:
push 0x54
mov eax, 0x4dd0fc
call fcn.004b3d87
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
movzx eax, ax
push str.kernel32.dll
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
push eax
mov dword [ebp - 0x30], eax
call esi
mov ebx, eax
test ebx, ebx
je 0x44812b
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
xor ebx, ebx
test eax, eax
je 0x44811f
cmp dword [ebp - 0x38], ebx
je 0x44811f
push str.GetNativeSystemInfo
push dword [ebp - 0x30]
call esi
cmp eax, ebx
je 0x44811f
lea ecx, [ebp - 0x5c]
push ecx
call eax
jmp 0x448137
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x448137
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ebx, ebx
mov cx, word [ebp - 0x5c]
movzx eax, cx
cmp eax, ebx
je 0x448167
cmp eax, 6
je 0x448160
cmp eax, 9
jne 0x44816d
cmp word [ebp - 0x34], ax
je 0x448158
cmp word [ebp - 0x34], bx
jne 0x44816d
mov al, 1
call fcn.004b3e0a
ret
cmp word [ebp - 0x34], 6
jmp 0x448156
cmp word [ebp - 0x34], cx
je 0x448158
mov eax, dword [edi]
push 0x1048
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
jne 0x448199
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x661
call fcn.00446b33
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x4481b6
push 0x10
push ecx
mov eax, esp
mov dword [eax], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], esp
jae 0x4481af
lea eax, [ebp - 0x28]
push ecx
mov ecx, esp
mov dword [ecx], eax
jmp 0x4481cd
push 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
mov dword [eax], 0x2797
push ecx
mov eax, esp
mov dword [eax], 0x2796
mov dword [ebp - 0x30], esp
push ebx
call fcn.0040ef2d
add esp, 0x10
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403537
xor al, al
jmp 0x44815a