joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d3ad
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0x10
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x47d3d8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 1
je 0x47d3dc
test eax, eax
je 0x47d3d8
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x47d438
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x47d3ef
xor esi, esi
jmp 0x47d42f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x47d3eb
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x47d412
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x47d3eb
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push edi
push eax
call fcn.00490dc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 4]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x47dbab
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
push edi
mov esi, ecx
push eax
push 4
push dword [esi + 4]
push 0x47db26
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x47dc0b
mov eax, dword [0x4a9450]
mov esi, str.Cannot_start_AsynBlockClipboardHandler
mov dword [ebp - 4], eax
mov eax, esi
test eax, eax
je 0x47dbec
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00406586
push dword [ebp - 4]
call fcn.0043d497
pop ecx
lea ecx, [ebp - 4]
call fcn.00401085
xor eax, eax
jmp 0x47dc25
push 1
mov ecx, esi
call fcn.0047da68
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x47dfb3
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push edi
mov esi, ecx
push eax
call fcn.0047df61
mov eax, dword [ebp - 4]
pop ecx
cmp dword [eax - 8], 0
jne 0x47dfd3
xor esi, esi
jmp 0x47e050
lea ecx, [esi + 0x4c]
call fcn.00412ebc
mov edi, eax
test edi, edi
je 0x47dfcf
push 0xc
call fcn.00490944
test eax, eax
pop ecx
je 0x47e002
mov ecx, dword [esi + 4]
mov edx, dword [0x4a9450]
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x47e004
xor esi, esi
test esi, esi
je 0x47dfcf
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.004065e8
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x47e096
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x47e03f
mov ecx, esi
call fcn.0047e05e
push esi
call fcn.0048e18e
pop ecx
jmp 0x47dfcf
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop esi
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x47e210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 8
call fcn.00490944
test eax, eax
pop ecx
je 0x47e232
mov ecx, dword [esi + 4]
mov esi, eax
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x47e234
xor esi, esi
test esi, esi
jne 0x47e23c
xor eax, eax
jmp 0x47e269
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x47e26e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x47e25f
push esi
call fcn.0048e18e
pop ecx
jmp 0x47e238
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
leave
ret 4

Function at 0x4803c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4803d2
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x4804b3
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4a384c]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a384c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a384c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a384c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a384c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a384c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a384c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4a384c]
xor eax, esi
inc edx
dec edi
jne 0x4803ef
pop ebx
cmp dword [ebp + 0x10], 0
je 0x4804d4
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4a384c]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x4804b9
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x4804da
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x4a384c]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x4a384c]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x480d2d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x480d61
lea eax, [ebp + 8]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x480d5c
mov byte [esi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x480d89
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x480d72
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00490dc0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
pop edi
div dword [ebp + 0xc]
pop esi
pop ebp
ret

Function at 0x481c18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x481cc5
cmp dword [esi + 4], 0xffffffff
jne 0x481cc5
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00491136
mov ax, word [esi + eax*2 + 0x242]
pop ecx
cmp ax, 0x5c
je 0x481c6d
cmp ax, 0x2f
je 0x481c6d
push 0x4a9890
push edi
call fcn.004909c4
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x481c8f
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x481c8f
mov eax, 0x2000000
jmp 0x481cca
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00480b51
add esp, 0x10
test eax, eax
jne 0x481cad
mov eax, dword [ebp - 4]
jmp 0x481cca
push eax
call fcn.00480fe8
mov dword [esi], eax
pop ecx
neg eax
sbb eax, eax
and ax, 0xfe00
add eax, 0x200
jmp 0x481cca
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x4821cb
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push edi
je 0x4821f2
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4821f2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [ebp + 0xc]
mov cx, word [edi]
test cx, cx
je 0x48229d
mov eax, edi
mov edx, edi
cmp cx, 0x2f
je 0x482211
cmp cx, 0x5c
jne 0x482213
mov eax, edx
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x482205
cmp eax, edi
je 0x482252
sub eax, edi
push esi
sar eax, 1
shl eax, 1
mov esi, eax
lea eax, [ebp - 0x410]
push esi
push edi
push eax
call fcn.00490dc0
and word [ebp + esi - 0x410], 0
lea eax, [ebp - 0x410]
push eax
push ebx
call fcn.004821cb
add esp, 0x14
pop esi
and word [ebp - 0x208], 0
test ebx, ebx
je 0x48226d
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.004909ee
pop ecx
pop ecx
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.004909c4
pop ecx
lea eax, [ebp - 0x208]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48229d
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop ebx
leave
ret
Function at 0x482b7e
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.0048281b
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x482ba0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x482baf
mov ecx, dword [ebp + 8]
push 0x4bf5f0
call fcn.004064a9
jmp 0x482bd6
push eax
lea eax, [ebp - 4]
push eax
call fcn.00482bdc
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop esi
leave
ret

Function at 0x48451a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
call fcn.0048456c
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x484532
xor eax, eax
jmp 0x484569
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x48430b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x484566
lea ecx, [esi + 0x10]
call fcn.00401085
push esi
call fcn.0048e18e
mov dword [esp], str.Cannot_start_thread_for_waiting_of_query_CWaitQuery::StartWaitThread
call fcn.0043d497
pop ecx
jmp 0x48452e
push 1
pop eax
pop esi
pop ebp
ret
Function at 0x4848cc
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x48490c
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push 0
mov byte [edi], al
mov ecx, edi
call fcn.00407805
mov esi, 0x4bf5f0
push esi
call fcn.00491136
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00410b0a
jmp 0x484a0d
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x484924
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push ebx
mov byte [edi], al
jmp 0x4848eb
lea ecx, [ebp - 4]
call fcn.00411e0f
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebx
jne 0x484964
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.00407805
mov esi, 0x4bf5f0
push esi
call fcn.00491136
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00410b0a
jmp 0x484a05
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x14], al
call fcn.00409ac9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
je 0x4849d1
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x4849ca
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00409ac9
push esi
call fcn.004916e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00409b5b
push dword [0x4a17b8]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ebx
push eax
call fcn.004099fb
push 1
lea ecx, [ebp - 0x24]
call fcn.00409ac9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0xc], ebx
jne 0x484a11
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.00407805
mov esi, 0x4bf5f0
push esi
call fcn.00491136
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00410b0a
push 1
lea ecx, [ebp - 0x14]
call fcn.00409ac9
lea ecx, [ebp - 4]
call fcn.00411e15
mov eax, edi
jmp 0x484a69
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x484a1d
mov eax, 0x4a17b4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004889f0
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x34]
pop ecx
pop ecx
mov byte [esi], al
push ebx
mov ecx, esi
call fcn.00407805
push dword [0x4a18ac]
lea eax, [ebp - 0x34]
mov ecx, esi
push ebx
push eax
call fcn.004199af
push 1
lea ecx, [ebp - 0x34]
call fcn.00407805
push 1
lea ecx, [ebp - 0x14]
call fcn.00409ac9
lea ecx, [ebp - 4]
call fcn.00411e15
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x484a6e
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x484a8f
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push 0
mov byte [edi], al
jmp 0x484aa5
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x484ac6
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push esi
mov byte [edi], al
mov ecx, edi
call fcn.00407805
mov esi, 0x4bf5f0
push esi
call fcn.00491136
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00410b0a
jmp 0x484b9a
lea ecx, [ebp - 4]
call fcn.00411e0f
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
cmp ebx, esi
jne 0x484b06
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push esi
mov ecx, edi
mov byte [edi], al
call fcn.00407805
mov esi, 0x4bf5f0
push esi
call fcn.00491136
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00410b0a
jmp 0x484b92
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x14], al
call fcn.00407805
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, esi
je 0x484b66
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00407805
push edi
call fcn.00491136
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00410b0a
push dword [0x4a18ac]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push esi
push eax
call fcn.004199af
push 1
lea ecx, [ebp - 0x24]
call fcn.00407805
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x14]
push esi
mov ecx, edi
mov byte [edi], al
call fcn.00407805
push dword [0x4a18ac]
lea eax, [ebp - 0x14]
mov ecx, edi
push esi
push eax
call fcn.004199af
push 1
lea ecx, [ebp - 0x14]
call fcn.00407805
lea ecx, [ebp - 4]
call fcn.00411e15
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x484d56
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea ecx, [ebp - 0x24]
call fcn.004191b0
call fcn.0040d1bf
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x484d8b
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 4]
call fcn.00411e0f
lea ecx, [ebp - 4]
call fcn.00411e15
push esi
call fcn.0048483d
push dword [ebp + 0xc]
call fcn.00484849
mov dword [esp], 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.0048485d
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x14]
pop ecx
pop ecx
mov byte [esi], al
push 0
mov ecx, esi
call fcn.00407805
push dword [0x4a18ac]
lea eax, [ebp - 0x14]
mov ecx, esi
push 0
push eax
call fcn.004199af
push 1
lea ecx, [ebp - 0x14]
call fcn.00407805
lea ecx, [ebp - 0x24]
call fcn.004191ff
mov eax, esi
pop esi
leave
ret
Function at 0x485a22
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x485a67
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
call fcn.00485ba0
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x485a6e
push esi
call dword [sym.imp.GDI32.dll_GetObjectType]
test eax, eax
je 0x485a67
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x485b9c
push edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x22e]
mov word [ebp - 0x230], bx
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xd
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x18]
push eax
push esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebp + 0x10], ebx
je 0x485b24
push dword [ebp + 0x10]
call fcn.00430fb4
pop ecx
mov edi, edx
mov ecx, eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 3
push ebx
push ebx
cdq
sub eax, edx
push edi
mov edx, eax
push ecx
push dword [ebp + 0x10]
mov eax, edi
sar edx, 1
mov dword [ebp + 0x10], edx
cdq
sub eax, edx
mov edx, dword [ebp + 0x10]
sar eax, 1
sub edx, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push edx
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [ebp + 0xc], ebx
jbe 0x485b7c
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push esi
call edi
push 0xe
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 1
call fcn.0042049a
lea eax, [ebp - 0x10]
add dword [ebp - 0x10], 0x14
add dword [ebp - 0xc], 0x14
push 0x8000
push eax
lea eax, [ebp - 0x230]
push dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [ebp - 0x24]
call fcn.00420174
push ebx
push esi
call edi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_GetObjectType]
test eax, eax
pop edi
je 0x485b99
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
leave
ret

Function at 0x4874cb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x487513
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x487513
push dword [esi + 0xc]
call fcn.0043fc83
pop ecx
push 0
push 0
push 0x41c
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0xc], 0
pop esi
ret
Function at 0x487cbb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00487d44
pop ecx
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x487cf9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x487cf9
lea edi, [eax + 2]
lea ebx, [edi + edi]
push ebx
call fcn.00490944
mov esi, eax
pop ecx
test esi, esi
jne 0x487cfd
xor eax, eax
jmp 0x487d3f
push ebx
push 0
push esi
call fcn.00491510
add esp, 0xc
push esi
push edi
push 0xd
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and word [esi + eax*2], 0
push esi
lea ecx, [ebp + 8]
call fcn.004064a9
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004065e8
lea ecx, [ebp + 8]
call fcn.00401085
push esi
call fcn.0048e18e
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4885ca
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
push esi
xor esi, esi
push dword [ebp + 0xc]
push esi
push 0x80000000
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x4885fe
push str.cannot_open_file
call fcn.0043d98d
pop ecx
xor eax, eax
jmp 0x4886e8
push ebx
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
cmp ebx, esi
jne 0x488621
push str.cannot_MapViewOfFile
call fcn.0043d98d
pop ecx
jmp 0x4886dc
push edi
push ebx
call fcn.004916e0
pop ecx
mov edx, eax
mov ecx, 0x1f3
xor eax, eax
lea edi, [ebp - 0x7de]
mov word [ebp - 0x7e0], si
rep stosd dword es:[edi], eax
mov esi, 0x64000
stosw word es:[edi], ax
push esi
push edx
lea eax, [ebp - 0x7e0]
push str.Read_A_from_buffer__filelen_d_max_len_d
push eax
call fcn.00491d48
lea eax, [ebp - 0x7e0]
push eax
call fcn.0043d98d
add esp, 0x14
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
mov edi, eax
test edi, edi
jne 0x4886cb
mov esi, 0x4bf60c
push esi
call fcn.004916e0
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.00409b5b
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x10], al
call fcn.00409ac9
push ebx
call fcn.004916e0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00409b5b
push dword [0x4a17b8]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004099fb
push 1
lea ecx, [ebp - 0x10]
call fcn.00409ac9
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
test edi, edi
sete al
mov esi, eax
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop esi
leave
ret
Function at 0x48b40b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 1
xor edi, edi
pop eax
cmp ebx, eax
jl 0x48b420
cmp ebx, 8
jle 0x48b422
xor eax, eax
mov esi, dword [esp + 0x10]
push str.bad_pack_level
push eax
push esi
call fcn.00489f96
lea ecx, [esi + 0x6af70]
lea eax, [esi + 0x6af78]
add esp, 0xc
cmp dword [ecx], edi
mov dword [eax], edi
jne 0x48b453
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00491510
mov eax, ebx
add esp, 0xc
shl eax, 3
cmp ebx, 2
movzx ecx, word [eax + 0x4a3dfa]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x4a3df8]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x4a3dfc]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x4a3dfe]
mov dword [esi + 0x6af94], eax
jg 0x48b4b5
mov eax, dword [esp + 0x18]
or byte [eax], 4
jmp 0x48b4c1
cmp ebx, 8
jl 0x48b4c1
mov eax, dword [esp + 0x18]
or byte [eax], 2
lea ebx, [esi + 0x1af70]
push 0x10000
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x6af90], eax
je 0x48b531
cmp eax, 0xffffffff
je 0x48b531
cmp eax, 0x106
mov dword [esi + 0x6af8c], edi
jae 0x48b503
push esi
call fcn.0048b708
pop ecx
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
and eax, 0x7fff
and ecx, 0x3ff
shl ecx, 5
xor eax, ecx
inc edi
cmp edi, 2
mov dword [esi + 0x6af7c], eax
jb 0x48b509
jmp 0x48b541
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret