joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468360
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ca663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004baaf1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004c026a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004c18ff
test eax, eax
je 0x46847c
mov ecx, dword [esp + 0x3c]
call fcn.004c0297
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x468440
push edi
mov ecx, esi
call fcn.004bd854
mov ecx, esi
call fcn.00468620
cmp dword [esp + 0x38], 1
jne 0x468475
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004bd9be
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x46a650
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46a683
push esi
call fcn.0046d7c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46a67c
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 0x46a709
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46a6f2
mov eax, dword [esi + 8]
test eax, eax
je 0x46a6a7
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 0x46a6ee
cmp eax, 2
je 0x46a6f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46a69a
cmp eax, 3
je 0x46a6cd
cmp eax, 1
jne 0x46a69a
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 0x46a69a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46a69a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046a730
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46a718
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046a730
add esp, 4
pop esi
ret
Function at 0x47d470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47d4bc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47d4bc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x47d4a6
push eax
call ebp
test ax, ax
jl 0x47d4b4
inc esi
add edi, 4
cmp esi, 6
jb 0x47d498
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0047d170
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4814a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x481500
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x481500
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x481500
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x481500
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x481510
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4833b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x483453
test eax, eax
jbe 0x483453
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x483453
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4833fe
xor esi, esi
jmp 0x483404
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48342f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00485280
add esi, eax
push esi
mov ebx, esi
call fcn.00485280
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x483410
pop ebp
test edi, edi
pop edi
jne 0x483453
test ebx, ebx
je 0x483453
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004a5740
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x483595
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4836ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4836ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.004baf43
mov esi, eax
test esi, esi
je 0x4836ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4836ad
mov ecx, esi
call fcn.00483500
cmp edi, eax
jge 0x4836ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x483633
mov dword [esp + 0x34], 1
jmp 0x48368e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4836ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00482af0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x48a750
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb04910
push 0x4a662c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a4d00
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48a900
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x48a941
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x48a9ae
cmp dword [esp + 0x1c], 2
jne 0x48a9ae
cmp dword [esp + 0x10], 5
jne 0x48a9ae
cmp dword [esp + 0x14], 1
jne 0x48a9ae
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48a998
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x48a989
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x48a991
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x48a9ae
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret
Function at 0x48ec80
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0x348
push ebx
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
lea eax, [esp + 0xc]
push 7
and esi, 0xffff
push eax
push 0x1004
push esi
call ebx
lea ecx, [esp + 0xc]
push ecx
call fcn.004a4be8
add esp, 4
lea edx, [esp + 0x14c]
mov dword [edi + 4], eax
push 0x104
push edx
push 0x1002
push esi
call ebx
lea eax, [esp + 0x14c]
lea ecx, [edi + 0xc]
push eax
call fcn.004b9680
lea ecx, [esp + 0xc]
push 7
push ecx
push 5
push esi
call ebx
lea edx, [esp + 0xc]
push edx
call fcn.004a4be8
add esp, 4
mov dword [edi + 0x10], eax
lea eax, [esp + 0x3c]
push 0x64
push eax
push 0x1003
push esi
call ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edi + 0x14]
call fcn.004b9680
lea edx, [esp + 0x3c]
push 0x64
push edx
push 0x20
push esi
call ebx
lea eax, [esp + 0x3c]
lea ecx, [edi + 8]
push eax
call fcn.004b9680
lea ecx, [esp + 0x14]
push 7
push ecx
push 0x14
push esi
call ebx
lea edx, [esp + 0x14]
lea ecx, [edi + 0x18]
push edx
call fcn.004b9680
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
lea ecx, [esp + 0x250]
push 0x104
and eax, 0xffff
push ecx
push eax
call sub.VERSION.dll_VerLanguageNameA
cmp eax, 0x104
ja 0x48ed84
lea edx, [esp + 0x250]
lea ecx, [edi + 0x1c]
push edx
call fcn.004b9680
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x48edbf
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x1c]
push ecx
push 0xb2a558
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x20]
push eax
call fcn.004b9680
pop edi
pop esi
pop ebx
add esp, 0x348
ret

Function at 0x490730
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x490796
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x490796
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x490777
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x490b20
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x490b58
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4917e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x491829
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x491ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cbe10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00491850
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004918d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004918d0
lea ecx, [esi + 0xc]
call fcn.004b9482
lea ecx, [esi + 0x10]
call fcn.004b9482
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00492e60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00492e60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00492e60
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b94f7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b94f7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4bb8e7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4bb91f
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.004b999e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b9976
jmp 0x4bb92b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4bcfd8
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 0x4bd01a
call fcn.004c324d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4bd01a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bd011
xor eax, eax
jmp 0x4bd022
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bd028
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c377d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c37ab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c37c9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c36e3
jmp 0x4c37c9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c37c9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c36e3
test edi, edi
mov eax, edi
jne 0x4c37b3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xc0b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc0b1a8
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 0xc0b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0b06a
add dl, dl
jne 0xc0b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0b0dc
xor eax, eax
add dl, dl
jne 0xc0b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0b17d
add dl, dl
jne 0xc0b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc0b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc0b075
mov eax, 1
add dl, dl
jne 0xc0b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0b0e1
sub eax, ebx
mov ebx, 1
jne 0xc0b128
mov ecx, 1
add dl, dl
jne 0xc0b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc0b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0b136
cmp eax, 0x7d00
jae 0xc0b16d
cmp eax, 0x500
jb 0xc0b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0b075
cmp eax, 0x7f
ja 0xc0b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc0b19e
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 0xc0b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x8993f0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00899540
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x899416
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x899402
add dl, dl
jne 0x899421
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x899474
xor eax, eax
add dl, dl
jne 0x89942e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x899515
add dl, dl
jne 0x89943d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x899448
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x899453
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89945e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x89946a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x89940d
mov eax, 1
add dl, dl
jne 0x899482
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89948d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x899479
sub eax, ebx
mov ebx, 1
jne 0x8994c0
mov ecx, 1
add dl, dl
jne 0x8994a6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8994b1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89949d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89940d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8994d7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8994e2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8994ce
cmp eax, 0x7d00
jae 0x899505
cmp eax, 0x500
jb 0x899500
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89940d
cmp eax, 0x7f
ja 0x899508
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89940d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x899536
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 0x89940d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x44a810
Capabilities:
Get common file path

Disassembly:
sub esp, 0x23c
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jbe 0x44a82f
xor eax, eax
mov ecx, dword [esp + 0x240]
lea edx, [esp + eax*2]
push ecx
push str._s.dll
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x23c
ret 4

Function at 0x45f31b
Capabilities:
Encode data using xor

Disassembly:
cmp ch, bl
mov bh, 0x67
and ch, ah
mov esi, 0xf575a242
jne 0x45f312
jne 0x45f312
js 0x45f34d
hlt
cmpsb byte [esi], byte es:[edi]
xchg ebx, eax
mov word [esp - 0x4886a03a], cs
push edi
push esi
in eax, dx
imul ebp, dword [ecx], 0x36
and dword [ebp - 0x46], ebx
fst qword [edx + 0x312fbc9a]
add eax, 0x2d76f3ca
lcall 0xf3ca, 0x5312fbc
jbe 0x45f385
mov al, 0x2d
or dword [esi - 0x5b], eax
mov eax, 0x55282ffb
pop esp
pop ebx
test dword [ecx], ecx
jl 0x45f3db
xlatb
das
jnp 0x45f3a4
aad 2
xor esp, dword [eax + 0x4d51eb3a]
int1
loope 0x45f34f
popal
cmpsb byte [esi], byte es:[edi]
push eax
push ss
cld
salc
jg 0x45f3ed
pop es
mov ch, 0xdf
xchg ebx, eax
jnp 0x45f33b
psubusw mm2, qword [esi + 3]
invalid
les eax, [esp + ebp*2]
insb byte es:[edi], dx
lcall 0x1d1d, 0x782a7eea
push ss
or esp, dword [edi]
xor al, 0xc9
dec eax
loop 0x45f3a2
xor ebx, dword [edi]
into
fidivr dword [edi + 0x7724d466]
dec edx
scasb al, byte es:[edi]
mov ch, 0xf8
mov edx, 0xf3c9cbf2
xchg ecx, eax
lcall 0x5250, 0x68f718b7
cmp bl, byte gs:[edx + 0x4b]
push edx
ret 0x4959
mov ah, 0x68
insd dword es:[edi], dx
adc esi, ebp
xor al, 0x27
xchg dword [ebx + 0x7d2c8386], ecx
pop esi
lodsb al, byte [esi]
mov edx, 0x312a3af3
sub dh, byte [ecx]
jns 0x45f3de
in eax, dx
pop ebx
adc dword [esi - 0x33], 0x1f
mov edi, 0x6380941a
xchg esi, eax
cmp eax, 0x4d987ccc
ja 0x45f3bf
pop ecx
push ecx
invalid

Function at 0x4ee128
Capabilities:
Encode data using xor

Disassembly:
inc ecx
test al, 0x80
pushal
mov ch, 0x46
test al, 0x84
add dl, byte [esi + 0x267d15ae]
pop ss
mov dword [0x112d081f], eax
aam 0x4e
enter 0xffffffffffffa13b, 0xffffffffffffffbf
xor al, 0x8c
in eax, 0x49
pop ds
inc edi
bound ebx, qword [edx - 0x6d]
xor al, 0x52
js 0x4ee191
mov edi, 0x255e23b5
sub eax, 0x30f1cd11
out dx, eax
aaa
aam 0x82
and bh, bl
inc esi
out dx, eax
sub cl, byte [ecx - 0x64bc0796]
push ebx
mov cl, 0x99
xor dl, byte [edx + esi]
clc
iretd
mov eax, edx
test byte [esi + 0x6f], bh
std
mov ch, 0xcd
les edx, [edx + 0x6a]
add eax, dword [esi]
jo 0x4ebda11b
push edi
bound ebp, qword [edi + 0x3b]
sahf
mov edx, 0x885ff653
invalid