joyce8/EMBER2024-capa huggingface dataset:
Function at 0x543e78
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5440d7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55f46c], 0
je 0x5440b4
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd494
cmp eax, 0x5a0
jne 0x543eda
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd488
cmp eax, 0x384
jne 0x543eda
mov esi, 0x215
mov edi, 0x384
mov ebx, 0x168
jmp 0x543f7d
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd494
cmp eax, 0x500
jne 0x543f11
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd488
cmp eax, 0x400
jne 0x543f11
mov esi, 0x1c5
mov edi, 0x336
mov ebx, 0x1a7
jmp 0x543f7d
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd494
cmp eax, 0x640
jne 0x543f48
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd488
cmp eax, 0x400
jne 0x543f48
mov esi, 0x266
mov edi, 0x3d6
mov ebx, 0x1a7
jmp 0x543f7d
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd494
cmp eax, 0x640
jne 0x543f7d
mov eax, dword [0x559f20]
mov eax, dword [eax]
call fcn.004cd488
cmp eax, 0x4b0
jne 0x543f7d
mov esi, 0x266
mov edi, 0x3d6
mov ebx, 0x1f7
mov eax, dword [0x55976c]
cmp dword [eax], 0
jle 0x5440b4
lea edx, [ebp - 4]
mov eax, dword [0x559e68]
mov eax, dword [eax]
mov eax, dword [eax + 0x3f4]
call fcn.004a0a18
mov eax, dword [ebp - 4]
mov edx, 0x5440f4
call fcn.0040714c
jne 0x543fdb
lea edx, [ebp - 8]
mov eax, dword [0x559e68]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e8]
call fcn.004a0a18
mov eax, dword [ebp - 8]
call fcn.004137e0
dec eax
imul eax, eax, 0x2a
add ebx, eax
push ebx
push esi
call fcn.00544334
jmp 0x544029
lea edx, [ebp - 0xc]
mov eax, dword [0x559e68]
mov eax, dword [eax]
mov eax, dword [eax + 0x3f4]
call fcn.004a0a18
mov eax, dword [ebp - 0xc]
mov edx, 0x544104
call fcn.0040714c
jne 0x544029
lea edx, [ebp - 0x10]
mov eax, dword [0x559e68]
mov eax, dword [eax]
mov eax, dword [eax + 0x3e8]
call fcn.004a0a18
mov eax, dword [ebp - 0x10]
call fcn.004137e0
dec eax
imul eax, eax, 0x2a
add ebx, eax
push ebx
push edi
call fcn.00544334
mov eax, dword [0x55976c]
inc dword [eax]
lea edx, [ebp - 0x14]
mov eax, dword [0x55976c]
mov eax, dword [eax]
call fcn.0041354c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x559e68]
mov eax, dword [eax]
call fcn.004a0a50
mov eax, dword [0x55976c]
cmp dword [eax], 0x19
jle 0x5440b4
mov eax, dword [0x55976c]
mov dword [eax], 1
mov eax, dword [0x559afc]
mov dword [eax], 3
push 0
push 0x543a6c
call sub.user32.dll_EnumWindows
mov eax, dword [0x559e68]
mov eax, dword [eax]
mov eax, dword [eax + 0x460]
mov eax, dword [eax + 0x2a0]
mov edx, 0x544114
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x559e68]
mov eax, dword [eax]
mov eax, dword [eax + 0x460]
mov eax, dword [eax + 0x2a0]
mov edx, 0x54415c
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5440de
lea eax, [ebp - 0x14]
call fcn.00406a54
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406a5c
ret
Function at 0x544190
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0xd
call sub.user32.dll_MapVirtualKeyW
push eax
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_MapVirtualKeyW
push eax
push 0xd
call sub.user32.dll_keybd_event
ret

Function at 0x546b28
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, eax
push esp
push 0x21
mov eax, dword [0x559c18]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.004144c8
add esp, 0x204
pop ebx
ret

Function at 0x546b6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a4c
xor eax, eax
push ebp
push 0x546bd7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.004047dc
mov dword [ebp - 0x1e], 3
mov eax, dword [ebp - 4]
call fcn.00406af0
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x10
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546bde
lea eax, [ebp - 4]
call fcn.00406a54
ret

Function at 0x549100
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x24
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x24
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x24
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x24
call sub.user32.dll_keybd_event
ret

Function at 0x549d34
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x21
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x21
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x21
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x21
call sub.user32.dll_keybd_event
ret
Function at 0x4013d9
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x40e3fc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp byte [edi], 0
jne 0x4013fd
or eax, 0xffffffff
jmp 0x40152f
push esi
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004048d0
lea eax, [ebp - 0x108]
push eax
call fcn.00404820
lea esi, [ebp + eax - 0x109]
add esp, 0xc
cmp byte [esi], 0x5c
jne 0x401429
mov byte [esi], 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401449
test al, 0x10
push 0
pop eax
setne al
dec eax
jmp 0x40152e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x401467
xor eax, eax
inc eax
jmp 0x40152d
push 0
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00404c70
add esp, 0x14
cmp byte [ebp - 0x208], 0
je 0x40152a
lea eax, [ebp - 0x208]
push 0x40a1e0
push eax
call fcn.004049f0
pop ecx
pop ecx
test eax, eax
je 0x40152a
lea eax, [ebp - 0x208]
push 0x40a1dc
push eax
call fcn.004049f0
pop ecx
pop ecx
test eax, eax
je 0x40152a
push 0
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004049c8
lea eax, [ebp - 0x108]
push eax
call fcn.004013d9
add esp, 0x18
mov dword [ebp - 0x210], eax
cmp eax, 1
jl 0x40152a
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004048d0
cmp byte [esi], 0x5c
pop ecx
pop ecx
jne 0x401512
mov byte [esi], 0
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x40152a
mov eax, dword [ebp - 0x210]
inc eax
jmp 0x40152d
or eax, 0xffffffff
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00404810
leave
ret
Function at 0x404810
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e3fc]
jne 0x40481a
repz ret
jmp fcn.00404f85

Function at 0x4081fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40e3fc]
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.0040650f
and dword [ebp - 0x14], 0
cmp dword [0x40fb90], 0
mov dword [ebp - 0x18], eax
jne 0x4082af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408357
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408357
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40fb90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40fb94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40fb98], eax
call edi
push eax
call esi
mov dword [0x40fba0], eax
test eax, eax
je 0x4082af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40fb9c], eax
mov eax, dword [0x40fb9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408308
cmp dword [0x40fba0], ecx
je 0x408308
push eax
call esi
push dword [0x40fba0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408308
test ebx, ebx
je 0x408308
call edi
test eax, eax
je 0x4082ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4082ff
test byte [ebp - 8], 1
jne 0x408308
or dword [ebp + 0x10], 0x200000
jmp 0x40833b
mov eax, dword [0x40fb94]
cmp eax, dword [ebp - 0x18]
je 0x40833b
push eax
call esi
test eax, eax
je 0x40833b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40833b
mov eax, dword [0x40fb98]
cmp eax, dword [ebp - 0x18]
je 0x40833b
push eax
call esi
test eax, eax
je 0x40833b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40fb90]
call esi
test eax, eax
je 0x408357
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408359
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404810
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x728a5651
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x10c64447
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41452d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x41d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x401255
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp + 8], ebx
cmp ebx, 0x7fffffff
ja 0x401267
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401ee0
mov edi, dword [ebp - 0x1c]
xor esi, esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + esi]
not cl
mov byte [ebp + 0xb], cl
cmp eax, edi
je 0x4011ff
mov byte [eax], cl
inc eax
mov dword [ebp - 0x20], eax
jmp 0x401212
lea ecx, [ebp + 0xb]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00401fa0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
inc esi
cmp esi, ebx
jl 0x4011e8
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push 0
push eax
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x401255
sub edi, esi
mov eax, esi
cmp edi, 0x1000
jb 0x40124b
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40126c
push edi
push esi
call fcn.004023b5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401ed0
call fcn.00405b12
int3
Function at 0x402b02
Capabilities:
Parse pe header

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

Function at 0x40b7d4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x41d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40b81f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040b96d
test al, al
jne 0x40b819
sub edx, 2
cmp edx, edi
jne 0x40b7ff
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40b841
lea eax, [edi + 2]
cmp edx, eax
je 0x40b841
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040b720
add esp, 0x10
jmp 0x40b939
push esi
lea ecx, [ebp - 0x255]
call fcn.0040b96d
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b882
push dword [ebp - 0x25c]
jmp 0x40b831
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40b8bf
cmp word [ebp - 0x226], 0
je 0x40b8e0
cmp word [ebp - 0x226], ax
jne 0x40b8bf
cmp word [ebp - 0x224], 0
je 0x40b8e0
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040b720
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40b92c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40b899
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40b914
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40b939
push 0x40b550
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040fd00
add esp, 0x10
jmp 0x40b909
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402254
leave
ret
Function at 0x413e00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x413e2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x413e2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40100b
Capabilities:
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x4010ad
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x40102e
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011b8
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401048
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011b8
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x401134
mov word [ebx], 0x5c
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011b8
mov dword [ebp - 0x108], eax
push 0x401023
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4011ad
push 0x3e8
call eax
test eax, eax
je 0x4011ad
push eax
push 0x40
push 0x3000
push 0x10000
push 0
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
je 0x40119a
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x4010a7]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40108c]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40104d]
push 0x10
push 0x4010a7
push eax
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x546a6c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00546aeb
jae 0x546a78
xor ecx, ecx
call fcn.00546aeb
jae 0x546aa2
xor eax, eax
call fcn.00546aeb
jae 0x546ab3
mov al, 0x10
call fcn.00546aeb
adc al, al
jae 0x546a94
jne 0x546ae0
stosb byte es:[edi], al
jmp 0x546a79
call fcn.00546af7
dec ecx
loop 0x546abf
mov eax, ebp
call fcn.00546af5
jmp 0x546ae1
lodsb al, byte [esi]
shr eax, 1
je 0x546b07
adc ecx, 2
mov ebp, eax
jmp 0x546ae1
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00546af5
cmp eax, 0x7d00
jae 0x546adf
cmp eax, 0x500
jae 0x546ae0
cmp eax, 0x7f
ja 0x546ae1
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x546a79
pop ebp
ret 8

Function at 0x571a6c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00571aeb
jae 0x571a78
xor ecx, ecx
call fcn.00571aeb
jae 0x571aa2
xor eax, eax
call fcn.00571aeb
jae 0x571ab3
mov al, 0x10
call fcn.00571aeb
adc al, al
jae 0x571a94
jne 0x571ae0
stosb byte es:[edi], al
jmp 0x571a79
call fcn.00571af7
dec ecx
loop 0x571abf
mov eax, ebp
call fcn.00571af5
jmp 0x571ae1
lodsb al, byte [esi]
shr eax, 1
je 0x571b07
adc ecx, 2
mov ebp, eax
jmp 0x571ae1
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00571af5
cmp eax, 0x7d00
jae 0x571adf
cmp eax, 0x500
jae 0x571ae0
cmp eax, 0x7f
ja 0x571ae1
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x571a79
pop ebp
ret 8
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xf750b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00f75200
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 0xf750d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf750c2
add dl, dl
jne 0xf750e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf75134
xor eax, eax
add dl, dl
jne 0xf750ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf751d5
add dl, dl
jne 0xf750fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf75108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf75113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf7511e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf7512a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf750cd
mov eax, 1
add dl, dl
jne 0xf75142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf7514d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf75139
sub eax, ebx
mov ebx, 1
jne 0xf75180
mov ecx, 1
add dl, dl
jne 0xf75166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf75171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf7515d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf750cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf75197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf751a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf7518e
cmp eax, 0x7d00
jae 0xf751c5
cmp eax, 0x500
jb 0xf751c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf750cd
cmp eax, 0x7f
ja 0xf751c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf750cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf751f6
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 0xf750cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10