joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ec724
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ec895
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 0x4ec870
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.0040564c
lea eax, [ebp - 0x118]
mov edx, 0x4ec8ac
call fcn.00405730
mov eax, dword [ebp - 0x118]
call fcn.004058f4
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4ec7e2
lea eax, [ebp - 0x111]
call fcn.0040d7d4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405554
jmp 0x4ec7e9
mov eax, esi
call fcn.00405464
cmp bl, 0x61
jae 0x4ec80a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00412460
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004054b8
jmp 0x4ec824
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.004123cc
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004054b8
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4ec8b8
call fcn.0040e2c8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004054b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec877
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4f2044
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058e4
xor eax, eax
push ebp
push 0x4f209d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004058f4
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4f2085
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4f2087
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f20a4
lea eax, [ebp - 4]
call fcn.00405464
ret

Function at 0x4f20ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058e4
xor eax, eax
push ebp
push 0x4f2110
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
call fcn.004058f4
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040da3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2117
lea eax, [ebp - 4]
call fcn.00405464
ret
Function at 0x4f273c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004058e4
xor eax, eax
push ebp
push 0x4f2838
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.004f1f30
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f0154
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f33f0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f00fc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004f3468
lea eax, [ebx + 0x50]
call fcn.00405464
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f283f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405488
ret
Function at 0x4f2848
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004058e4
xor eax, eax
push ebp
push 0x4f2954
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.004f1f30
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
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, 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
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x4f2917
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f0154
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f33f0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f00fc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004f3468
jmp 0x4f2929
xor edx, edx
mov eax, ebx
call fcn.004f33f0
xor edx, edx
mov eax, ebx
call fcn.004f3468
lea eax, [ebx + 0x50]
call fcn.00405464
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f295b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405488
ret
Function at 0x4f42cd
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x4f5b32
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x4f5be0
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x4f5b71
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.004f43ad
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.004f3fac
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x4f5b9c
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.004f42cd
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.004f4311
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x4f5bfb
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f4311
add esp, 0xc
pop ecx
pop ebp
ret

Function at 0x4f5bfe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x4f5c1f
push dword [ebp + 0x10]
push 0
push 0
call fcn.004f5b32
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.004f43ad
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x4f5c37
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.004f42cd
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.004f4311
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.004f4311
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.004f43ad
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x4f5cbe
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x4f5ca3
mov esp, ebp
pop ebp
ret
Function at 0x4f7164
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.004f5a80
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f5a97
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.004f3fc0
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004f5b32
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x4f72f8

Function at 0x4fca9c
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 + 0x170]
mov edx, ebx
mov eax, edi
call fcn.004fccf8
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.004fccf8
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4fcb10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x110]
cmp byte [eax + 0x4c], 0
jne 0x4fcb44
mov edi, ecx
dec edi
test edi, edi
jl 0x4fcb55
inc edi
mov eax, esi
call fcn.004fcaf4
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, esi
call fcn.004fca9c
inc ebx
dec edi
jne 0x4fcb2b
jmp 0x4fcb55
lea eax, [esi + 0x3bc]
push eax
push ecx
push ebx
call fcn.004f4740
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4fcbec
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.004058e4
xor eax, eax
push ebp
push 0x4fcc62
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004fcb5c
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004fcaf4
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004fca9c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4fcc2c
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcc69
lea eax, [ebp - 4]
call fcn.00405464
ret
Function at 0x4fda18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fdc07
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4fdbc3
mov eax, dword [ebp - 4]
call fcn.004ff2a4
cmp ebx, eax
jge 0x4fdbc3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004f089c
mov edx, dword [0x4f2164]
call fcn.004046f0
mov esi, eax
mov eax, esi
call fcn.004f3350
test al, al
je 0x4fdbb9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4fda9a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4fdbac
xor eax, eax
push ebp
push 0x4fdba5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004fdf7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00420a34
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405b84
mov eax, dword [ebp - 8]
call fcn.00405954
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004fdd94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdbf1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4fdba4
mov eax, dword [ebp - 4]
call fcn.004fe000
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x50]
call fcn.004054b8
jmp 0x4fdbf1
mov eax, dword [ebp - 8]
call fcn.00405464
jmp 0x4fdbf1
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040ce4c
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x41b3a8]
call fcn.00411588
call fcn.00404db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdc0e
lea eax, [ebp - 0x54]
call fcn.00405464
ret
Function at 0x502708
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403d04
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x50f22c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x50f2ce
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea ebx, [esi + 0x41]
lea eax, [ebp - 8]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00403be8
mov edx, 0x50f2dc
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.00403bb8
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004056c8
mov eax, dword [ebp - 4]
call fcn.004058f4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp ax, 3
jne 0x50f2aa
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040564c
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00405730
inc esi
cmp esi, 0x1a
jne 0x50f24f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f2d5
lea eax, [ebp - 0x10]
call fcn.00405464
lea eax, [ebp - 4]
call fcn.00405464
ret

Function at 0x512bbc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058e4
xor eax, eax
push ebp
push 0x512c64
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040862c
mov word [ebp - 0x18], 5
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040d4c4
mov eax, dword [ebp - 0x5c]
call fcn.004058f4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004058f4
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x512c43
mov ebx, dword [ebp - 0x50]
jmp 0x512c46
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512c6b
lea eax, [ebp - 0x5c]
call fcn.00405464
lea eax, [ebp - 4]
call fcn.00405464
ret
Function at 0x5155a8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004058e4
mov eax, dword [ebp - 8]
call fcn.004058e4
xor eax, eax
push ebp
push 0x515685
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0040d4c4
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0040d4c4
mov eax, dword [ebp - 0x30]
pop edx
call fcn.0040c4c0
test eax, eax
jne 0x515611
mov dword [ebp - 0x22], 4
jmp 0x515618
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0x34]
mov ecx, 0x51569c
mov edx, dword [ebp - 4]
call fcn.0040577c
mov eax, dword [ebp - 0x34]
call fcn.004058f4
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x38]
mov ecx, 0x51569c
mov edx, dword [ebp - 8]
call fcn.0040577c
mov eax, dword [ebp - 0x38]
call fcn.004058f4
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x410
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51568c
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00405488
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405488
ret

Function at 0x515a3c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004058e4
mov eax, dword [ebp - 8]
call fcn.004058e4
xor eax, eax
push ebp
push 0x515b87
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f7e78]
call fcn.004fceac
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0x64
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xcc], edx
mov dword [eax + 0xc8], 0x515824
xor edx, edx
push ebp
push 0x515b5d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, ebx
call fcn.004fe35c
mov eax, dword [ebx + 0x3c]
mov edx, 0x515ba4
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.004ff2a4
mov edx, eax
dec edx
lea ecx, [ebp - 0x14]
mov eax, ebx
call fcn.004fd96c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebx + 0x40], 0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004fd620
mov byte [ebx + 0x3a], 1
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x50], 1
xor eax, eax
push ebp
push 0x515b36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
call fcn.004fde74
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x515b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515b64
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
call fcn.00404540
ret
Function at 0x409250
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47e89b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00473504
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4092d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00471246
mov eax, dword [eax]
push 0x49bc54
push eax
call fcn.00463eb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047378f
test bl, bl
je 0x4092d2
push 0x49bc54
lea ecx, [esp + 0xc]
call fcn.00473b1f
push 0x49bc60
lea ecx, [esp + 0xc]
call fcn.00473b1f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40930e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047378f
jmp 0x4093d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409392
lea edx, [esp + 0x7c]
push 0x49bc5c
push edx
call fcn.00463eb4
add esp, 8
test eax, eax
je 0x409392
lea eax, [esp + 0x7c]
push 0x49bc58
push eax
call fcn.00463eb4
add esp, 8
test eax, eax
je 0x409392
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409322
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047378f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409bd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409c32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc