joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4602b0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push 0x107
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x12c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4602e1
mov ax, word [0x4d5c0c]
mov word [ecx], ax
mov al, byte [0x4d5c0e]
mov byte [ecx + 2], al
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x460347
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
lea eax, [ebp - 0x26c]
push 0x140
push eax
call esi
add esp, 8
lea eax, [ebp - 0x26c]
push eax
push edi
call ebx
test eax, eax
jne 0x460320
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push 4
push eax
call esi
add esp, 8
cmp dword [0x4e80dc], 0
jne 0x4603e4
push str.advapi32.dll
call fcn.0045da20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x4e80dc], eax
test eax, eax
je 0x460397
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x4e80dc]
jmp 0x460399
xor ecx, ecx
mov dword [0x4e80d0], ecx
test eax, eax
je 0x4603b4
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x4e80dc]
jmp 0x4603b6
xor ecx, ecx
mov dword [0x4e80d4], ecx
test eax, eax
je 0x4603d8
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x4e80dc], 0
mov dword [0x4e80d8], eax
je 0x460447
jmp 0x4603e9
mov dword [0x4e80d8], 0
jmp 0x460447
mov eax, dword [0x4e80d8]
mov ecx, dword [0x4e80d0]
test ecx, ecx
je 0x460447
cmp dword [0x4e80d4], 0
je 0x460447
test eax, eax
je 0x460447
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x460447
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x4e80d4]
test eax, eax
je 0x460439
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x4e80d8]
push esi
call fcn.00462d50
add esp, 4
call fcn.00460630
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x4604d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.0043a5e0
add esp, 8
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.0043a5e0
add esp, 8
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.0043a5e0
add esp, 8
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 4
push eax
call fcn.0043a5e0
add esp, 8
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.0043a5e0
add esp, 8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.0043a5e0
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0043a5e0
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0043a5e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x460960
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
cmp dword [ebp + 0xc], 0
je 0x46097f
mov dword [ebp + 0xc], 0
jmp 0x4609b0
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x4609b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x460a2c
test ebx, ebx
je 0x4609b0
cmp ebx, 0x217
jne 0x4609e9
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 0x10]
push ebx
push 0x460940
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
test eax, eax
je 0x4609d2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
call fcn.004608d0
add esp, 8
test eax, eax
jne 0x460970
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
call fcn.0045dae0
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.0040df30
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x2c]
push edi
push 0
push dword [eax + 0xc]
mov esi, dword [ecx]
call fcn.0045eef0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push 1
push dword [eax + 0x2c]
mov eax, dword [esi]
call eax
push edi
call fcn.0040e5c0
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x460d30
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4e8100], 0
jne 0x460e2f
push edi
push str.winspool.drv
call fcn.0045da20
push str.spoolss.dll
mov edi, eax
call fcn.0045da20
add esp, 8
test edi, edi
je 0x460dd7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumPrintersA
push edi
call esi
push str.OpenPrinterA
push edi
mov dword [0x4e80e0], eax
call esi
push str.ClosePrinter
push edi
mov dword [0x4e80e4], eax
call esi
push str.StartDocPrinterA
push edi
mov dword [0x4e80e8], eax
call esi
push str.EndDocPrinter
push edi
mov dword [0x4e80ec], eax
call esi
push str.StartPagePrinter
push edi
mov dword [0x4e80f0], eax
call esi
push str.EndPagePrinter
push edi
mov dword [0x4e80f4], eax
call esi
push str.WritePrinter
push edi
mov dword [0x4e80f8], eax
call esi
pop esi
mov dword [0x4e80fc], eax
mov dword [0x4e8100], 1
pop edi
ret
xor eax, eax
mov dword [0x4e80e0], 0
mov dword [0x4e80e4], 0
mov dword [0x4e80e8], 0
mov dword [0x4e80ec], 0
mov dword [0x4e80f0], 0
mov dword [0x4e80f4], 0
mov dword [0x4e80f8], 0
mov dword [0x4e80fc], eax
mov dword [0x4e8100], 1
pop edi
ret
Function at 0x461560
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4e8110], 0
jne 0x4616e7
push esi
push str.advapi32.dll
mov dword [0x4e8110], 1
call fcn.0045da20
add esp, 4
mov dword [0x4e8118], eax
test eax, eax
je 0x4616de
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x4e94c8], eax
test eax, eax
je 0x4616de
mov eax, dword [0x4e8118]
test eax, eax
je 0x4616d4
push str.SetSecurityInfo
push eax
call esi
mov dword [0x4e94c4], eax
test eax, eax
je 0x4616de
mov eax, dword [0x4e8118]
test eax, eax
je 0x4616c1
push str.OpenProcessToken
push eax
call esi
mov dword [0x4e94d8], eax
test eax, eax
je 0x4616de
mov eax, dword [0x4e8118]
test eax, eax
je 0x4616ae
push str.GetTokenInformation
push eax
call esi
mov dword [0x4e94d4], eax
test eax, eax
je 0x4616de
mov eax, dword [0x4e8118]
test eax, eax
je 0x46169b
push 0x4d5f04
push eax
call esi
mov dword [0x4e94d0], eax
test eax, eax
je 0x4616de
mov eax, dword [0x4e8118]
test eax, eax
je 0x461688
push 0x4d5f24
push eax
call esi
mov dword [0x4e94cc], eax
test eax, eax
je 0x4616de
mov eax, dword [0x4e8118]
test eax, eax
je 0x461675
push str.SetEntriesInAclA
push eax
call esi
mov dword [0x4e94c0], eax
test eax, eax
je 0x4616de
mov eax, 1
mov dword [0x4e8114], eax
pop esi
ret
xor eax, eax
mov dword [0x4e94c0], 0
mov dword [0x4e8114], eax
pop esi
ret
xor eax, eax
mov dword [0x4e94cc], 0
mov dword [0x4e8114], eax
pop esi
ret
xor eax, eax
mov dword [0x4e94d0], 0
mov dword [0x4e8114], eax
pop esi
ret
xor eax, eax
mov dword [0x4e94d4], 0
mov dword [0x4e8114], eax
pop esi
ret
xor eax, eax
mov dword [0x4e94d8], 0
mov dword [0x4e8114], eax
pop esi
ret
mov dword [0x4e94c4], 0
xor eax, eax
mov dword [0x4e8114], eax
pop esi
ret
mov eax, dword [0x4e8114]
ret
Function at 0x4628f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SoftwareSimonTathamqwertSessions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46295e
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462916
sub eax, edx
push 1
lea eax, [eax + eax*2]
inc eax
push eax
call fcn.0040e5e0
mov esi, eax
push esi
push edi
call fcn.00462b40
add esp, 0x10
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push esi
call fcn.0040e5c0
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0045cfb0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x462990
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea edi, [eax + eax*2]
push 1
push edi
call fcn.0040e5e0
mov esi, dword [ebp + 8]
add esp, 8
mov ebx, eax
mov edx, dword [esi + 4]
push edi
push ebx
push edx
push dword [esi]
lea ecx, [edx + 1]
mov dword [esi + 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4629e1
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.004634a0
push ebx
call fcn.0040e5c0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
call fcn.0040e5c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x462b40
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov al, byte [esi]
test al, al
je 0x462baf
mov edx, dword [ebp + 0xc]
cmp al, 0x20
je 0x462b77
cmp al, 0x5c
je 0x462b77
cmp al, 0x2a
je 0x462b77
cmp al, 0x3f
je 0x462b77
cmp al, 0x25
je 0x462b77
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x462b77
cmp al, 0x2e
jne 0x462b9a
test edi, edi
jne 0x462b9a
mov byte [edx], 0x25
movzx eax, byte [esi]
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [edx + 1], al
add edx, 2
movzx eax, byte [esi]
and eax, 0xf
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
inc esi
mov byte [edx], al
inc edx
mov edi, 1
mov al, byte [esi]
test al, al
jne 0x462b53
pop edi
mov byte [edx], al
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov byte [eax], 0
pop ebp
ret
Function at 0x462d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
call fcn.004624b0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x462ddb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
je 0x462dd3
nop dword [eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x462dd3
push eax
lea eax, [ebp - 0x404]
push eax
call ebx
add esp, 8
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
jne 0x462da0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004668ab
mov esp, ebp
pop ebp
ret

Function at 0x462f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x462fdd
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x462fdd
cmp dword [ebp + 8], 1
jne 0x462fdd
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.0040e5e0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x462fcc
cmp dword [ebp + 8], 1
jne 0x462fcc
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040e5c0
add esp, 4
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x462ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
push eax
push 0
push esi
call edi
test eax, eax
jne 0x463083
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop word [eax + eax]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46305f
push dword [ebp - 0x110]
call fcn.00462ff0
add esp, 4
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
call edi
test eax, eax
je 0x463030
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x4630c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4630d0
sub ecx, edx
mov edx, dword [ebp + 0x10]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4630e0
sub edx, esi
push 1
lea eax, [edx + 5]
add eax, ecx
lea eax, [eax + eax*2]
push eax
call fcn.0040e5e0
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push edi
push esi
call fcn.00462ac0
add esp, 0x18
lea eax, [ebp - 4]
push eax
push str.SoftwareSimonTathamqwertSshHostKeys
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x463155
mov edx, dword [ebp + 0x14]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463130
sub ecx, edi
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0040e5c0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x463400
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x46344c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x46343f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x46343f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045dae0
push eax
push dword [ebp + 8]
push str.Unable_to_delete__s:__s
call fcn.004593b0
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
ret
xor eax, eax
mov edx, 0x80
push 0
cmp ecx, 2
cmove eax, edx
push eax
xor eax, eax
cmp ecx, 2
setne al
xor edx, edx
add eax, 2
cmp ecx, 2
push eax
push 0
mov eax, 3
cmove eax, edx
mov edx, 0x40000000
push eax
mov eax, 0x80000000
cmove eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 0x10]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
setne al
mov dword [ecx], edx
pop ebp
ret
Function at 0x463800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
call fcn.004624b0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x463830
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x467665
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4676a4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4676a4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4676a4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4676a4
cmp dword [ecx + 0x74], 0xe
jbe 0x4676a4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x49eab6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049e6ae

Function at 0x49eac1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049e838

Function at 0x4a8ac7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a899b

Function at 0x4ab3b3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aad7b

Function at 0x4b9fe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4ba00d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4ba00d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40661b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7bdfa4], 0
jne 0x406659
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40662f
mov dword [ecx*4 + 0x7bdfa0], eax
inc ecx
cmp ecx, 0x100
jl 0x40662a
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406686
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7bdfa0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406667
not eax
pop ebp
ret 0xc

Function at 0xba24d0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ba2620
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xba24f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xba24e2
add dl, dl
jne 0xba2501
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xba2554
xor eax, eax
add dl, dl
jne 0xba250e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xba25f5
add dl, dl
jne 0xba251d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba2528
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba2533
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba253e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xba254a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xba24ed
mov eax, 1
add dl, dl
jne 0xba2562
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xba256d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xba2559
sub eax, ebx
mov ebx, 1
jne 0xba25a0
mov ecx, 1
add dl, dl
jne 0xba2586
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xba2591
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xba257d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xba24ed
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xba25b7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xba25c2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xba25ae
cmp eax, 0x7d00
jae 0xba25e5
cmp eax, 0x500
jb 0xba25e0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xba24ed
cmp eax, 0x7f
ja 0xba25e8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xba24ed
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xba2616
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 0xba24ed
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x6d7480
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c1000]
push edi
jmp 0x6d749a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6d74a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d7490
mov eax, 1
add ebx, ebx
jne 0x6d74b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6d74c4
jne 0x6d74e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d74e3
dec eax
add ebx, ebx
jne 0x6d74d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6d74a8
add ebx, ebx
jne 0x6d74df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6d7535
xor ecx, ecx
sub eax, 3
jb 0x6d74fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6d756a
sar eax, 1
mov ebp, eax
jmp 0x6d7506
add ebx, ebx
jne 0x6d7506
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d74d4
inc ecx
add ebx, ebx
jne 0x6d7514
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d74d4
add ebx, ebx
jne 0x6d7521
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6d7516
jne 0x6d7532
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6d7516
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6d7554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6d7546
jmp 0x6d7496
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6d7554
add edi, ecx
jmp 0x6d7496
pop esi
mov edi, esi
mov ecx, 0x402f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6d7572
cmp byte [edi], 0x24
jne 0x6d7572
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6d7577
lea edi, [esi + 0x2d4000]
mov eax, dword [edi]
or eax, eax
je 0x6d75ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d94e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d9608]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6d75a4
mov ecx, edi
jns 0x6d75d3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d9610]
or eax, eax
je 0x6d75e9
mov dword [ebx], eax
add ebx, 4
jmp 0x6d75c1
call dword [esi + 0x2d960c]
mov ebp, dword [esi + 0x2d9614]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x6d7623
sub esp, 0xffffff80
jmp 0x4960de