joyce8/EMBER2024-capa huggingface dataset:
Function at 0xeed1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00eed140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00eed140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00eed140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00eed140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xeedbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xeedc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xeff87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xeedc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xeedc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x406e1c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00406e08
add esp, 0x208
pop ebx
ret

Function at 0x40be18
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40be51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405108
jmp 0x40be5a
mov eax, ebx
mov edx, esi
call fcn.00404fcc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be64
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40be86
movzx eax, word [esp]
jmp 0x40be88
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x40c735
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0040c424
mov esi, eax
mov eax, dword [0x41bd50]
cmp byte [eax], 0
je 0x40c6dd
mov eax, dword [0x41bc64]
call fcn.0040326c
call fcn.0040305c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40c5ec]
call fcn.00405e58
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x40c750
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c719
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x41bc44]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41eb48]
call fcn.00405f10
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c73c
lea eax, [ebp - 4]
mov edx, dword [0x40c5ec]
call fcn.00405e64
ret
Function at 0x40dfcf
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404bc0
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x40dff2
mov eax, edi
add eax, eax
call fcn.00402ef4
mov esi, eax
jmp 0x40dff4
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40e02d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40e017
mov eax, esp
cmp esi, eax
je 0x40e03a
mov eax, esi
call fcn.00402f10
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40e074
cmp bl, 0
je 0x40e070
cmp bl, 0x41
jl 0x40e06b
cmp bl, 0x5a
jg 0x40e06b
or bl, 0x20
xor al, bl
inc esi
jmp 0x40e04f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40dfb4

Function at 0x40f160
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f1a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040f0ec
mov eax, dword [ebp - 4]
call fcn.00405058
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f1ad
lea eax, [ebp - 4]
call fcn.00404fbc
ret

Function at 0x40f3c4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x40f45b
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x40f40f
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00405108
jmp 0x40f445
call sub.kernel32.dll_GetCommandLineW_1
mov ebx, eax
cmp word [ebx], 0
jne 0x40f428
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405020
jmp 0x40f43b
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040f284
mov ebx, eax
test esi, esi
je 0x40f43b
dec esi
jmp 0x40f416
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f462
lea eax, [ebp - 4]
call fcn.00404fbc
ret

Function at 0x40f46c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00409144
add esp, 0x208
pop ebx
ret

Function at 0x40f4cc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00409144
add esp, 0x208
pop ebx
ret
Function at 0x40f630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40f768
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40f752
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40f68d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40f752
cmp dword [ebp - 0x14], 0
jne 0x40f6a4
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404fcc
mov bl, 1
jmp 0x40f752
cmp dword [ebp - 0x14], 0x70000000
jb 0x40f6b2
call fcn.0040c77c
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00405108
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.004057e0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x40f656
test eax, eax
jne 0x40f752
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40f700
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40f752
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x40f708
dec esi
test esi, esi
je 0x40f717
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x40f707
cmp dword [ebp - 0x10], 7
jne 0x40f722
test esi, esi
je 0x40f722
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00405234
cmp dword [ebp - 0x10], 7
jne 0x40f745
test esi, esi
je 0x40f745
lea eax, [ebp - 4]
call fcn.004057e0
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404fcc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f76f
lea eax, [ebp - 4]
call fcn.00404fbc
ret

Function at 0x410298
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x420d9c
mov eax, esi
mov edx, 8
test al, 1
je 0x4102b4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4102b6
shr eax, 1
dec edx
jne 0x4102a7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4102a0
pop esi
ret

Function at 0x4102cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x420d98], 0
jne 0x4102ef
call fcn.00410298
push 1
push 0x420d98
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x41031a
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x420d9c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4102f5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x411d80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00411d34
test al, al
jne 0x411da1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x411ded
xor eax, eax
push ebp
push 0x411ddd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405058
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411de4
lea eax, [ebp - 0xc]
call fcn.00411d70
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41626c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x416274
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4163d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00405148
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040efd0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040f0cc
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
call fcn.0040f4a0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040ed8c
lea eax, [ebp - 0x2c]
mov edx, 0x4163f0
call fcn.004052cc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040f0cc
mov eax, dword [ebp - 0x28]
pop edx
call fcn.0040582c
dec eax
je 0x41630e
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
jne 0x4163aa
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x4163aa
lea eax, [ebp - 4]
call fcn.0040f7b0
cmp dword [ebp - 4], 0
jne 0x416329
lea eax, [ebp - 4]
mov edx, 0x416408
call fcn.00405020
push 0x41641c
push dword [ebp - 4]
push 0x41645c
push 0x41646c
push 0x4164ac
lea eax, [ebp - 8]
mov edx, 5
call fcn.00405470
push 0
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 8]
call fcn.00405058
push eax
call sub.advapi32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x416372
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
xor ebx, ebx
jmp 0x4163aa
mov dword [ebp - 0x18], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
jne 0x4163a1
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4163d9
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00404fc4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404fc4
ret
Function at 0x4167a0
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x41bdc0]
cmp dword [eax], 2
jne 0x416808
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4167c3
xor eax, eax
jmp 0x416817
lea eax, [esp + 8]
push eax
push 0x41681c
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x416808
xor eax, eax
jmp 0x416817
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x416844
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x41689e
inc esi
xor edi, edi
cmp edi, 1
jne 0x41686a
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x416878
cmp edi, 1
jle 0x416878
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00411d80
test eax, eax
jne 0x41689e
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x41689e
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x41689e
inc edi
dec esi
jne 0x41685a
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4168a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4168cc
mov eax, dword [ebp - 4]
jmp 0x4168cf
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x4168d4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x416921
xor ebx, ebx
jmp 0x416916
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00408454
test eax, eax
jne 0x416915
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4169cb
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4168f7
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x41692d
je 0x416936
jmp 0x41693f
call fcn.0040f89c
mov esi, eax
jmp 0x416941
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x416941
xor esi, esi
test si, si
je 0x4169cb
xor ebx, ebx
jmp 0x416967
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x416966
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4169cb
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x41694e
xor ebx, ebx
jmp 0x4169c0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x4169bf
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x4169b4
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004168a8
push eax
mov eax, esi
call fcn.004168a8
pop edx
cmp edx, eax
jne 0x4169bf
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4169cb
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x416976
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x416dbc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x416e93
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x416eb0
push ebx
push 0x416ec0
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405470
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403340
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405058
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x416e3e
mov ax, 0x83
call fcn.004169d8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00416d90
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x416e47
call fcn.00416d90
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416e9a
lea eax, [ebp - 4]
call fcn.00404fbc
ret
Function at 0x416fb0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x41707b
jmp 0x41706f
cmp dword [esi + 0x10], 0x1000
jne 0x41705b
test byte [esi + 0x15], 1
jne 0x41705b
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x41700c
cmp ebp, 2
je 0x41700c
cmp ebp, 0x10
je 0x41700c
cmp ebp, 0x20
jne 0x417028
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x417028
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x417039
mov eax, dword [esi]
add eax, ebx
call fcn.00416fa8
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x41702c
cmp byte [esp + 4], 0
je 0x41705b
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x41707b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x416fe1
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x28131bdc
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x5c502715
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4bce80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7a000]
push edi
jmp 0x4bce9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bcea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bce90
mov eax, 1
add ebx, ebx
jne 0x4bceb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bcec4
jne 0x4bcee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bcee3
dec eax
add ebx, ebx
jne 0x4bced0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bcea8
add ebx, ebx
jne 0x4bcedf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bcf35
xor ecx, ecx
sub eax, 3
jb 0x4bcefb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bcf6a
sar eax, 1
mov ebp, eax
jmp 0x4bcf06
add ebx, ebx
jne 0x4bcf06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bced4
inc ecx
add ebx, ebx
jne 0x4bcf14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bced4
add ebx, ebx
jne 0x4bcf21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bcf16
jne 0x4bcf32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bcf16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bcf54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bcf46
jmp 0x4bce96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bcf54
add edi, ecx
jmp 0x4bce96
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bcf72
cmp byte [edi], 0x13
jne 0x4bcf72
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 0x4bcf77
lea edi, [esi + 0xb8000]
mov eax, dword [edi]
or eax, eax
je 0x4bcfef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc7dc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc7f1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bcfa4
mov ecx, edi
jns 0x4bcfd3
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 + 0xc7f20]
or eax, eax
je 0x4bcfe9
mov dword [ebx], eax
add ebx, 4
jmp 0x4bcfc1
call dword [esi + 0xc7f30]
mov ebp, dword [esi + 0xc7f24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4bd023
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
mov ecx, 0xa97f1c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x46a727c3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219