joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4312e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push str.Kernel32.dll
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x4313a1
push 0x11c
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.0043d4f0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.GetProductInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43139a
movzx ecx, word [ebp - 0xa]
lea edx, [ebp - 0x124]
push edx
movzx edx, word [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x11c]
push ecx
push edx
call eax
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
je 0x431398
cmp eax, 0x1b
je 0x431398
cmp eax, 5
je 0x431398
cmp eax, 0x1a
je 0x431398
cmp eax, 0x31
je 0x431398
cmp eax, 0x2f
je 0x431398
cmp eax, 0x1c
jne 0x43139a
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00438876
mov esp, ebp
pop ebp
ret

Function at 0x431460
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsSystemFolderW]
test eax, eax
jne 0x43159b
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x43159b
xor bl, bl
mov eax, str.false
push esi
push eax
push str.System_folder_or_Root_:__s.
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x431529
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x418], 0
setne al
test al, al
je 0x431529
lea edx, [ebp - 0x20c]
push edx
push edi
call fcn.0043a445
add esp, 8
test eax, eax
jne 0x431529
push str.Not_system__Program_Files_x86
push 0x46a9d4
mov bl, 1
call fcn.0042d150
add esp, 8
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.0043a583
add esp, 0xc
push str.Intel
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.0043a445
add esp, 8
pop esi
test eax, eax
jne 0x43158a
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x43158a
push str.Intel_root_found_and_not_empty
push 0x46a9d4
mov bl, 1
call fcn.0042d150
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00438876
mov esp, ebp
pop ebp
ret
mov bl, 1
mov eax, str.true
jmp 0x43149b
Function at 0x4316e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 2
mov edi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x431719
push edi
push esi
mov dword [edi], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x431724
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x431730
lea eax, [edi + 0x24]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043a445
add esp, 8
test eax, eax
je 0x43175f
push edi
push esi
call ebx
test eax, eax
jne 0x431730
mov edi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x431780
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
lea eax, [ebp - 0x238]
call fcn.004316e0
add esp, 4
cmp eax, 2
jne 0x4317d9
push edi
push str.TerminateProcess_failed_to_FindProcess___s_.
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
call fcn.00432bd0
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x431800
push edi
push str.TerminateProcess_failed_to_OpenProcess___s_
jmp 0x4317b1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4317c3
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00438876
mov esp, ebp
pop ebp
ret
Function at 0x431830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x86c
mov eax, dword [0x469744]
xor eax, esp
mov dword [esp + 0x868], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0x6c]
push 0x400
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
call fcn.0043a583
add esp, 0xc
push 0x457440
lea edx, [esp + 0x6c]
push 0x400
push edx
call fcn.0043a5e6
add esp, 0xc
push edi
lea eax, [esp + 0x6c]
push 0x400
push eax
call fcn.0043a5e6
add esp, 0xc
push 0x44
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0043d4f0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x20], 0x44
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp byte [ebp + 8], al
je 0x4318d5
or dword [esp + 0x4c], 1
xor edx, edx
mov word [esp + 0x50], dx
cmp byte [ebp + 0x14], al
je 0x4318ef
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push esi
call fcn.004328d0
add esp, 0x10
movzx eax, al
jmp 0x431914
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43192d
cmp byte [ebp + 0xc], 0
je 0x431937
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x431937
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov ecx, dword [esp + 0x86c]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.00438876
mov esp, ebp
pop ebp
ret

Function at 0x431980
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x28
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x431a1b
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80040002
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x431a12
mov ecx, dword [ebp - 0x18]
push ecx
call edi
push esi
call edi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
push edx
call edi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438876
mov esp, ebp
pop ebp
ret
Function at 0x4324a0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x38]
push ecx
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
mov byte [ebp - 4], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jne 0x43261c
lea edx, [ebp - 0x30]
push edx
mov eax, edi
lea ecx, [ebp - 0x38]
call fcn.0042d620
test eax, eax
jne 0x432541
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x432541
mov eax, dword [ebp - 0x38]
push ebx
push 0x457424
push 1
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x30]
push ecx
mov eax, edi
lea ecx, [ebp - 0x38]
call fcn.0042d620
test eax, eax
je 0x432602
cmp byte [ebp + 8], bl
je 0x43258c
push 1
mov eax, 0x460d24
lea ecx, [ebp - 0x30]
call fcn.00403640
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432570
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x30]
call fcn.00403640
jmp 0x4325ab
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432591
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x30]
call fcn.00406550
cmp dword [ebp - 0x1c], 8
mov edx, dword [ebp - 0x30]
jae 0x4325b7
lea edx, [ebp - 0x30]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4325c0
mov ecx, dword [ebp - 0x38]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 2
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x432602
push ebx
push 0x1388
push 2
push 0x460d28
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x43260b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x432619
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x1c], 8
jb 0x43262e
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
cmp eax, ebx
je 0x43264c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
Function at 0x432bd0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x432c25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken_error:_0x_08X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x432c68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_error:_0x_08X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x432cca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdjustTokenPrivileges_error:_0x_08X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x432d08
push str.The_token_does_not_have_the_specified_privilege.
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00438876
mov esp, ebp
pop ebp
ret
Function at 0x433db0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x433e5f
push 0
push 0
push 0x31
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x433e57
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004386fc
mov esi, eax
add esp, 4
test esi, esi
je 0x433e48
mov eax, dword [ebp + 8]
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433e23
mov ecx, dword [ebp + 0xc]
sub eax, edx
push ecx
sar eax, 1
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
call fcn.0043ad71
add esp, 4
mov edx, dword [ebp - 4]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp + 8]
pop edi
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.00402500
test eax, eax
jne 0x435a68
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x435ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.B32CB6D5_61BD_49c8_AA8A_8B790D3B9008
push 0
push 0
push 0
mov dword [0x46c05c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.00402500
test eax, eax
jne 0x435ac8
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x435b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.B32CB6D5_61BD_49c8_AA8A_8B790D3B9008
push 0
push 0
push 0
mov dword [0x46c05c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438876
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469744]
jne 0x438880
repz ret
jmp fcn.004400e1

Function at 0x44af05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044145b
and dword [ebp - 0x14], 0
cmp dword [0x46be14], 0
mov dword [ebp - 0x18], eax
jne 0x44afb8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44b060
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x456b98
push ebx
call edi
test eax, eax
je 0x44b060
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46be14], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46be18], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46be1c], eax
call edi
push eax
call esi
mov dword [0x46be24], eax
test eax, eax
je 0x44afb8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46be20], eax
mov eax, dword [0x46be20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x44b011
cmp dword [0x46be24], ecx
je 0x44b011
push eax
call esi
push dword [0x46be24]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x44b011
test ebx, ebx
je 0x44b011
call edi
test eax, eax
je 0x44b008
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44b008
test byte [ebp - 8], 1
jne 0x44b011
or dword [ebp + 0x10], 0x200000
jmp 0x44b044
mov eax, dword [0x46be18]
cmp eax, dword [ebp - 0x18]
je 0x44b044
push eax
call esi
test eax, eax
je 0x44b044
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44b044
mov eax, dword [0x46be1c]
cmp eax, dword [ebp - 0x18]
je 0x44b044
push eax
call esi
test eax, eax
je 0x44b044
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46be14]
call esi
test eax, eax
je 0x44b060
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44b062
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438876
leave
ret
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

Function at 0x401eb1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x401eb1
lcall 0x5de5, 0x8b10c483
jmp int.0096a7dc
Function at 0x455e8f
Capabilities:
Encode data using xor

Disassembly:
arpl word [eax - 0x2a], bp
dec ecx
mov edi, 0x849d54d5
jp 0x455ed4
sbb byte [ebx], bl
mov esp, 0x3368f180
jno 0x455f1a
invalid
sub eax, 0xccf8bedb
cmp dword [esi - 0x38], esi
bound ebp, qword [edi + 0x22ad6cbe]
hlt
lds eax, [ebp + 9]
pop eax
mov cl, 0x7f
leave
sbb byte [ebx + ebx*4 + 0x14], al
int3

Function at 0x487640
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
adc ebp, dword [ebp + 0x4a]
imul eax, dword [esi - 0x56fc162c], 0x4a
cwde
stosb byte es:[edi], al
sub eax, 0x813eef92
xchg edi, eax
jmp 0x2f29c18
out dx, al
cdq
dec esp
mov eax, dword [0x6e3ec133]
push eax
lcall 0xcb93, 0xcb991c89
or dl, byte [ebx + 0x71efe895]
sub edx, dword [0x2f9b0a5e]
mov bl, byte [ebx + 0x7423e067]
or byte [ebx + 0x4b8fe58d], 0x8a
out dx, al
sahf
jge 0x4876b3
push esi
mov edx, 0xf9840e55
jecxz 0x4875f9
lcall 0x7c82, 0x15359477
outsb dx, byte [esi]
xchg esp, eax
xor eax, 0x6e7c8215
aad 0x94
xchg ecx, eax
sub dword [ebx + 0x1b1cf48b], ebx
les edx, [edi + edx + 0x36cebc9a]
dec esp
les esp, [esi - 0x58a0b42a]
pop edi
jbe 0x4876a4
or eax, 0x8f18de71
jns 0x487673
jno 0x487677
sbb byte [edi + 0x100ed679], cl
xor byte [eax + 0x3059f1ca], 0x8b
int1
pop ecx
xor byte [ebx + 0x7f712a6c], cl
push cs
adc byte [eax + 0x59f1cab0], al
int1
pop ecx
xor byte [ebx + 0x7f712a6c], cl
mov byte [ecx - 0x42], al
popal
cwde
mov bl, 0x8f
sbb al, byte [ebp - 0x5959f167]
cdq
push cs
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
adc bl, byte [esi + 0xd]
adc ch, dl
pop ds
jle 0x487696
outsd dx, dword [esi]
inc esi
xchg edx, eax
add eax, 0x7b8dac40
imul ebx, dword [ebx], 0x5b8e0dab
xor al, 0x2c
mov al, byte [0x4854e02e]
je 0x4876e6
fild dword [ecx + ebp*2 + 0x5fcd9c3a]
mov dword [ecx - 0x3a], ebp
mov bh, byte [ecx - 0x56]
adc byte [edi - 0x74df8240], cl
sar byte [ebp + 0x20], 0x8b
and eax, dword [eax + ecx*4 + 0xc335200]
dec ax
nop
pop edi
xchg ecx, eax
dec ebp
adc dh, cl
invalid