joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11a0f90
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 0x11a0ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x11a1035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.011a0e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x11a0fc5
mov edi, 0x11bb8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x11a1035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.011a0e00
add edi, 4
add esp, 0xc
cmp edi, 0x11bb8c0
jb 0x11a1000
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 0x11a1070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.011a7082
mov esi, eax
add esp, 8
test esi, esi
je 0x11a1107
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 0x11a1102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.011a6946
add esp, 8
test eax, eax
je 0x11a10e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x11a10e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.011a6946
add esp, 8
test eax, eax
jne 0x11a10c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x11a1102
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 0x11a1f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x11b69fb
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 0x11a2002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.011a5dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x11a2002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0119d6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.011a620b
push 0x10
call fcn.011a61d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x11a1fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.011921c0
jmp 0x11a1fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.011a1b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x11a1ff0
mov ecx, edi
call fcn.011922c0
push edi
call fcn.011a61c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x11a2021
inc ebx
cmp ebx, 0x20
jb 0x11a1f3e
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 0x11a3250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11b7808
push 0x11a7288
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 0x11a3329
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 0x11a3329
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.011a61d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x11a3329
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 0x11a3329
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 0x11a332c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.011a3351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11a3d20
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 0x11a3d58
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 0x11a3d60
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 0x11a3d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x11a3d94
push eax
push esi
call fcn.011a620b
add esp, 8
pop esi
ret 0x10

Function at 0x11a3da0
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 0x11a3e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x11a3e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x11bc320
push ecx
mov dword [esp + 0x1c], 4
call fcn.011a5dff
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 0x11a3dda
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 0x11a3e30
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 0x11a3ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x11a3eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x11bc320
push ecx
mov dword [esp + 0x1c], 4
call fcn.011a5dff
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 0x11a3eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x11a3e6a
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 0x11a4000
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 0x11a4131
push esi
call fcn.011a7145
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.01196080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x11a4131
push 0
push ebp
call fcn.011963a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01196260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x11a408b
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.011962f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x11a4121
push 0x11bc918
push edi
call fcn.011a53f0
push eax
push ebx
push esi
call fcn.011a3f60
push 0x11bc8f8
push edi
call fcn.011a53f0
push eax
push ebx
push esi
call fcn.011a3f60
push 0x11bc8d8
push edi
call fcn.011a53f0
push eax
push ebx
push esi
call fcn.011a3f60
push 0x11bc8c0
push edi
call fcn.011a53f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.011a3f60
push 0x11bc8a0
push edi
call fcn.011a53f0
push eax
push ebx
push esi
call fcn.011a3f60
push 0x11bc888
push edi
call fcn.011a53f0
push eax
push ebx
push esi
call fcn.011a3f60
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 0x11a51b0
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.011a5140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.011a5140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.011a5140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.011a5140
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 0x11a5bfa
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 0x11a5c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x11b787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x11a5c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x11a5c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x409e20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x409e3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409e41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409e30
mov eax, 1
add ebx, ebx
jne 0x409e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409e48
jne 0x409e64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409e48
xor ecx, ecx
sub eax, 3
jb 0x409e78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409eea
mov ebp, eax
add ebx, ebx
jne 0x409e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409e90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409eb4
inc ecx
add ebx, ebx
jne 0x409ea0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409e95
jne 0x409eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409e95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409ed4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409ec5
jmp 0x409e36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409ed4
add edi, ecx
jmp 0x409e36
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409ef2
cmp byte [edi], 1
jne 0x409ef2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x409ef7
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409f66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409f24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x909c]
or eax, eax
je 0x409f60
mov dword [ebx], eax
add ebx, 4
jmp 0x409f41
call dword [esi + 0x9098]
mov ebp, dword [esi + 0x90a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x409f9a
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x1001e8ce
Capabilities:
Encode data using xor

Disassembly:
int1
add dword [esi], ebx
xchg ebp, eax
inc ebp
cmp al, dh
mov al, 0x47
cmp byte [eax], cl
mov ch, 0x48
cmp byte [eax], dl
mov ecx, 0xb208a376
je 0x1000e346
jmp 0x1000e369
cmpsd dword [esi], dword es:[edi]
hlt
clc
jmp 0x1001e889
pushal
stc
jb 0x1001e8a7
or al, 0xb0
fdivr qword [ebp + 0x4ec89d6]
out 0xec, al
inc edx
mov ecx, 0xac210bdd
lcall 0x723c, 0xa5ca1252
xchg ebp, eax
into
push 0xffffffffffffffe8
and al, byte [eax]
add byte [eax], al
call 0x1001e8ce
rcl dword [ecx]
test al, 0x80
mov ebp, 0xd611a505
wait
adc ch, 0xb7
mov ah, 0x43
mov dl, 0xfb
nop
sbb ebx, dword [esi + 0x603f054e]
mov esp, 0x6e6a81df
cdq
sub dword [esi + ebx*2], esi
jmp 0x1001e8d6
add esi, 0xffffff74
jmp 0x1001e8f2
cmp dword [esi], 0
stc
jb 0x1001e925
enter 0x7190, 0xf
jno 0x1001e90b
mov al, byte [0x3997b820]
add eax, 0x7772dd34
sal byte [ecx - 0x51], cl
adc al, byte [esi - 0x7e]
jae 0x1001e92e
xor byte [ebx + 0x20], 0x45
inc ebp
inc esp
xor bl, byte [ebx]
cmc
xchg esp, eax
pushal
outsb dx, byte [esi]
mov byte [0xb27ccedf], al
inc eax
jecxz 0x1001e8fa
call 0xd394eb39
mov eax, 0x1ad840f
add byte [eax], al
je 0x1001ead8
jmp 0x1001e94e
outsd dx, dword [esi]
sal dl, cl
in eax, dx
pop edx
cmpsb byte [esi], byte es:[edi]
std
ja 0x1001e931
dec esp
mov dl, 0x9f
out 0x93, eax
test eax, 0xdd8003cd
mov ch, 0x13
cmp ebp, dword [0x7aeb9c86]
retf
mov ecx, esi
jb 0x1001e958
adc eax, 0x9bcf658b
dec ebp
add esi, 4
jmp 0x1001e97c
mov edx, dword [esi]
jmp 0x1001e9af
jns 0x1001e9b3
add edx, esi
salc
clc
jae 0x1001e9c6
adc dh, byte [ecx + ecx*8]
xor al, 0xc9
add dword [ecx - 0x2d79c6ad], esp
invalid
mov eax, dword [esi + 4]
jmp 0x1001e9de
sub dword [edx], 0xacf1a893
jmp 0x1001e9f9
add edx, 4
jmp 0x1001ea10
sub eax, 1
stc
jmp 0x1001ea1a
jne 0x1001e9c9
jb 0x1001ea50
jecxz 0x1001e9ae
invalid
add esi, 8
jmp 0x1001ea82
sub dword [ecx], 1
jmp 0x1001eab3
jne 0x1001e95b
jmp 0x1001eac8
mov ebx, esi
clc
jae 0x1001ead3
pop edx
into
leave
call dword [esi + 0x19]
call fcn.1001eb19
jmp 0x1001eb00
popal
clc
jae 0x1001eb14
mov ebx, 0xe466fbe7
sbb dl, byte [edi - 0x1e383acb]
cmpsd dword [esi], dword es:[edi]
mov byte [0x2ee929a3], 0xf8
invalid
jmp 0x1000e347
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x405280
Capabilities:
Encode data using xor

Disassembly:
push 0x405334
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov ebx, 0x93ecd7ec
xor al, 0xfa
inc ebp
stosb byte es:[edi], al
adc eax, edi
pop esi
pushal
jg 0x40529c
mov al, byte [pe_dos_header]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
sub eax, 0x30303043
sub eax, 0x6671616d
ja 0x405333
jae 0x405339
imul esp, dword [edx], 0x32237d36
cmp dword cs:[eax], esi
cmp dword [ebx], esi
xor al, 0x30
xor dh, byte [ebx]
cmp byte [ebx + esi], dh
cmp dword [edx], esi
cmp byte [0x36353334], dh
xor eax, 0x34353634
add byte ss:[edi + ebp*2 + 0x6c], ah
xor ch, byte gs:[esi]
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
adc byte [eax + eax*2], al
add bh, bh
add byte [esi + 0x42], dl
xor eax, 0x2a263621
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], bh
sub al, byte es:[eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jle 0x40534a
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, byte [eax]
or dword [eax + eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x5a], bh
inc edx
add byte [ebp + edx*2 + 0x40], dl
add byte [edi], bh
invalid
Function at 0x407592
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x407645
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x40bbb2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00407592
test eax, eax
je 0x40bbf5
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40bbf5
cmp word [eax], 0x5a4d
jne 0x40bbf5
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40bbf5
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bc14
mov eax, dword [ebp + 8]
jmp 0x40bc0e
mov esp, ebp
pop ebp
ret 4

Function at 0x40bdb0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x40bdd2
mov eax, 0xfffffffd
jmp 0x40beaf
mov ebx, dword [0x4cabdc]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40be7d
mov ebx, dword [0x4cabdc]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x40be21
mov ebx, dword [0x4cabdc]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x40be21
mov eax, 1
jmp 0x40be23
xor eax, eax
test eax, eax
je 0x40be4f
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40be38
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4cabdc]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x40bea5
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40beaf
mov esp, ebp
pop ebp
ret 4

Function at 0x41125b
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x4121fb
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041efb6
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041efb6
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.0041efb6
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x421e70
call fcn.0041efc2
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x4122bb
mov eax, 0
jmp 0x412427
cmp dword [ebp + 0xc], 0
jne 0x4122e7
mov dword [ebp - 0x1c], esp
mov eax, 0x3c
call fcn.0041efce
cmp dword [ebp - 0x1c], esp
je 0x4122e4
push 6
call fcn.0041efc8
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x41230f
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412309
push ebx
call fcn.0041efbc
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x3d
call fcn.0041efce
cmp dword [ebp - 0x1c], esp
je 0x41233a
push 6
call fcn.0041efc8
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4a0364
mov eax, 0x3e
call fcn.0041efce
cmp dword [ebp - 0x1c], esp
je 0x412366
push 6
call fcn.0041efc8
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x3f
call fcn.0041efce
cmp dword [ebp - 0x1c], esp
je 0x4123fa
push 6
call fcn.0041efc8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 3
call fcn.0041efce
cmp dword [ebp - 0x1c], esp
je 0x41241f
push 6
call fcn.0041efc8
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x412427
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041efbc
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041efbc
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0041efbc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10