joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a660
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x44a762
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00449d6c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x44a728
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408c2c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044aad0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408b08
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044ab44
jmp 0x44a73a
xor edx, edx
mov eax, ebx
call fcn.0044aad0
xor edx, edx
mov eax, ebx
call fcn.0044ab44
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a769
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d74
ret

Function at 0x45061c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x15c]
mov edx, ebx
mov eax, edi
call fcn.00450840
mov esi, eax
mov dword [edi + 0x15c], esi
and esi, 0xff
add dword [edi + 0x160], esi
imul esi, dword [edi + 0x160], 0x8088405
inc esi
mov dword [edi + 0x160], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x164]
mov eax, edi
call fcn.00450840
mov dword [edi + 0x164], eax
pop edi
pop esi
pop ebx
ret

Function at 0x450690
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4506b5
inc esi
mov eax, edi
call fcn.00450674
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.0045061c
inc ebx
dec esi
jne 0x45069f
pop edi
pop esi
pop ebx
ret
Function at 0x450744
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x4507b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004506bc
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00450674
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0045061c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x450784
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4507c0
lea eax, [ebp - 4]
call fcn.00403d50
ret

Function at 0x450f58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
cmp ebx, 0xffffffff
jle 0x45109c
mov eax, dword [ebp - 4]
call fcn.00452548
cmp ebx, eax
jge 0x45109c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
mov edx, ebx
call fcn.0044876c
mov edx, dword [0x44a070]
call fcn.004032bc
mov esi, eax
mov eax, esi
call fcn.0044aa64
test al, al
je 0x451092
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x451086
xor eax, eax
push ebp
push 0x45107f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00451458
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x37]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 4]
movzx edx, word [ebp - 0x1b]
movzx eax, word [ebp - 0x19]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0xc]
movzx esi, word [ebp - 0x17]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004042fc
mov eax, dword [ebp - 8]
call fcn.0040419c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045123c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4510bf
mov eax, dword [ebp - 4]
call fcn.004514dc
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00408fa0
jmp 0x4510bf
mov eax, dword [ebp - 8]
call fcn.00403d50
jmp 0x4510bf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
push eax
push 0
mov ecx, 0x4510d0
mov dl, 1
mov eax, dword [0x40e8b4]
call fcn.0040b854
call fcn.004037c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45314c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
dec ecx
test ecx, ecx
jl 0x453171
inc ecx
xor esi, esi
mov bl, byte [eax + esi]
xor bl, byte [edx + esi]
mov edi, dword [ebp - 4]
mov byte [edi + esi], bl
inc esi
dec ecx
jne 0x453161
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x453a74
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.0040722c
ret

Function at 0x454e44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x454edf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404190
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x454eb9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x47cf10]
call fcn.00405740
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4549d8]
call fcn.0040b854
call fcn.004037c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00454b20
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454ee6
lea eax, [ebp - 0x10]
call fcn.00403d50
ret

Function at 0x45538c
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x4553b8
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x4553a4
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x4553b8
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x4553bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x45543c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47cef4]
cmp dword [eax], 2
je 0x45540f
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.004042fc
push 0x104
mov eax, dword [ebp - 4]
call fcn.00404190
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
xchg edx, eax
call fcn.004042fc
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403de8
mov eax, dword [0x47cef4]
cmp dword [eax], 2
jne 0x455426
mov eax, ebx
mov edx, dword [0x47d8a0]
call fcn.00403de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455443
lea eax, [ebp - 4]
call fcn.00403d50
ret
Function at 0x455be8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x455c3c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x47b6a4]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x47baa4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x47bea4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x47c2a4]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x455bf7
pop edi
pop esi
pop ebx
ret

Function at 0x45b020
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b0f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47da70], 0
jne 0x45b0dc
lea eax, [ebp - 4]
mov edx, 0x45b110
call fcn.00403de8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404190
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45b0dc
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45b0d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45b0bf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45b120
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b0bf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x47da70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b0dc
mov eax, dword [ebp - 0xc]
call fcn.00402734
ret
mov ebx, dword [0x47da70]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b0ff
lea eax, [ebp - 4]
call fcn.00403d50
ret
Function at 0x466400
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46655a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46653a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403ef4
lea eax, [ebp - 0x118]
mov edx, 0x466570
call fcn.00403fd4
mov eax, dword [ebp - 0x118]
call fcn.00404190
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4664ac
lea eax, [ebp - 0x111]
call fcn.00408d8c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403e34
jmp 0x4664b3
mov eax, esi
call fcn.00403d50
cmp bl, 0x61
jae 0x4664d4
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c448
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403de8
jmp 0x4664ee
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c3bc
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403de8
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x46657c
call fcn.004094e8
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466541
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x468bd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404190
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x468be9
test al, 0x10
jne 0x468bed
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x46b914
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46b99f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.00408fb4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
mov eax, dword [0x47cd60]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x46b96c
mov eax, edi
mov edx, ebx
call fcn.00403f04
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, ebx
call fcn.00409000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b9a6
lea eax, [ebp - 8]
call fcn.00405798
ret

Function at 0x46b9b0
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 8]
shr eax, 0xa
add esp, 0x20
ret
Function at 0x46c4e4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00408fa0
add esp, 0x108
pop ebx
ret
Function at 0x46cd20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404190
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46cd39
test al, 0x10
jne 0x46cd3d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x401000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x180
push 0x4000
mov eax, dword [ebp + 8]
push eax
call fcn.00408216
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x401097
push 0x2001
call fcn.00401608
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
mov byte [ecx], 0
push 0x2000
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040697a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x401092
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp - 4]
add eax, 0x2001
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004016ba
add esp, 8
mov dword [ebp - 8], eax
jmp 0x401045
mov eax, dword [ebp - 8]
jmp 0x401099
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401590
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x40cd48], 0xffffffff
je 0x4015b3
mov eax, dword [0x40cd48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Idaseg.p2.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x40cd4c], 0xffffffff
je 0x4015d4
mov ecx, dword [0x40cd4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Idaseg.p.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x40a180
call fcn.0040195a
add esp, 4
push 0x40a1a0
call fcn.0040195a
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x401606
push 1
call fcn.00401c91
pop ebp
ret
Function at 0x4024e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x108]
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0
xor eax, eax
push fcn.004024d0
push ebp
push 0x4166c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
xor cx, cx
mov edx, 0xff
call fcn.0040bd50
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 4]
call fcn.0041a850
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004024d0
mov esp, ebp
pop ebp
ret

Function at 0x402590
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
mov edx, 0x4c78b8
lea eax, [ebp - 0x18]
call fcn.00410a40
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00402570
push ebp
push 0x4166c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, str.Parametr
call fcn.0040b360
mov edx, dword [0x4d9710]
lea eax, [ebp - 0x14]
call fcn.0040b360
lea eax, [ebp - 0x10]
mov edx, str.Parametr
call fcn.0040b360
mov edx, dword [0x4d9714]
lea eax, [ebp - 0xc]
call fcn.0040b360
mov byte [ebp - 8], 0
add byte [ebp - 8], 1
mov edx, 1
mov eax, 0x4cf8e0
call fcn.00437fb0
mov dword [ebp - 4], eax
xor eax, eax
push fcn.00402560
push ebp
push 0x4166c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x80000001
call fcn.00437f70
mov al, byte [ebp - 8]
cmp al, 1
jl 0x402664
sub al, 1
je 0x402640
sub al, 1
je 0x402654
jmp 0x402664
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.004381e0
jmp 0x402664
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.004381e0
nop
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.004383c0
mov eax, dword [ebp - 0x1c]
movzx edx, byte [ebp - 8]
mov edx, dword [ebp + edx*8 - 0x1c]
call fcn.0040bed0
test eax, eax
je 0x4026a4
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp + eax*8 - 0x1c]
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
call fcn.00438580
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00402560
cmp byte [ebp - 8], 2
jl 0x4025f8
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00402570
mov esp, ebp
pop ebp
ret
Function at 0x402ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
mov dword [ebp - 4], eax
call fcn.0040b330
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00402b60
push ebp
push 0x4166c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00416dd0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402c05
mov ebx, dword [ebx - 4]
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00416dd0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0041a980
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402c24
mov eax, dword [eax - 4]
sub ebx, eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00416dd0
mov eax, dword [ebp - 0x10]
mov edx, 1
mov ecx, ebx
call fcn.0040c130
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00416dd0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00402150
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov edx, dword [0x4d96f4]
mov ecx, 0x453370
mov eax, 0x45354c
call fcn.00401bb0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov ecx, 1
call fcn.0040c1e0
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [0x4d96f4]
mov ecx, 0x453370
mov eax, 0x45354c
call fcn.00401bb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402ca6
mov eax, dword [eax - 4]
lea edx, [ebx + eax]
mov eax, dword [ebp - 8]
mov ecx, 0x7fffffff
call fcn.0040c130
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0040b360
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402070
lea eax, [ebp - 0x1c]
call fcn.00406890
mov eax, dword [ebp - 0xc]
mov edx, 6
call fcn.0041af10
push 1
push 0
mov eax, 0x453568
push eax
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x1c]
call fcn.00438cb0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x402d05
mov eax, 0x4daa80
push eax
mov eax, str.open
push eax
lea ecx, [ebp - 0x10]
mov dl, 1
mov eax, 5
call fcn.00401db0
mov eax, dword [ebp - 0x10]
call fcn.0041b620
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00402b60
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404450
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x258]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x138], 0
xor eax, eax
push fcn.00404430
push ebp
push 0x4166c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [0x4d9020]
cmp ebx, 1
jl 0x4044d8
mov dword [ebp - 0x134], 0
lea esi, [esi]
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
lea eax, [eax*4 + 0x4d701c]
xor edx, edx
call fcn.0040b360
mov eax, dword [ebp - 0x134]
mov dword [eax*4 + 0x4d801c], 0
cmp ebx, dword [ebp - 0x134]
jg 0x4044a0
mov esi, esi
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.0040b360
mov dword [0x4d9020], 1
mov dword [ebp - 0x130], 0x128
push 0
push 2
call fcn.0043cf10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0043cf20
test eax, eax
je 0x404644
jmp 0x40462b
push 1
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10c]
xor cx, cx
mov edx, 0x103
call fcn.0040bd50
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea eax, [eax*4 + 0x4d701c]
call fcn.0040b360
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x128]
mov dword [eax*4 + 0x4d801c], edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x4d701c]
mov dword [ebp - 0x148], eax
mov eax, 0x453980
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x4d801c]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x258]
mov eax, 0xffffffff
call fcn.00407970
lea ecx, [ebp - 0x150]
xor dx, dx
lea eax, [ebp - 0x258]
call fcn.0040bbe0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x150]
call fcn.0040c8f0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov eax, 0x4536e4
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov ecx, 4
call fcn.0040b6f0
add dword [ebp - 0x134], 1
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0043cf30
test eax, eax
jne 0x404528
mov esi, esi
mov eax, dword [ebp - 0x134]
mov dword [0x4d9020], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00404430
pop ebx
mov esp, ebp
pop ebp
ret