joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7fdf90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x7fdffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x7fe035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.007fde00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x7fdfc5
mov edi, 0x8188b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x7fe035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.007fde00
add edi, 4
add esp, 0xc
cmp edi, 0x8188c0
jb 0x7fe000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x7fe070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00804082
mov esi, eax
add esp, 8
test esi, esi
je 0x7fe107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x7fe102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00803946
add esp, 8
test eax, eax
je 0x7fe0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x7fe0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00803946
add esp, 8
test eax, eax
jne 0x7fe0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x7fe102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x7fef10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x8139fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x7ff002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00802dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x7ff002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.007fa6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0080320b
push 0x10
call fcn.008031d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x7fefc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007ef1c0
jmp 0x7fefc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.007feb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x7feff0
mov ecx, edi
call fcn.007ef2c0
push edi
call fcn.008031c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x7ff021
inc ebx
cmp ebx, 0x20
jb 0x7fef3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x800250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x814808
push 0x804288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x800329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x800329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.008031d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x800329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x800329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x80032c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00800351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x800d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x800d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x800d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x800d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x800d94
push eax
push esi
call fcn.0080320b
add esp, 8
pop esi
ret 0x10

Function at 0x800da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x800e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x800e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x819320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00802dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x800dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x800e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x800ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x800eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x819320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00802dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x800eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x800e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x801000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x801131
push esi
call fcn.00804145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.007f3080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x801131
push 0
push ebp
call fcn.007f33a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.007f3260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x80108b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.007f32f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x801121
push 0x819918
push edi
call fcn.008023f0
push eax
push ebx
push esi
call fcn.00800f60
push 0x8198f8
push edi
call fcn.008023f0
push eax
push ebx
push esi
call fcn.00800f60
push 0x8198d8
push edi
call fcn.008023f0
push eax
push ebx
push esi
call fcn.00800f60
push 0x8198c0
push edi
call fcn.008023f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00800f60
push 0x8198a0
push edi
call fcn.008023f0
push eax
push ebx
push esi
call fcn.00800f60
push 0x819888
push edi
call fcn.008023f0
push eax
push ebx
push esi
call fcn.00800f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x8021b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00802140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00802140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00802140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00802140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x802bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x802c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x81487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x802c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x802c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401bd7
pop dword [ebp - 0x24]
mov eax, 0xed0e1c92
add eax, 0x1331ff45
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xe0079e60
sub dword [ebp - 0x34], 0x91b55915
mov dword [ebp - 0x30], 0x3e64f474
sub dword [ebp - 0x30], 0xc31a82f
mov dword [ebp - 0x2c], 0x291a21a5
sub dword [ebp - 0x2c], 0xdccddd77
mov dword [ebp - 0x28], 0xb5e09414
sub dword [ebp - 0x28], 0xb5e09414
lea eax, [ebp - 0x34]
push eax
mov eax, 0xa25c304f
add eax, 0x5de44011
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x8908e518
sub dword [ebp - 0x34], 0x14967bc2
mov dword [ebp - 0x30], 0x14530a60
add dword [ebp - 0x30], 0x2d195715
mov dword [ebp - 0x2c], 0x8e8c9c42
add dword [ebp - 0x2c], 0xd4e2d02a
mov dword [ebp - 0x28], 0x86fd1646
add dword [ebp - 0x28], 0x7902e9ba
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xab5dd904
sub eax, 0xab1d6804
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x38e63
push 0
call eax
mov ecx, 0x514c
xor ebx, ebx
add ebx, eax
mov edi, 0xb1a6739c
sub edi, 0xb165739c
add edi, dword [ebp - 0x24]
mov edx, 0x87f5de44
sub dword [ebp - 0xc], ebx
mov esi, dword [edi]
xor dword [ebp - 0x20], ebx
sub esi, edx
xor dword [ebp - 0xc], esi
mov dword [ebx], esi
sub dword [ebp - 0x18], edx
add ebx, 4
add edi, 4
loop 0x401cef
add eax, 0x13803
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4016e1
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
push dword [esi + 0x1428]
mov dword [esp + 0x14], ebp
call fcn.00401cd3
pop ecx
mov edi, eax
push ebp
push dword [esi + 0x1424]
push dword [esi + 0x1420]
call dword [0x406024]
push dword [esi + 0x1428]
mov ebx, dword [0x406020]
push edi
push dword [esi + 0x1420]
call ebx
cmp eax, dword [esi + 0x1428]
jne 0x4017b6
lea eax, [esi + 0x1218]
push ebp
push eax
call dword [0x406050]
mov ebp, dword [0x406044]
cmp eax, 0xffffffff
mov dword [esi + 0x142c], eax
jne 0x401765
lea eax, [esi + 4]
push 0x407224
push eax
call ebp
mov dword [esp + 0x10], 0x37
jmp 0x401786
xor eax, eax
xor byte [eax + edi], 7
inc eax
cmp eax, 0x7d0
jl 0x401767
push dword [esi + 0x1428]
push edi
push dword [esi + 0x142c]
call dword [0x40604c]
lea eax, [esp + 0x14]
push 4
push eax
push dword [esi + 0x1420]
call ebx
mov eax, dword [esi + 0x1214]
cmp eax, dword [esp + 0x14]
jae 0x4017cd
lea eax, [esi + 4]
push 0x4071a8
push eax
call ebp
mov dword [esp + 0x10], 0x14
jmp 0x4017cd
lea eax, [esi + 4]
push 0x40718c
push eax
call dword [0x406044]
mov dword [esp + 0x10], 0x36
push edi
call fcn.00401bea
mov esi, dword [esi + 0x142c]
pop ecx
cmp esi, 0xffffffff
je 0x4017e6
push esi
call dword [0x40600c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401206
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030b0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401318
push 1
push dword [0x4030b0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030b8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401318
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x4012fb
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x73
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x30
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xd5
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x9d
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x58
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa8
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x82
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xd
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x39
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xf
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x65
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x1d
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x21
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x18
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x5c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x84
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x94
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 5
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x7e
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x59
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x38
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x34
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x1a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x66
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x91
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x5a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa3
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40ed60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40eae0
mov ecx, ecx
call fcn.0040ed84
add edx, edx
sub edx, edx
xor dword [ebx], eax
sub ecx, ecx
inc ecx
inc ebx
cmp ebx, edi
jne fcn.0040ed60
sub edx, 0x49d9a326
inc ecx
ret

Function at 0x4016ff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, esi
add ebx, 0xc8
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov edx, esi
shl edx, cl
mov eax, edi
add eax, edx
cdq
idiv ebx
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x4017bd
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
jmp 0x40173f
add dword [ebp - 0xc], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jl 0x401739
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x401758
mov eax, dword [ebp + 0xc]
or eax, esi
mov ebx, eax
sub ebx, dword [ebp - 0xc]
or ebx, ebx
je 0x4017cf
and dword [ebp - 0x14], 0
push ebx
push dword [ebp - 0xc]
push esi
call fcn.004016c5
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0xc]
push esi
call fcn.004016c5
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 8]
mov edx, eax
xor edx, esi
add edx, edi
push edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, esi
mov dword [ebp - 0x20], eax
mov ecx, edx
or cl, 1
cdq
idiv ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24]
mov ecx, eax
add ecx, edx
mov edx, ecx
add edx, edi
push edx
call fcn.004016ab
add esp, 0x20
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7e8
jl 0x401760
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, esi
inc ecx
cdq
idiv ecx
cmp dword [ebp - 4], eax
jle 0x40172f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x60
lea eax, [esp]
mov dword [esp + 0x18], 0x44
push eax
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push ecx
push 0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x111e0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.test4
call fcn.00011750
mov edx, str.:_vmmap.exe_execution_error__n
mov ecx, eax
call fcn.00011750
xor al, al
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
mov esp, ebp
pop ebp
ret