joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100569e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10056a13
push esi
call fcn.10059ad0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10056a0c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10056a99
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10056a82
mov eax, dword [esi + 8]
test eax, eax
je 0x10056a37
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10056a7e
cmp eax, 2
je 0x10056a82
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10056a2a
cmp eax, 3
je 0x10056a5d
cmp eax, 1
jne 0x10056a2a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10056a2a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10056a2a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10056ac0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10056aa8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10056ac0
add esp, 4
pop esi
ret
Function at 0x1006aab0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.10070ec0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x1006aba9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.10021cb0
test eax, eax
jne 0x1006aba9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.10021cb0
test eax, eax
jne 0x1006aba9
lea edx, [esp + 0x10]
push 0x10138770
push edx
call fcn.1007fb60
mov esi, eax
add esp, 8
test esi, esi
jne 0x1006ab7a
lea eax, [esp + 0x10]
push 0x1013876c
push eax
call fcn.1007fb60
mov esi, eax
add esp, 8
test esi, esi
jne 0x1006ab7a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x1006ab7d
mov byte [esi], 0
push 0x10137f34
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x10070e00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1009dcc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x10070eb0
mov eax, dword [0x1013948c]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.1008f294
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.1008f2e3
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.1008f240
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10070e97
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x10070e97
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.1008eeb0
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10073fb0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1009e150
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x10074157
mov ecx, dword [0x1013948c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x100740ac
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.10072cd0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.1008ef9d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.1008eeb0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x10137f34
call fcn.1008ef1e
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.10073090
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.1008ef9d
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.1008eeb0
lea ecx, [esp + 0xc]
call fcn.1008f378
mov ecx, dword [esp + 0xc]
push 0x10138974
push ecx
call fcn.1007eae4
add esp, 8
test eax, eax
je 0x100740d4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x1007400d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.1008eeb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.1008eeb0
jmp 0x1007415b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.10073d50
test eax, eax
push 0
je 0x1007413f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.100723f0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10074125
cmp eax, 0x64
jg 0x10074113
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100740b0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100740b0
cmp eax, 0x64
jge 0x100740ac
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100740b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.100723f0
mov esi, eax
jmp 0x100740b0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x10074165
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x10091291
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100912c9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1008f30b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1008f2e3
jmp 0x100912d5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10092982
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100929c4
call fcn.10098824
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100929c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100929bb
xor eax, eax
jmp 0x100929cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100929d2
pop edi
pop esi
pop ebx
ret 4
Function at 0x405c90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x405cce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405cc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405cd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405cb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x405da0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x405dd1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405dd1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x405dd1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x401000
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x30b
lea eax, [ebp - 0x517]
push 0
push eax
mov byte [ebp - 0x518], 0
call fcn.00404d90
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.00404d90
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov byte [ebp - 0x20c], 0
call fcn.00404d90
add esp, 0x24
call fcn.00401330
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40aa00
mov edi, eax
call ebx
call fcn.00401400
mov esi, eax
test esi, esi
jne 0x4010a0
push str.Get_Taskmgr_Pid_Failed__n
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040151c
mov esp, ebp
pop ebp
ret
push 0x30c
lea eax, [ebp - 0x518]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x518]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x518]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsRootA]
push str.InjectEng.exe
cmp eax, 1
jne 0x401139
lea eax, [ebp - 0x518]
push eax
push 0x40aa2c
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0040152b
push str.Hook.dll
lea edx, [ebp - 0x518]
push edx
push 0x40aa2c
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0040152b
push esi
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push edx
push str._s__s__d
push 0x30c
lea eax, [ebp - 0x518]
push eax
jmp 0x401198
lea ecx, [ebp - 0x518]
push ecx
push str._s_s
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0040152b
push str.Hook.dll
lea eax, [ebp - 0x518]
push eax
push str._s_s
lea ecx, [ebp - 0x108]
push 0x104
push ecx
call fcn.0040152b
push esi
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push eax
push str._s__s__d
push 0x30c
lea ecx, [ebp - 0x518]
push ecx
call fcn.0040152b
add esp, 0x40
test edi, edi
je 0x40122e
cmp edi, 2
jbe 0x4011d9
cmp edi, 3
jne 0x40122e
lea edx, [ebp - 0x20c]
push edx
mov eax, 0x40aa48
lea ecx, [edi + 0x64]
call fcn.00401270
add esp, 4
test eax, eax
je 0x401213
lea eax, [ebp - 0x108]
push eax
lea ecx, [edi + 0x65]
jmp 0x401202
lea ecx, [ebp - 0x20c]
push ecx
mov eax, 0x40aa48
mov ecx, 0x65
call fcn.00401270
add esp, 4
test eax, eax
je 0x401213
lea edx, [ebp - 0x108]
push edx
mov ecx, 0x66
mov eax, 0x40aa4c
call fcn.00401270
add esp, 4
test eax, eax
jne 0x40122e
push str.some_error_occurred_n
call ebx
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040151c
mov esp, ebp
pop ebp
ret
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40aa68
call ebx
push 0
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040151c
mov esp, ebp
pop ebp
ret
Function at 0x401270
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
movzx ecx, cx
push eax
xor edi, edi
push ecx
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
je 0x401319
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x401319
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x401321
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401308
mov edx, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 4
push 0x10000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401308
mov ecx, dword [ebp - 0xc]
push 0
lea eax, [ebp - 8]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401301
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401330
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.00404d90
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4013e4
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x401397
mov esi, 1
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040151c
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x4013e4
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x11c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40da3c], eax
cmp eax, esi
je 0x4013d6
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x40da3c]
xor eax, eax
cmp dword [ebp - 0x11c], esi
setne al
lea esi, [eax + 2]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040151c
mov esp, ebp
pop ebp
ret
Function at 0x401400
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x40ae08
push 0x403b60
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x40c004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x248], ebx
push 0x228
push ebx
lea eax, [ebp - 0x244]
push eax
call fcn.00404d90
add esp, 0xc
mov dword [ebp - 4], ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x24c], esi
cmp esi, ebx
je 0x4014d4
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x4014a0
push str.taskmgr.exe
lea edx, [ebp - 0x224]
push edx
call fcn.004016d3
add esp, 8
test eax, eax
jne 0x4014c6
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x250], eax
jmp 0x4014d4
lea ecx, [ebp - 0x248]
push ecx
push esi
call edi
test eax, eax
jne 0x4014a0
mov dword [ebp - 4], 0xfffffffe
call fcn.0040150a
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040151c
mov esp, ebp
pop ebp
ret

Function at 0x40151c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c004]
jne 0x401526
repz ret
jmp fcn.004018f2
Function at 0x406f7f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c004]
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.004028df
and dword [ebp - 0x14], 0
cmp dword [0x40da1c], 0
mov dword [ebp - 0x18], eax
jne 0x407032
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4070da
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4070da
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40da1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40da20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40da24], eax
call edi
push eax
call esi
mov dword [0x40da2c], eax
test eax, eax
je 0x407032
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40da28], eax
mov eax, dword [0x40da28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40708b
cmp dword [0x40da2c], ecx
je 0x40708b
push eax
call esi
push dword [0x40da2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40708b
test ebx, ebx
je 0x40708b
call edi
test eax, eax
je 0x407082
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407082
test byte [ebp - 8], 1
jne 0x40708b
or dword [ebp + 0x10], 0x200000
jmp 0x4070be
mov eax, dword [0x40da20]
cmp eax, dword [ebp - 0x18]
je 0x4070be
push eax
call esi
test eax, eax
je 0x4070be
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4070be
mov eax, dword [0x40da24]
cmp eax, dword [ebp - 0x18]
je 0x4070be
push eax
call esi
test eax, eax
je 0x4070be
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40da1c]
call esi
test eax, eax
je 0x4070da
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4070dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040151c
leave
ret
Function at 0x95d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0095d1a8
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 0x95d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95d06a
add dl, dl
jne 0x95d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95d0dc
xor eax, eax
add dl, dl
jne 0x95d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95d17d
add dl, dl
jne 0x95d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x95d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x95d075
mov eax, 1
add dl, dl
jne 0x95d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x95d0e1
sub eax, ebx
mov ebx, 1
jne 0x95d128
mov ecx, 1
add dl, dl
jne 0x95d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x95d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x95d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x95d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x95d136
cmp eax, 0x7d00
jae 0x95d16d
cmp eax, 0x500
jb 0x95d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x95d075
cmp eax, 0x7f
ja 0x95d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x95d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x95d19e
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 0x95d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100efaa9
Capabilities:
Encode data using xor

Disassembly:
sbb di, 0xef64
movsx di, dl
mov dword [ebp - 4], ecx
lea esp, [esp + 8]
push eax
pushfd
shrd cx, si, cl
mov ecx, dword [ebp - 8]
bswap esi
mov esi, 0xca37128d
add ecx, dword [ebp - 4]
xadd di, si
pop edi
shr ecx, 1
movsx edi, cl
mov edi, dword [ebx + ecx*4]
jmp 0x101d0515

Function at 0x101d7a28
Capabilities:
Encode data using xor

Disassembly:
call fcn.101050bc
adc dword [ebx + 0x1198b241], ecx
loope 0x101d7a90
add ebx, dword [0xa87b21a2]
mov ax, word [0x6bdde822]
ror dh, 1
mov dword [0xb11c3e71], eax
dec ecx
lea esp, [ecx]
mov esi, dword [ecx]
mul dl
and al, 0x1a
mov dword [0xa59cae59], eax
add eax, 0xa53a96df
mov ch, 0x9e
xchg edx, eax
sbb byte [ecx - 0x4547879d], dl
inc eax
mov bl, 0x56
leave
wait
push edx
fisub word [ebp + eax - 0x75]
lodsb al, byte [esi]
jo 0x101d7a99
das
in eax, dx
mov ah, 0x6a
jae 0x101d7abc
loope 0x101d7aa9
arpl word [esi - 0x55], cx
and edx, ebx
inc eax
je 0x101d7a94
sub eax, esp
aam 0x6b
mov ebp, 0xb12998fa
mov ebp, 0x686eeba
xchg byte [esi], al
pop edx
add esi, ebp
out dx, al
xor esi, dword [edx]
dec edi
pop edi
call dword [ebx + 0x79f7d45e]
mov word [eax], es
ret 0xb969
push ecx
das
lodsb al, byte [esi]
inc esi
fstp dword [edi + 0x68]
pop eax
and al, 0xe1
sub ah, dh
push si
out 0x66, al
push esi
in al, dx
cmp eax, 0x44cb052d
inc esp
out 0x75, al
add esp, dword [esp + esi - 0x50]
pop eax
lodsb al, byte [esi]
movsb byte es:[edi], byte [esi]
adc dh, bl
dec ebx
add esp, dword [edi + 0x41]
push esi
push esi
xor cl, byte [esi - 0x2e]
jbe 0x101d7ab4
invalid