joyce8/EMBER2024-capa huggingface dataset:
Function at 0x583410
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.00432340
mov eax, dword [0x60a1bc]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [esp + 0xbc]
xor ebp, ebp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
sub eax, ebx
mov dword [esp + 0x24], eax
cmp dword [esi + 0xc], ebx
jae 0x583470
push 0x4d4
push 0x5f91a4
push str.assertion_failed:_rec__orig_len___md_size
call fcn.004d3d60
add esp, 0xc
cmp ebx, 0x40
jbe 0x58348c
push 0x4d5
push 0x5f91a4
push str.assertion_failed:_md_size___EVP_MAX_MD_SIZE
call fcn.004d3d60
add esp, 0xc
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x34]
neg eax
mov dword [esp + 0x20], ecx
and eax, 0x3f
lea edi, [esp + 0x34]
add edi, eax
lea eax, [ebx + 0x100]
mov dword [esp + 0x2c], edi
cmp ecx, eax
jbe 0x5834ba
mov ebp, ecx
sub ebp, ebx
sub ebp, 0x100
push ebx
xor esi, esi
mov dword [esp + 0x18], 0
push esi
push edi
call fcn.0044b1c0
add esp, 0xc
mov dword [esp + 0x18], esi
cmp ebp, dword [esp + 0x20]
jae 0x58356d
mov eax, dword [esp + 0xc0]
mov ecx, ebp
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
mov edx, ecx
xor eax, dword [esp + 0x24]
xor edx, dword [esp + 0x10]
lea edi, [eax - 1]
not eax
shr eax, 0x1f
shr edi, 0x1f
and edi, eax
mov eax, ebp
xor eax, dword [esp + 0x10]
neg edi
or edx, eax
mov eax, dword [esp + 0x28]
xor edx, ebp
shr edx, 0x1f
neg edx
mov cl, byte [eax + ebp]
mov eax, edi
or eax, dword [esp + 0x14]
inc ebp
and eax, edx
mov edx, dword [esp + 0x18]
and edi, edx
mov dword [esp + 0x14], eax
and al, cl
or esi, edi
mov edi, dword [esp + 0x2c]
or byte [edx + edi], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, ebx
xor eax, ebx
xor ecx, ebx
or ecx, eax
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
cmp ebp, dword [esp + 0x20]
jb 0x5834f5
xor edx, edx
test ebx, ebx
je 0x5835a1
mov ebp, dword [esp + 0x30]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + edi]
movzx eax, byte [esi + edi]
inc esi
mov byte [edx + ebp], al
mov ecx, esi
sub ecx, ebx
mov eax, esi
xor ecx, ebx
xor eax, ebx
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, ebx
jb 0x583577
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004318a9
add esp, 0xa8
ret
Function at 0x5840e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.00432340
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x28]
inc edi
mov eax, dword [eax + 0x64]
test byte [eax + 0x34], 1
je 0x58412d
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 8]
lea eax, [edi + ecx]
cmp eax, edx
jbe 0x58411d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
add dword [esi + 0x14], ecx
sub edx, ecx
add dword [esi + 0x18], ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], edx
jmp 0x584132
cmp edi, dword [esi + 8]
ja 0x584114
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push ebp
push dword [ebx + 0xb0]
mov al, byte [ecx + eax - 1]
movzx ebp, al
mov byte [esp + 0x30], al
mov dword [esp + 0x24], ebp
call fcn.004c11a0
push eax
call fcn.004bd6c0
add esp, 8
test eax, 0x200000
je 0x584178
or eax, 0xffffffff
sub eax, ebp
add dword [esi + 8], eax
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 8]
lea ecx, [edi + ebp]
mov ebx, edx
mov dword [esp + 0x10], edx
sub ebx, ecx
mov eax, edx
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, edx
shr ebx, 0x1f
dec ebx
cmp edx, eax
cmovb eax, edx
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x584204
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x20]
mov edx, esi
mov ebp, dword [esp + 0x10]
shr edx, 0x1f
dec ebp
mov dword [esp + 0x18], edx
add ebp, eax
nop
mov ecx, esi
lea ebp, [ebp - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esp + 0x2c]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [ebp + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jb 0x5841c0
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
not ebx
movzx eax, bl
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [ebp + 1]
neg ecx
and eax, ecx
sub edx, eax
mov eax, ecx
pop ebp
pop edi
mov dword [esi + 8], edx
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebx
add esp, 0xc
ret
Function at 0x588bc0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x20]
cmp dword [eax], 5
je 0x588bdb
push eax
push esi
call fcn.00589200
add esp, 8
test eax, eax
jle 0x588c23
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push esi
mov edi, eax
call fcn.004bd470
add esp, 8
test edi, edi
jg 0x588c20
push edi
call fcn.005056e0
add esp, 4
test eax, eax
je 0x588c20
push 0xa
push esi
call fcn.004bdbd0
add esp, 8
mov eax, edi
pop edi
pop esi
ret
Function at 0x42d104
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42d10a
ret
Function at 0x401a55
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4dfbb8
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401ad5
arpl word [edx + esi], si
sub ebx, dword [ecx - 0x14]
push es
xchg ebx, eax
das
xchg edi, eax
add eax, 0x5f450569
sbb ecx, 0x94a7834
push ds
into
cmp byte [ebp + 0x3a], dl
adc al, 0xe2
test byte [edx], 0xb5
jns 0x401af7
mov bh, 2
push ecx
xor al, 0x83
sbb eax, dword [eax - 0x7d]
popal
int 0xeb
into
lodsb al, byte [esi]
aam 0x17
jnp 0x401a6e
retf 0xb80c
aas
mov ecx, 0xa9989c42
imul ebp, dword [edi - 0x217f5afe], 0x32
jb 0x401afe
mov bh, 0x6f
and eax, 0xdeafbd84
xchg ebp, eax
push eax
lcall 0xb424, 0x568cf443
xor al, 0x2d
xlatb
pop ebp
lodsb al, byte [esi]
in al, 0x6a
sub eax, 0x4022b606
xchg byte [eax + 0x1f092885], dh
and al, byte [eax - 0x7a]
mov al, 0x85
sub byte [ecx], cl
pop ds
invalid
Function at 0x1003040
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push 2
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100306d
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1003381
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001330
call fcn.010035ac
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10033be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10033be
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10033d6
cmp eax, 0x20b
je 0x10033c3
mov dword [ebp - 0x1c], ebx
jmp 0x10033ea
cmp dword [ecx + 0x84], 0xe
jbe 0x10033be
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x10033e4
cmp dword [ecx + 0x74], 0xe
jbe 0x10033be
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10054bc], 0xffffffff
or dword [0x10054c0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005454]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1005450]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10054c4], eax
call fcn.01003638
cmp dword [0x1005030], ebx
jne 0x1003445
push fcn.01003638
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003621
push 0x1005010
push 0x100500c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100544c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1005448]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1005008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x10034db
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10034af
cmp al, 0x22
jne 0x10034a1
cmp byte [esi], 0x22
jne 0x10034b8
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10034c2
cmp al, 0x20
jbe 0x10034b4
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x10034e6
movzx eax, word [ebp - 0x50]
jmp 0x10034e9
cmp byte [esi], 0x20
jbe 0x10034b8
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10034db
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1003506
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100353b
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010035e7
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x48b0b8b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x65607a84
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x44d262
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [sym.imp.mfc120u.dll_Ordinal_2204]
push edi
xor edi, edi
mov dword [ebp - 0x24], 0x44d7c4
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call esi
mov ebx, str.SpyxxProcessPacket
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x44d2b2
xor eax, eax
jmp 0x44d330
call esi
push edi
mov eax, dword [eax + 8]
push eax
mov eax, dword [0x47ea58]
push edi
push dword [eax + 0x20]
push edi
push edi
push edi
push edi
push 0x40000000
push edi
push ebx
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x47ff00], eax
test eax, eax
je 0x44d2ae
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call esi
mov dword [0x47e068], eax
test eax, eax
je 0x44d2ae
push edi
push edi
push edi
push edi
call esi
mov dword [0x47e098], eax
test eax, eax
je 0x44d2ae
push dword [0x47ff00]
push 0x10000
push 0x44d337
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0xc
mov dword [0x47e094], eax
cmp eax, 0xffffffff
je 0x44d2ae
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ed44
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [esi + 0x78], eax
jle 0x44edbc
push edi
mov edi, eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xa0]
mov edx, dword [edi + eax + 4]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 8]
jne 0x44ed72
sub ecx, dword [ebp - 0xc]
xor eax, eax
push eax
sar ecx, 1
lea eax, [ebp - 4]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
push eax
lea eax, [ebp - 4]
push eax
push 4
push 0x417674
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc ebx
add edi, 0x2c
push 0
pop eax
cmp ebx, dword [esi + 0x78]
jl 0x44ed5d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44edc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468342
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x46c018]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
mov eax, dword [0x46c018]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xc]
mov eax, dword [esi + 4]
mov dword [ebx + 0x94], eax
call dword [sym.imp.mfc120u.dll_Ordinal_450]
and dword [esp + 0x68], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_2478]
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_12958]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_12958]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_3911]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov dword [ebx + 0x9c], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [esp + 0x30]
mov dword [ebx + 0x98], eax
call fcn.0044ddbc
push 0
mov ecx, ebx
call fcn.0044ec1f
cmp dword [ebp + 0xc], 0
je 0x44eeac
push 1
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
or dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_1105]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00466ce7
mov esp, ebp
pop ebp
ret 8
Function at 0x44ff75
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
push 0x417c98
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x44ffa1
xor eax, eax
jmp 0x44ffec
lea eax, [ebp - 0x1c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44ff9d
and dword [ebp - 8], 0
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push esi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466ce7
mov esp, ebp
pop ebp
ret

Function at 0x44fffb
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
push 0x417c98
push ebx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x45002a
xor eax, eax
jmp 0x45008b
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, eax
test edi, edi
je 0x450026
mov eax, dword [ebp - 0x20]
neg esi
push ebx
push ebx
mov dword [ebp - 0x10], eax
sbb esi, esi
mov eax, dword [ebp - 0x1c]
and esi, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
neg eax
sbb esi, esi
not esi
and esi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466ce7
mov esp, ebp
pop ebp
ret
Function at 0x450742
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x4684da
call fcn.004675d0
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x45077b
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [0x47aac0]
mov dword [0x48002c], eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 4], eax
test eax, eax
je 0x450858
push dword [esi + 4]
push 0
push dword [0x48002c]
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, dword [ebp + 8]
mov dword [0x47aac0], eax
call fcn.0045044d
mov ebx, 0x47e6a0
test eax, eax
jne 0x4507b1
push 0x417df8
push 0x20
pop edx
mov ecx, ebx
call fcn.004433b9
mov eax, dword [0x47aac0]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x80000004
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x450830
cmp eax, 0xea
jne 0x450858
push dword [esi + 4]
push 0
push dword [0x48002c]
call ebx
mov eax, dword [0x47aac0]
add eax, eax
push eax
push 0
push dword [0x48002c]
mov dword [0x47aac0], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x47aac0]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x47e6a0
push 0x80000004
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 5
jne 0x4507da
push 0xffffffffffffffff
push 0x2030
push 0x27bb
call dword [sym.imp.mfc120u.dll_Ordinal_2261]
push dword [esi + 4]
push 0
push dword [0x48002c]
call ebx
and dword [esi + 4], 0
push 4
mov dword [0x47ec44], 1
call dword [sym.imp.mfc120u.dll_Ordinal_1506]
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x45087d
mov ecx, dword [esi + 4]
mov dword [eax], ecx
jmp 0x45087f
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
call fcn.0046759e
ret 4
Function at 0x45b775
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
push eax
push 0x64
push 2
push esi
dec edi
mov ebx, ecx
push edi
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x45b7ae
mov eax, dword [ebp + 8]
dec eax
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x45b7c9
mov eax, dword [ebp - 4]
cmp eax, edi
jb 0x45b7c9
mov eax, edi
push 0x2e
pop ecx
mov word [esi + eax*2 - 2], cx
mov word [esi + eax*2 - 4], cx
mov word [esi + eax*2 - 6], cx
xor ecx, ecx
pop edi
mov word [esi + eax*2], cx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45b7d8
Capabilities:
Check if file exists
Get file attributes
Identify system language via api

Disassembly:
push 0x1c
mov eax, 0x469326
call fcn.00467603
mov dword [ebp - 0x24], edx
mov eax, ecx
mov dword [ebp - 0x28], eax
mov esi, dword [eax]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x45b8b4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b8b4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov eax, ecx
mov dword [ebp - 0x1c], ecx
shr eax, 0x10
and ecx, 0x3ff
and eax, 0xf
mov dword [ebp - 0x14], 0x409
shl eax, 0x10
or eax, ecx
lea ecx, [ebp - 0x20]
or eax, 0x400
mov dword [ebp - 0x18], eax
call dword [sym.imp.mfc120u.dll_Ordinal_296]
xor edi, edi
mov dword [ebp - 4], edi
mov esi, edi
mov eax, edi
test esi, esi
jle 0x45b860
mov ecx, dword [ebp + esi*4 - 0x1c]
cmp dword [ebp + eax*4 - 0x1c], ecx
je 0x45b85c
inc eax
cmp eax, esi
jl 0x45b851
cmp eax, esi
jl 0x45b88e
mov eax, dword [ebp - 0x24]
push dword [eax]
mov eax, dword [ebp - 0x28]
push dword [ebp + esi*4 - 0x1c]
push dword [eax]
lea eax, [ebp - 0x20]
push 0x41b6e4
push eax
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x14
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45b896
inc esi
cmp esi, 3
jb 0x45b847
jmp 0x45b8a3
push edi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, edi
jmp 0x45b8b6
xor eax, eax
call fcn.004675b2
ret
Function at 0x45d217
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x48001c]
push esi
test eax, eax
jne 0x45d25f
push 0x41b89c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45d283
push 0x41b8b8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x48001c], eax
jmp 0x45d268
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x45d283
push 0x800
push 0
push 0x41b710
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x45d308
push edi
mov edi, 0x105
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x45d305
cmp eax, edi
jae 0x45d305
lea ecx, [ebp - 0x210]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x45d2aa
mov esi, dword [sym.imp.MSVCR120.dll_wcscat_s]
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x5c
je 0x45d2e0
push 0x41b8d4
lea eax, [ebp - 0x210]
push edi
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x45d305
push 0x41b710
lea eax, [ebp - 0x210]
push edi
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x45d305
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x45d307
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466ce7
mov esp, ebp
pop ebp
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 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219