joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f33a
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x436970
call fcn.00428f40
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40f43b
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40f42a
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40f42a
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40f43b
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40f42a
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40f42a
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40f42a
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041e578
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40f3ff
push 8
jmp 0x40f441
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40f43b
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40f442
push 0xb
jmp 0x40f441
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.00428f7b
ret 8

Function at 0x412128
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x412161
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.00428910
xor esi, esi
mov ecx, eax
dec edi
jne 0x412143
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41216a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x4fc2b8]
or eax, dword [0x4fc2bc]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x4121ca
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x4121ac
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x412191
mov dword [esi*8 + 0x4fbac0], eax
mov dword [esi*8 + 0x4fbac4], edx
inc esi
cmp esi, 0x100
jl 0x41218b
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x4121fb
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x4fbac0]
xor edx, dword [eax*8 + 0x4fbac4]
inc edi
dec ebx
jne 0x4121d8
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417711
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42aa89
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x4fba90], 0
push esi
je 0x4177b0
mov esi, 0x4fba80
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00419939
mov ecx, eax
call fcn.00419b62
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x417761
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00411455
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.004197ee
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x417792
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x4fba90], 0
jne 0x41773e
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, 0x429979
call fcn.0041ecbc
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x4177de
mov eax, dword [esi]
jmp 0x4177e0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41788e
push ecx
push ecx
mov ecx, esi
call fcn.00418e44
cmp eax, 0xffffffff
je 0x417833
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004111c1
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.004177c0
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x417833
xor al, al
jmp 0x41789a
mov ecx, dword [0x4fb8bc]
test ecx, ecx
je 0x417850
cmp dword [esi + 0x14], 0x10
jb 0x417847
mov eax, dword [esi]
jmp 0x417849
mov eax, esi
push 0
push eax
call ecx
jmp 0x41787a
cmp dword [0x4f9c48], 0
je 0x417878
push 0x18
pop eax
call fcn.0041f0e0
push esp
push 0x435098
call fcn.0040e5be
push eax
call dword [0x4f9c48]
add esp, 0xc
jmp 0x41782f
xor eax, eax
test eax, eax
je 0x41782f
push esi
mov ecx, 0x4fba80
call fcn.0041976b
mov byte [edi], 0
jmp 0x417898
test eax, 0x410
je 0x41782f
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4184f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42aa6d
call fcn.0041ecbc
mov eax, 0x1030
call fcn.0041f0e0
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x4f4b18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x4185ee
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x4185e4
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x4185e4
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004110bd
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41ad58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x4f4120]
push edi
test edx, edx
je 0x41ad82
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41ad74
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41adb3
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41adb3
mov esi, dword [0x4f4120]
jmp 0x41ad97
pop edi
pop esi
pop ebp
ret
Function at 0x426692
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f3b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041b64e]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041fc5e
mov dword [ebp - 0x14], eax
cmp dword [0x4f9b78], edi
jne 0x426783
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x426710
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x426863
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x426863
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426863
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4f9b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4f9b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4f9b80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f9b88], eax
test eax, eax
je 0x426780
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f9b84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4267a8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42679b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4267bd
push 4
pop eax
jmp 0x426865
cmp dword [ebp - 0x14], edi
je 0x4267bd
push dword [0x4f9b78]
call dword [fcn.0041b652]
push 3
jmp 0x4267a2
mov eax, dword [0x4f9b84]
mov ebx, dword [fcn.0041b652]
cmp eax, esi
je 0x42681b
cmp dword [0x4f9b88], esi
je 0x42681b
push eax
call ebx
push dword [0x4f9b88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42681b
test eax, eax
je 0x42681b
call ecx
test eax, eax
je 0x426810
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x426810
test byte [ebp - 8], 1
jne 0x42681b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42684b
mov eax, dword [0x4f9b7c]
cmp eax, esi
je 0x426848
push eax
call ebx
test eax, eax
je 0x426848
call eax
mov edi, eax
test edi, edi
je 0x426848
mov eax, dword [0x4f9b80]
cmp eax, esi
je 0x426848
push eax
call ebx
test eax, eax
je 0x426848
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4f9b78]
call ebx
test eax, eax
je 0x426863
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x426865
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f9bf
leave
ret
Function at 0x401cf4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
push ebx
mov bl, 1
test ecx, ecx
je 0x401d26
mov edx, 0x401150
call fcn.00401c91
test eax, eax
je 0x401d26
xor al, al
jmp 0x401e08
push edi
lea eax, [ebp - 4]
push eax
push 3
push 0
push 0x4013e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 4
pop edi
test eax, eax
jne 0x401d7b
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x401664
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401d99
cmp dword [ebp - 0xc], edi
jne 0x401d99
cmp dword [ebp - 0x10], 1
sete al
dec al
and bl, al
jmp 0x401d99
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4013e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401daa
xor bl, bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
test bl, bl
je 0x401e05
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4012c0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401e05
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x401618
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401dfc
cmp dword [ebp - 0xc], edi
jne 0x401dfc
cmp dword [ebp - 0x10], 1
sete al
dec al
and bl, al
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401e0d
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
xor ebx, ebx
mov dword [ebp - 4], esi
inc ebx
mov dword [ebp - 8], esi
push ebx
push esi
push 0x4013e0
push 0x80000001
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401e9d
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x40149c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401e74
cmp dword [ebp - 0xc], 4
jne 0x401e74
cmp dword [ebp - 0x10], ebx
setne bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
test bl, bl
je 0x401e9d
push 0xa
push 0x4014f8
push 0x40129c
push 0x4013c4
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401fb0
Capabilities:
Accept command line arguments
Create process on windows
Initialize winsock library
Query environment variable
Query or enumerate registry value
Set current directory
Terminate process

Disassembly:
call fcn.00402a67
jmp fcn.00401fba
Function at 0x40262b
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push edi
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edx
mov edi, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40264f
push 0x19
pop ecx
int 0x29
test byte [ebp - 0xc], 0x44
je 0x402699
push ebx
push esi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x40]
xor edx, edx
lea ecx, [ebx - 1]
mov eax, ecx
lea esi, [ebx - 1]
and ecx, dword [ebp - 4]
and eax, edi
add eax, ebx
dec ecx
add eax, ecx
not esi
div ebx
xor edx, edx
and esi, edi
mov ecx, eax
mov eax, dword [ebp - 4]
div ebx
add ecx, eax
je 0x402697
xor eax, eax
lock or dword [esi], eax
add esi, ebx
sub ecx, 1
jne 0x40268b
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43b658
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
and edx, edx
or edx, edx
call fcn.0043b689
add edx, 0x9fa44cea
xor dword [ebx], edi
push eax
mov edx, dword [esp]
add esp, 4
inc ebx
sub eax, 0x4a2459d9
and edx, eax
inc eax
cmp ebx, esi
jne fcn.0043b658
or edx, edx
add edx, eax
ret
Function at 0x100024fe
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x78
mov eax, dword [0x1001e078]
xor eax, esp
mov dword [esp + 0x74], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x100025bb
push edi
push 0x10016238
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100025ba
and dword [esp + 4], 0
lea eax, [esp + 4]
push ebp
push esi
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x63
mov esi, eax
lea eax, [esp + 0x21]
push 0
push eax
call fcn.100062f0
push 4
lea eax, [esp + 0x20]
mov byte [esp + 0x2c], 0xe9
mov ecx, 0x100024d6
push eax
sub ecx, edi
lea eax, [esp + 0x31]
sub ecx, 5
push eax
mov dword [esp + 0x28], ecx
call fcn.10005d70
add esp, 0x18
lea eax, [esp + 0x14]
push eax
push 5
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, eax
test esi, esi
je 0x100025b6
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov eax, ebp
pop ebp
pop edi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.10004b64
add esp, 0x78
ret

Function at 0x100043ca
Capabilities:
Create thread
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0x1001ea30
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [0x1001e044], 1
mov ebx, 0x100206e0
mov esi, dword [esp + 0x10]
jne 0x100043f2
push esi
push ebx
call fcn.100017a4
cmp dword [0x1001e04c], 1
jne 0x10004402
push esi
push ebx
call fcn.10001e6f
cmp dword [0x1001e048], 1
jne 0x10004418
push esi
push dword [0x1001e054]
push ebx
call fcn.10001fef
push esi
call fcn.1000424b
push ebp
call fcn.10004277
cmp byte [0x1001e05c], 0
pop ecx
pop ecx
je 0x1000447c
mov eax, dword [esi]
push 0x1001eb8a
push dword [eax + 0xc]
push dword [eax]
push str.Unhandled_exception_occurred_0x_08X_0x_p__at__s_r_nAdditional_exception_information_has_been_stored_locally_r_nand_this_application_will_be_terminated._r_n
push 0x1001fed8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x10], ecx
push eax
push ecx
push esi
push 0x10004220
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000448b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
cmp dword [0x1001fec8], 1
pop esi
pop ebp
setne al
pop ebx
ret 4
Function at 0x10004686
Capabilities:
Check for sandbox and av modules

Disassembly:
push esi
mov esi, dword [0x10020a14]
test esi, esi
jne 0x100046ea
push dword [0x1001e060]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x100046c4
push dword [0x1001e060]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x100046c4
mov eax, dword [esp + 8]
mov esi, dword [0x10020a14]
mov dword [eax + 4], 1
jmp 0x100046ea
push dword [0x1001e064]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 8]
mov esi, eax
xor eax, eax
mov dword [0x10020a14], esi
push 2
test esi, esi
pop edx
cmovne edx, eax
mov dword [ecx + 4], edx
xor eax, eax
test esi, esi
pop esi
setne al
ret 4

Function at 0x100049c4
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x1001e078]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x230]
push ebp
mov ebp, dword [esp + 0x23c]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x240]
cmp dword [eax + 4], esi
je 0x10004a13
push dword [esp + 0x248]
push ebp
push edi
push ecx
call dword [0x10020a18]
jmp 0x10004aa6
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10004a2d
xor eax, eax
jmp 0x10004aa5
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x224
push eax
push ebx
call sub.KERNEL32.dll_Module32First
jmp 0x10004a57
test edi, edi
je 0x10004a76
cmp edi, dword [esp + 0x2c]
je 0x10004a5d
lea eax, [esp + 0x10]
push eax
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10004a42
jmp 0x10004a9c
push dword [esp + 0x24c]
lea eax, [esp + 0x34]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0x30]
jmp 0x10004a93
push dword [esp + 0x24c]
lea eax, [esp + 0x134]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10004b64
add esp, 0x228
ret 0x14

Function at 0x10008488
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ecx - 1]
ror byte [ebx - 0x727407bb], 1
push esp
invalid

Function at 0x10008615
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x1000865d
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100081d2
push eax
push esi
push dword [ebp + 8]
call fcn.10008187
invalid
invalid
Function at 0x10008640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub byte [eax + 1], 0xb5
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.100081c2
or esp, dword [ebp + 0x7c858d1f]
invalid

Function at 0x1000884e
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10008863

Function at 0x1000913f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [0x3cfffffc], al
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
jmp [esi + eax*8]
test dword [edx + 0x14fffffc], ebp
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100081d2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10008187
add esp, 0xc
invalid
invalid
invalid
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x24ea008], 0x8088405
inc edx
mov dword [ebx + 0x24ea008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret