joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a490
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1008b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.100028e0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x1003a4d6
mov al, 1
jmp 0x1003a628
mov ecx, esi
call fcn.100028e0
push eax
lea ecx, [ebp - 0x28]
call fcn.100028f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1003a3f0
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100028eb
cmp ebx, 0xffffffff
jne 0x1003a515
xor al, al
jmp 0x1003a628
mov ecx, esi
call fcn.100028e0
push eax
lea ecx, [ebp - 0x28]
call fcn.100028f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
call fcn.100028e0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
je 0x1003a547
xor bl, bl
jmp 0x1003a591
lea ecx, [ebp - 0x40]
call fcn.10003c19
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1003b020
test al, al
je 0x1003a583
push 0
lea ecx, [ebp - 0x40]
call fcn.100028e0
push eax
call ebx
test eax, eax
je 0x1003a583
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100028eb
xor bl, bl
jmp 0x1003a591
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100028eb
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100028eb
test bl, bl
jne 0x1003a50e
mov ecx, esi
call fcn.100028e0
push eax
call edi
test eax, eax
jne 0x1003a4cf
lea ecx, [ebp - 0x28]
call fcn.10003c19
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1003b020
test al, al
je 0x1003a5ea
lea ecx, [ebp - 0x28]
call fcn.100028e0
push eax
call edi
test eax, eax
je 0x1003a5ea
mov bl, 1
jmp 0x1003a617
mov ecx, esi
call fcn.100028e0
push eax
lea ecx, [ebp - 0x40]
call fcn.100028f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.1003a340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100028eb
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100028eb
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045845
mov esp, ebp
pop ebp
ret
Function at 0x1003aa80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x224
mov eax, dword [0x1008b008]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
mov ebp, dword [esp + 0x22c]
lea eax, [esp + 0x18]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.10048ef0
add esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push 0
call fcn.100028e0
push eax
mov ecx, edi
call fcn.100028e0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1003ac96
xor eax, eax
mov word [esp + 0x22a], ax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.10002ab7
add esp, 4
mov ecx, ebp
mov ebx, eax
call fcn.100029a0
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x20], eax
cmp ebx, eax
ja 0x1003ab3f
mov esi, edi
cmp eax, 8
jb 0x1003ab12
mov esi, dword [edi]
push ebx
lea eax, [esp + 0x28]
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.10002a85
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10002a74
add esp, 0x14
jmp 0x1003ac7b
mov ecx, ebp
call fcn.10002ee1
cmp ebx, eax
ja 0x1003acb0
mov ecx, ebp
call fcn.10002ee1
mov ecx, ebx
mov esi, eax
or ecx, 7
mov dword [esp + 0x18], ecx
cmp ecx, esi
ja 0x1003ab95
mov ecx, ebp
call fcn.100029a0
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x1003ab95
lea eax, [ecx + edx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10002a23
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1003aba7
or ecx, 0xffffffff
jmp 0x1003abaf
cmp ecx, 0x1000
jb 0x1003abd8
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.10045a5f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1003acb5
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1003abe9
test ecx, ecx
je 0x1003abe7
push ecx
call fcn.10045a5f
add esp, 4
jmp 0x1003abe9
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
push ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x14]
push eax
push esi
call fcn.10002a9e
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10002a74
mov ecx, dword [esp + 0x34]
add esp, 0x14
cmp ecx, 8
jb 0x1003ac5a
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003ac48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003acb5
mov eax, edx
push ecx
push eax
call fcn.10045a8f
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [edi], eax
jmp 0x1003ac7b
lea eax, [esp + 0x10]
push eax
call fcn.10002bc4
push edi
mov esi, eax
call fcn.10002bc4
push eax
push 4
call fcn.1000235c
mov ecx, dword [esi]
add esp, 0x10
mov dword [eax], ecx
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10045845
add esp, 0x224
ret
mov ecx, dword [esp + 0x22c]
xor al, al
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10045845
add esp, 0x224
ret
call fcn.10002e9f
call fcn.1004eec7
int3
Function at 0x1003b9d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c9f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1008b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x1003ba16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.1003bea0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1003ba3f
lea ebx, [esi + 8]
jmp 0x1003ba41
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.100028d8
test al, al
jne 0x1003ba57
mov ecx, dword [ebp - 0x18]
call fcn.100028e0
jmp 0x1003ba59
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1003ba7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1003ba7a
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1003baa3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003bab8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.10045a8f
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045845
mov esp, ebp
pop ebp
ret 4
Function at 0x1003bff0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10089388
push 0x100493b0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1008b008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x1003c059
xor eax, eax
jmp 0x1003c1cf
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003c19a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1003c19a
push 0x100803a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003c19a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x1003c19a
push 0x1008038c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003c19a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1003c19a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003c19a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x1003c19a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003c19a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x1003c19a
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003c19a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1003c183
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1003c170
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x1003c180
jmp 0x1003c19a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1003c1f6
test ebx, ebx
jne 0x1003c1cd
test esi, esi
je 0x1003c1bf
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1003c1cd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10045845
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003ef00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1003ef0b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1003ef30

Function at 0x1003f8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x1008da80], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x1008d780], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x1008d980], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x1008d880], al
inc esi
cmp esi, 0x100
jl 0x1003f9b0
pop esi
add esp, 0x80
ret

Function at 0x1005c4f1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005c1b1
Function at 0x391113
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0x18
push 0x39fd30
call fcn.0039b4a0
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
call fcn.00391069
test eax, eax
je 0x391186
lea edi, [eax + 0x3a20c0]
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x12400
push 0x3a20c0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x391186
call edi
test eax, eax
je 0x39116f
lea ecx, [ebp - 0x28]
push ecx
push 6
push ebx
call eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 0x12400
push 0x3a20c0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x28]
jmp 0x3911a2
call fcn.0039b4e8
ret

Function at 0x3911a8
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push 4
pop edx
push 3
pop eax
push 0xa
pop ecx
xor esi, esi
mov dword [ebp - 0x2c], 5
push esi
push esi
push esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0xc], 0x2d
mov dword [ebp - 8], 0x31
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x39120a
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, esi
mov edx, esi
mov al, byte [ebp + ecx*4 - 0x2c]
xor byte [edx + 0x3a20c0], al
inc ecx
xor eax, eax
cmp ecx, 0xb
cmove ecx, eax
inc edx
cmp edx, 0x12400
jb 0x39120e
call fcn.00391113
push esi
test eax, eax
jne 0x391204
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x394bca
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x3a1050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00392e5c
mov dword [ebp - 0x14], eax
cmp dword [0x3b5210], esi
jne 0x394cbd
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x394c4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x394d9d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x394d9d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x394d9d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x3b5210], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x3b5214], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x3b5218], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x3b5220], eax
test eax, eax
je 0x394cba
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x3b521c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x394ce2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x394cd5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x394cf7
push 4
pop eax
jmp 0x394d9f
cmp dword [ebp - 0x14], esi
je 0x394cf7
push dword [0x3b5210]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x394cdc
mov eax, dword [0x3b521c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x394d55
cmp dword [0x3b5220], edi
je 0x394d55
push eax
call ebx
push dword [0x3b5220]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x394d55
test eax, eax
je 0x394d55
call ecx
test eax, eax
je 0x394d4a
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 0x394d4a
test byte [ebp - 8], 1
jne 0x394d55
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x394d85
mov eax, dword [0x3b5214]
cmp eax, edi
je 0x394d82
push eax
call ebx
test eax, eax
je 0x394d82
call eax
mov esi, eax
test esi, esi
je 0x394d82
mov eax, dword [0x3b5218]
cmp eax, edi
je 0x394d82
push eax
call ebx
test eax, eax
je 0x394d82
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x3b5210]
call ebx
test eax, eax
je 0x394d9d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x394d9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.003913c0
mov esp, ebp
pop ebp
ret
Function at 0xc8e938
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a58a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x462304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4552b8
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00c885c8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00c67dc8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x24], ecx
push 0xc
call fcn.00ca3729
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0
je 0xc8ea20
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00c8ec88
mov dword [ebp - 0x18], eax
jmp 0xc8ea27
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00c885c8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xca0978
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx + 8], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx + 8], 0x10325476
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp + 8]
xor edx, edx
xor eax, eax
mov dword [ecx], edx
mov dword [ecx + 4], eax
xor eax, eax
pop ebp
ret
Function at 0xdcc1b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0xdcc308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xdcc1de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdcc1ca
add dl, dl
jne 0xdcc1e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdcc23c
xor eax, eax
add dl, dl
jne 0xdcc1f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdcc2dd
add dl, dl
jne 0xdcc205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdcc210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdcc21b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdcc226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdcc232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdcc1d5
mov eax, 1
add dl, dl
jne 0xdcc24a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdcc255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdcc241
sub eax, ebx
mov ebx, 1
jne 0xdcc288
mov ecx, 1
add dl, dl
jne 0xdcc26e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdcc279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdcc265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdcc1d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdcc29f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdcc2aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdcc296
cmp eax, 0x7d00
jae 0xdcc2cd
cmp eax, 0x500
jb 0xdcc2c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdcc1d5
cmp eax, 0x7f
ja 0xdcc2d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdcc1d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdcc2fe
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 0xdcc1d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x86d470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3af000]
push edi
or ebp, 0xffffffff
jmp 0x86d492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x86d499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86d488
mov eax, 1
add ebx, ebx
jne 0x86d4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x86d4bc
jne 0x86d4cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86d4cc
dec eax
add ebx, ebx
jne 0x86d4c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x86d4a0
xor ecx, ecx
sub eax, 3
jb 0x86d4e4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x86d556
sar eax, 1
mov ebp, eax
jmp 0x86d4ef
add ebx, ebx
jne 0x86d4ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x86d4fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x86d520
inc ecx
add ebx, ebx
jne 0x86d50c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x86d501
jne 0x86d51d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x86d501
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x86d540
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x86d531
jmp 0x86d48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x86d540
add edi, ecx
jmp 0x86d48e
pop esi
mov edi, esi
mov ecx, 0x57cd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x86d55e
cmp byte [edi], 0x21
jne 0x86d55e
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 eax, ebx
loop 0x86d563
lea edi, [esi + 0x469000]
mov eax, dword [edi]
or eax, eax
je 0x86d5d2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46f828]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x46f940]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x86d590
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x46f944]
or eax, eax
je 0x86d5cc
mov dword [ebx], eax
add ebx, 4
jmp 0x86d5ad
call dword [esi + 0x46f948]
popal
jmp 0x4bcd3c