joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7ca50e07
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x1aac369e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

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

Disassembly:
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436004]
jne 0x401065
repz ret
jmp fcn.00401708

Function at 0x406f5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436004]
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.00404664
and dword [ebp - 0x14], 0
cmp dword [0x43894c], 0
mov dword [ebp - 0x18], eax
jne 0x40700d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4070b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4070b5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43894c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x438950], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x438954], eax
call edi
push eax
call esi
mov dword [0x43895c], eax
test eax, eax
je 0x40700d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x438958], eax
mov eax, dword [0x438958]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407066
cmp dword [0x43895c], ecx
je 0x407066
push eax
call esi
push dword [0x43895c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407066
test ebx, ebx
je 0x407066
call edi
test eax, eax
je 0x40705d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40705d
test byte [ebp - 8], 1
jne 0x407066
or dword [ebp + 0x10], 0x200000
jmp 0x407099
mov eax, dword [0x438950]
cmp eax, dword [ebp - 0x18]
je 0x407099
push eax
call esi
test eax, eax
je 0x407099
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407099
mov eax, dword [0x438954]
cmp eax, dword [ebp - 0x18]
je 0x407099
push eax
call esi
test eax, eax
je 0x407099
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43894c]
call esi
test eax, eax
je 0x4070b5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4070b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x409cc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x409d6f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push edi
mov edi, dword [esp + 0x18]
cmp eax, 0x2d
jne 0x409d01
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x2b5cb48]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov dword [0x2b5cb48], ecx
mov dl, byte [0x2b5cb4a]
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], dl
cmp eax, 0xf
jne 0x409d63
push 0
push 0
push 0
call ebx
push 0x435248
call ebp
push str.rotumigapuliji
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push edi
push str.tejuwitemufo
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x409ce2
pop edi
pop ebp
pop ebx
pop esi
cmp eax, 0x2d
jne 0x409d89
mov dword [0x2b5ce30], 0xa62e7790
mov dword [0x2b5ce34], 0xffffffff
ret

Function at 0x409d90
Capabilities:
Set console window title

Disassembly:
sub esp, 0xc0c
mov eax, dword [0x436004]
xor eax, esp
mov dword [esp + 0xc08], eax
mov eax, dword [0x2b5ce24]
push ebx
mov ebx, dword [0x2b5cb4c]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x409ddc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x2b5ce24]
push esi
mov esi, dword [0x436ed0]
cmp eax, 0x930
jne 0x409df7
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b5ce24]
mov dword [0x2b5cb48], esi
pop esi
cmp eax, 0x114e
jne 0x409e20
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2b5ce24]
cmp eax, 0x2f
jne 0x409e52
push 0
lea eax, [esp + 0x414]
push eax
push 0
push str.Giy_zusud_huhapilovaf_sarusamuyul
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push 0
lea ecx, [esp + 0x14]
push ecx
push str.Sugivoyayuj_yiwicohawufufa_xalumapacib_musihobifuv_juj
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push edi
push ebx
call fcn.00409cc0
mov ecx, dword [esp + 0xc18]
add esp, 8
pop edi
pop ebx
xor ecx, esp
call fcn.0040105b
add esp, 0xc0c
ret
Function at 0x401460
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x244
lea edx, [ebp - 0x238]
mov eax, 0
mov ecx, 0x4a
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x238], 0x128
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4014b2
mov eax, 0xffffffff
jmp 0x40158b
lea eax, [ebp - 0x238]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._Process32First_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x4014dd
mov eax, 0xffffffff
jmp 0x40158b
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x238]
add eax, 0x24
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sym._strncpy
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x401521
mov eax, dword [ebp - 0x230]
jmp 0x40158b
lea eax, [ebp - 0x238]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._Process32Next_8
sub esp, 8
test eax, eax
setne al
test al, al
je 0x401586
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x238]
add eax, 0x24
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sym._strncpy
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x401521
mov eax, dword [ebp - 0x230]
jmp 0x40158b
mov eax, 0xffffffff
mov edi, dword [ebp - 4]
leave
ret
Function at 0x4021d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x40221b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402214
test esi, esi
je 0x402214
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4021f0
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402400
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402450
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402528
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40248e
cmp eax, 4
jne 0x4024b0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40249e
cmp edx, 4
je 0x40249e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402400
Function at 0x1001aeee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1001aefd
pop dword [ebp - 0x4c]
mov eax, 0x731c0d3d
add eax, 0x9ce5a1c0
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x232a8e3c
sub dword [ebp - 0x5c], 0xd4d848f1
mov dword [ebp - 0x58], 0x63163243
sub dword [ebp - 0x58], 0x30e2e5fe
mov dword [ebp - 0x54], 0x6bd07053
add dword [ebp - 0x54], 0xe07bd3db
mov dword [ebp - 0x50], 0x57b1677b
add dword [ebp - 0x50], 0xa84e9885
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xb1009696
add eax, 0x5f0129ea
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x77e02433
add dword [ebp - 0x5c], 0xfc924523
mov dword [ebp - 0x58], 0x4140a2ab
sub dword [ebp - 0x58], 0xffd44136
mov dword [ebp - 0x54], 0x1476e9e1
sub dword [ebp - 0x54], 0xb1077d75
mov dword [ebp - 0x50], 0xf03275e6
add dword [ebp - 0x50], 0xfcd8a1a
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xbbf9c42c
add eax, 0x5407fbd4
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x37b6a
push 0
call eax
mov ecx, 0xa96afa16
add ecx, 0x56954f0d
mov edx, eax
mov esi, 0x1fb65e6f
sub esi, 0xfb3f66f
add esi, dword [ebp - 0x4c]
mov ebx, 0x1a82c08f
add ebx, 0x48fa6e6e
xor dword [ebp - 0x24], ecx
mov edi, dword [esi]
xor dword [ebp - 0x2c], edi
xor edi, ebx
sub dword [ebp - 0x18], 0xa2cf33f4
mov dword [edx], edi
xor dword [ebp - 0x2c], edx
add edx, 0x14f682f8
sub edx, 0x14f682f4
add esi, 4
loop 0x1001b01f
add eax, 0xf3f80ccf
add eax, 0xc090a90
xor ebx, ebx
add ebx, eax
add eax, 0xfb812c1d
sub eax, 0xfb812c18
mov ecx, 0x48d64f3c
add ecx, 0xc729b0c4
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10004830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004839
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004859
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055a9
pop esi
pop ebp
ret 8

Function at 0x100055c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055c9
pop esi
pop ebp
ret 4

Function at 0x100055e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055e9
pop esi
pop ebp
ret 8

Function at 0x100186b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1018092c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101837c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018788
push esi
push 0x55
pop esi
push esi
push 0x101837d0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018772
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a9420
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x101837d0], 0x5f
mov cl, 0x2d
je 0x10018712
mov cl, byte [eax*2 + 0x101837d0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001871f
inc eax
cmp eax, esi
jl 0x100186fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call fcn.10031017
mov esi, eax
pop ecx
test esi, esi
je 0x10018772
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10031017
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001876b
push 0x10017f70
push 0x17
mov byte [eax + esi], bl
mov dword [0x101837c8], esi
mov byte [0x101837cc], 1
call fcn.10031017
pop ecx
jmp 0x10018771
push esi
call fcn.10031017
pop ecx
mov ecx, dword [0x101837c8]
mov eax, 0x100fef10
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x101837c8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10084499
leave
ret
Function at 0x8af058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8af1a8
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 0x8af07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8af06a
add dl, dl
jne 0x8af089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8af0dc
xor eax, eax
add dl, dl
jne 0x8af096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8af17d
add dl, dl
jne 0x8af0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8af0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8af075
mov eax, 1
add dl, dl
jne 0x8af0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8af0e1
sub eax, ebx
mov ebx, 1
jne 0x8af128
mov ecx, 1
add dl, dl
jne 0x8af10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8af119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8af105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8af075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8af13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8af14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8af136
cmp eax, 0x7d00
jae 0x8af16d
cmp eax, 0x500
jb 0x8af168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8af075
cmp eax, 0x7f
ja 0x8af170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8af075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8af19e
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 0x8af075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000ba2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000ba39
pop dword [ebp - 0x24]
mov eax, 0x28761d80
sub eax, 0x18756347
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf5328346
add dword [ebp - 0x34], 0x591fc205
mov dword [ebp - 0x30], 0xffcba3ed
add dword [ebp - 0x30], 0x3267a858
mov dword [ebp - 0x2c], 0xf3a2949d
add dword [ebp - 0x2c], 0x58a9af91
mov dword [ebp - 0x28], 0x55db4f52
add dword [ebp - 0x28], 0xaa24b0ae
lea eax, [ebp - 0x34]
push eax
mov eax, 0xa9013c3f
add eax, 0x67011445
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xcda1a858
sub dword [ebp - 0x34], 0x592f3f02
mov dword [ebp - 0x30], 0xc3ef4a09
sub dword [ebp - 0x30], 0x8282e894
mov dword [ebp - 0x2c], 0xe2cdd258
sub dword [ebp - 0x2c], 0x7f5e65ec
mov dword [ebp - 0x28], 0xd95c15bc
add dword [ebp - 0x28], 0x26a3ea44
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xdebaff85
sub eax, 0xceb8af09
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3d1cf
push 0
call eax
mov ecx, 0xb12b569c
sub ecx, 0xb12b08da
mov edx, eax
mov edi, 0x10030c00
add edi, dword [ebp - 0x24]
mov esi, 0x42670682
add esi, 0xd78ec863
xor dword [ebp - 0x1c], 0xe6de1d2c
mov ebx, dword [edi]
sub dword [ebp - 0x10], 0x713705bc
sub ebx, esi
xor dword [ebp - 0x18], 0xd93e5073
mov dword [edx], ebx
xor dword [ebp - 0x18], edx
add edx, 4
add edi, 4
loop 0x1000bb55
add eax, 0x491d5a1f
sub eax, 0x491c3044
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x1001c6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c73b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c6f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c6f2
cmp esi, ebx
jge 0x1001c6f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c74d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc