joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4414b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
cmp dword [0x47101c], 0
jne 0x44161f
push ebx
push esi
push edi
push 0xa
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [0x47101c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [0x47101c]
mov ebx, eax
test edi, edi
je 0x441560
cmp ebx, 2
jbe 0x441560
push 0x4e018
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 4
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x44153b
lea eax, [esp + 0x10]
mov byte [edi], 0x50
push eax
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x806
push ebx
push edi
push esi
mov dword [esi + 0x50], 6
call fcn.004322f0
add esp, 0x10
test eax, eax
jne 0x441573
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
mov dword [0x470ffc], 0
xor eax, eax
pop ebx
add esp, 8
ret
mov dword [0x470ffc], esi
test esi, esi
je 0x441560
mov ebx, dword [esp + 0x18]
push str.package
push ebx
call sym.wluart_static.exe_lua_getglobal
push str.searchers
push 0xffffffffffffffff
push ebx
call sym.wluart_static.exe_lua_getfield
push 0xffffffffffffffff
push ebx
call sym.wluart_static.exe_luaL_len
push 0xfffffffffffffffe
push ebx
mov edi, eax
mov esi, edx
call sym.wluart_static.exe_lua_pushvalue
push 1
push 0x441920
push ebx
call sym.wluart_static.exe_lua_pushcclosure
add edi, 1
adc esi, 0
push esi
push edi
push 0xfffffffffffffffe
push ebx
call sym.wluart_static.exe_lua_rawseti
add esp, 0x40
push 0xfffffffffffffffe
push ebx
call sym.wluart_static.exe_lua_pushvalue
push 1
push 0x4416e0
push ebx
call sym.wluart_static.exe_lua_pushcclosure
add edi, 1
adc esi, 0
push esi
push edi
push 0xfffffffffffffffe
push ebx
call sym.wluart_static.exe_lua_rawseti
push 0xfffffffffffffffd
push ebx
call sym.wluart_static.exe_lua_settop
add esp, 0x2c
push 0x1000
call dword [sym.imp.KERNEL32.dll_SetDefaultDllDirectories]
push 0x4716e0
call dword [sym.imp.KERNEL32.dll_AddDllDirectory]
mov eax, dword [0x470ffc]
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [0x470ffc]
add esp, 8
ret
Function at 0x4439c0
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
sub esp, 0x4c
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
push ebx
push esi
push edi
mov edi, dword [esp + 0x60]
xor esi, esi
push esi
mov dword [esp + 0x18], edi
push eax
mov edi, dword [edi + 0x74]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
call dword [0x46a5b0]
mov eax, dword [esp + 0x70]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x443b54
push ebp
mov esi, eax
mov eax, dword [edi + 0x10]
sub esi, ebx
cmp dword [edi + 0x18], esi
cmovb esi, dword [edi + 0x18]
add eax, dword [edi + 0x14]
add eax, esi
push eax
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x443b32
mov eax, dword [esp + 0x14]
add eax, ebx
push esi
push eax
mov eax, dword [edi + 0x10]
add eax, ebp
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], 7
lea ecx, [eax + ebp]
mov dword [esp + 0x30], ebp
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
lea eax, [ecx + esi]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 0x74]
push 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], 6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], 0
push dword [eax + 0xc]
call sub.Secur32.dll_EncryptMessage
test eax, eax
js 0x443b15
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x28]
push 0
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x443b1c
mov esi, dword [esp + 0x10]
add esi, eax
push ebp
mov dword [esp + 0x14], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebx, dword [edi + 0x18]
add esp, 4
mov eax, dword [esp + 0x6c]
cmp ebx, eax
jb 0x443a08
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0045f421
add esp, 0x4c
ret
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0045f421
add esp, 0x4c
ret
push 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0045f421
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045f421
add esp, 0x4c
ret
Function at 0x4440d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x98
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp]
push ebx
mov ebx, dword [esp + 0xa8]
push esi
push edi
mov edi, dword [esp + 0xa8]
push 0
push ecx
push 0
push 0
push ebx
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov esi, eax
test esi, esi
jne 0x44418b
cmp bx, 1
jne 0x444129
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x444174
cmp bx, 0x1c
jne 0x44416d
push 0x80
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
movups xmm0, xmmword [eax + 0x18]
push 0x80
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
push 0x17
movups xmmword [esp + 0x20], xmm0
call sub.WS2_32.dll_inet_ntop
lea eax, [esp + 0x20]
push eax
jmp 0x444174
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
push edi
call dword [0x46a540]
add esp, 8
push 1
push dword [esp + 0x10]
call sub.DNSAPI.dll_DnsFree
jmp 0x4441c2
cmp esi, 0x251d
je 0x4441b8
cmp esi, 0x25e5
je 0x4441b8
cmp esi, 0x232b
je 0x4441b8
push 0
push edi
call dword [0x46a5b0]
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x4441c2
push edi
call dword [0x46a5a4]
add esp, 4
mov ecx, dword [esp + 0xa0]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045f421
add esp, 0x98
ret
Function at 0x44a850
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
call dword [0x46a5b4]
push 1
push 0x44a690
push edi
call dword [0x46a5fc]
push 1
push str.Task
push edi
call dword [0x46a578]
push 0xffffffffffffffff
push edi
call dword [0x46a5ec]
add esp, 0x28
push 0
push 0
push esi
push dword [esp + 0x20]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x44a8b8
push 0
push 0
push 0
push 0
push edi
call dword [0x46a608]
add esp, 0x14
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call dword [0x46a5e8]
push 0
push 0xffffffffffffffff
push edi
call dword [0x46a53c]
push eax
push str.async_error_:__s
push edi
call dword [0x46a5d4]
add esp, 0x20
pop edi
pop esi
ret

Function at 0x44b1e0
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
push 0x471038
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [esp + 0xc]
push 0x44b1c0
push 0x468298
push 0x4682c0
push 0x461a04
push edi
call dword [0x46a63c]
mov esi, dword [sym.wluart_static.exe_lua_registerobject]
push 0x467bf0
push 0x467b50
push 0x443d50
push str.Socket
push 0x4716ac
push edi
call esi
push 0x467d18
push 0x467ca8
push 0x446570
push str.Http
push 0x471028
push edi
call esi
add esp, 0x44
push 0x468230
push 0x4681b0
push 0x44a0a0
push 0x468400
push 0x47102c
push edi
call esi
add esp, 0x18
mov eax, 1
pop edi
pop esi
ret

Function at 0x44bd40
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push str.AdvAPI32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CryptDecrypt
push eax
mov dword [0x471214], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44bd20
push 0x468750
push 0x468730
push str.crypto
push dword [esp + 0x14]
mov dword [0x471210], eax
call sym.wluart_static.exe_lua_registermodule
push 0x468440
push 0x468408
push 0x44b7c0
push str.Cipher
push 0x4716a8
push dword [esp + 0x2c]
call sym.wluart_static.exe_lua_registerobject
add esp, 0x2c
push 0xf0000000
push 0x18
push 0
push 0
push 0x47120c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov eax, 1
ret
Function at 0x44d690
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
call dword [0x46a590]
mov ebx, dword [esp + 0x30]
add esp, 4
mov ebp, dword [sym.wluart_static.exe_lua_tolwstring]
cmp eax, 1
jle 0x44d6c2
push 0
push 2
push esi
call ebp
add esp, 0xc
mov edi, eax
jmp 0x44d6c4
mov edi, ebx
push 0
push 1
push esi
call dword [0x46a5c4]
push 0
push 0xffffffffffffffff
push esi
call ebp
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ebp, eax
lea eax, [esp + 0x2c]
push eax
push 0x44d7a0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x7f
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x471228], eax
test eax, eax
jne 0x44d728
push 0x65
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x471228], eax
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push 0
or eax, 0x1000
mov dword [esp + 0x1c], edi
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 0x44d0d0
push 0
push 0
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
je 0x44d76e
push edi
call ebx
add esp, 4
push ebp
call ebx
mov eax, dword [esp + 0x20]
push dword [eax*4 + 0x470228]
push esi
call dword [0x46a540]
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44dbf0
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x44d7a0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x7f
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x471228], eax
test eax, eax
jne 0x44dc3e
push 0x65
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x471228], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
or eax, 0x1000
push 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x44d0d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x451200
Capabilities:
Get graphical window text

Disassembly:
push ebp
push esi
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
lea esi, [ebp*2]
lea ecx, [esi + 2]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
lea ecx, [ebp + 1]
mov edi, eax
push ecx
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
push edi
push dword [esp + 0x18]
call dword [0x46a5ac]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
ret
Function at 0x453b80
Capabilities:
Get file attributes
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x2bc], eax
push ebx
push edi
mov edi, dword [esp + 0x2cc]
push 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2b4
mov ebx, eax
lea eax, [esp + 0x14]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push edi
call dword [0x46a590]
add esp, 0x10
cmp eax, 1
jle 0x453d29
push 2
push edi
call dword [0x46a598]
add esp, 8
test eax, eax
je 0x453d29
push esi
cmp eax, 5
jne 0x453c72
lea eax, [esp + 0x10]
push eax
push 2
push edi
call dword [0x46a6a8]
mov ecx, dword [sym.wluart_static.exe_TBuffer]
add esp, 0xc
mov esi, dword [esp + 0x10]
mov edx, eax
cmp esi, dword [ecx]
jne 0x453c47
push 0
push 0x10
push 0x10
push 0x30000
push 1
push dword [edx + 4]
push dword [edx + 8]
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.0045f421
add esp, 0x2c0
ret
mov eax, dword [sym.wluart_static.exe_TWidget]
cmp esi, dword [eax]
jne 0x453c72
push dword [edx + 0x30]
push ebx
call dword [sym.imp.SHELL32.dll_DuplicateIcon]
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.0045f421
add esp, 0x2c0
ret
push 2
push edi
call dword [0x46a630]
mov esi, eax
add esp, 8
mov edx, esi
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x453c85
push 1
sub edx, eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
sar edx, 1
push 1
push 3
push edi
movzx ebx, word [esi + edx*2 - 2]
call dword [0x46a5d0]
add esp, 0x10
dec eax
push eax
push esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x453cc4
cmp eax, 0xffffffff
jne 0x453d03
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp ebx, 0x5c
je 0x453cdf
cmp ebx, 0x2f
je 0x453cdf
xor ecx, ecx
cmp eax, 0xffffffff
cmove eax, ecx
jmp 0x453ce4
mov eax, 0x10
push 0x111
push 0x2b4
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x10]
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.0045f421
add esp, 0x2c0
ret
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 8]
pop edi
pop ebx
xor ecx, esp
call fcn.0045f421
add esp, 0x2c0
ret
Function at 0x456210
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
push esi
push 2
push 1
push 0x471274
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ax, word [0x471274]
add esp, 0x20
cmp al, 0xff
jne 0x45624b
cmp ah, 0xfe
jne 0x456277
mov eax, 2
pop esi
ret
cmp al, 0xef
jne 0x456277
cmp ah, 0xbb
jne 0x456277
push esi
push 1
push 1
push 0x471274
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp byte [0x471274], 0xbf
jne 0x456277
mov eax, 1
pop esi
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
add esp, 0x10
xor eax, eax
pop esi
ret
Function at 0x45de10
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x80
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
lea eax, [esp + 0x44]
push esi
mov esi, dword [esp + 0xa4]
push edi
push eax
push ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xffffffffffffffeb
xorps xmm0, xmm0
mov ebx, eax
push ebp
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [esp + 0x10], eax
lea ecx, [eax*2 + 2]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
inc ecx
mov esi, eax
mov dword [esp + 0x14], esi
push ecx
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x420
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
test edi, edi
je 0x45deca
mov ebp, dword [edi + 0x50]
test ebp, ebp
jne 0x45ded0
push 4
call esi
mov ebp, eax
push 0x13
call esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
push 0x848484
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_SetDCPenColor]
push ebp
push ebx
call esi
push ebp
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
cdq
inc esi
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
sub ecx, eax
add eax, esi
push ecx
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffffc
push ecx
push eax
mov eax, dword [esp + 0x38]
add eax, 4
push eax
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x10], 0
je 0x45df9f
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0xb
sub dword [esp + 0x28], eax
push 0
push ebx
mov dword [esp + 0x24], 0xa
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
movups xmm0, xmmword [esp + 0x1c]
push ebp
lea eax, [esp + 0x40]
push eax
movups xmmword [esp + 0x44], xmm0
push ebx
mov dword [esp + 0x48], 8
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0x20
push eax
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x45dfa3
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x8c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f421
add esp, 0x80
ret
Function at 0x460351
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa
Function at 0x180175a9
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x14]
mov word [ebp - 8], 0x500
push eax
mov esi, ecx
lea eax, [ebp - 0xc]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push 0x220
push 0x20
push 2
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x18017611
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
call fcn.1814cf3d
leave
ret

Function at 0x18017890
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180178ff
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x180178db
push ebx
push edi
push eax
call fcn.18161b60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x180178f6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret