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

Disassembly:
push esi
push edi
push ebp
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [0x6dd4e0]
lea esp, [esp]
movss xmm0, dword [esi]
pxor xmm0, xmmword [ebp + 0xc0]
subss xmm0, dword [ebp + 0xd0]
shufps xmm0, xmm0, 0
movaps xmm1, xmm0
addps xmm0, xmmword [ebp + 0x100]
addps xmm1, xmmword [ebp + 0x110]
pand xmm0, xmmword [ebp + 0xb0]
pand xmm1, xmmword [ebp + 0xb0]
minps xmm0, xmmword [ebp + 0xe0]
minps xmm1, xmmword [ebp + 0xe0]
mulps xmm0, xmmword [ebp + 0xf0]
mulps xmm1, xmmword [ebp + 0xf0]
cvttps2dq xmm2, xmm0
cvttps2dq xmm3, xmm1
movd eax, xmm2
movq xmm4, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm5, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm6, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm7, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
punpckldq xmm4, xmm5
punpckldq xmm6, xmm7
cvtdq2ps xmm2, xmm2
movaps xmm5, xmm4
punpcklqdq xmm4, xmm6
punpckhqdq xmm5, xmm6
subps xmm5, xmm4
subps xmm0, xmm2
mulps xmm0, xmm5
addps xmm0, xmm4
xorps xmm7, xmm7
pshufd xmm2, xmm0, 1
pshufd xmm6, xmm0, 2
pshufd xmm4, xmm0, 3
addss xmm7, xmm0
addss xmm7, xmm2
addss xmm7, xmm4
addss xmm7, xmm6
movd eax, xmm3
movq xmm4, qword [edx + eax*4]
pshufd xmm3, xmm3, 0xe1
movd eax, xmm3
movq xmm5, qword [edx + eax*4]
pshufd xmm3, xmm3, 0xe1
punpckldq xmm4, xmm5
cvtdq2ps xmm3, xmm3
movhlps xmm5, xmm4
subps xmm1, xmm3
subps xmm5, xmm4
mulps xmm1, xmm5
addps xmm1, xmm4
pshufd xmm2, xmm1, 1
addss xmm7, xmm1
addss xmm7, xmm2
shufps xmm7, xmm7, 0
divps xmm0, xmm7
divps xmm1, xmm7
movlps qword [edi], xmm0
movhps qword [edi + 8], xmm0
movlps qword [edi + 0x10], xmm1
add esi, 4
add edi, 0x18
sub ecx, 1
jne 0x6e0b80
pop ebp
pop edi
pop esi
ret
Function at 0x6f7bb0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push ebp
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [0x6f4480]
lea esp, [esp]
movss xmm0, dword [esi]
pxor xmm0, xmmword [ebp + 0xc0]
subss xmm0, dword [ebp + 0xd0]
shufps xmm0, xmm0, 0
movaps xmm1, xmm0
addps xmm0, xmmword [ebp + 0x100]
addps xmm1, xmmword [ebp + 0x110]
pand xmm0, xmmword [ebp + 0xb0]
pand xmm1, xmmword [ebp + 0xb0]
minps xmm0, xmmword [ebp + 0xe0]
minps xmm1, xmmword [ebp + 0xe0]
mulps xmm0, xmmword [ebp + 0xf0]
mulps xmm1, xmmword [ebp + 0xf0]
cvttps2dq xmm2, xmm0
cvttps2dq xmm3, xmm1
movd eax, xmm2
movq xmm4, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm5, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm6, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm7, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
punpckldq xmm4, xmm5
punpckldq xmm6, xmm7
cvtdq2ps xmm2, xmm2
movaps xmm5, xmm4
punpcklqdq xmm4, xmm6
punpckhqdq xmm5, xmm6
subps xmm5, xmm4
subps xmm0, xmm2
mulps xmm0, xmm5
addps xmm0, xmm4
xorps xmm7, xmm7
pshufd xmm2, xmm0, 1
pshufd xmm6, xmm0, 2
pshufd xmm4, xmm0, 3
addss xmm7, xmm0
addss xmm7, xmm2
addss xmm7, xmm4
addss xmm7, xmm6
movd eax, xmm3
movq xmm4, qword [edx + eax*4]
pshufd xmm3, xmm3, 0xe1
movd eax, xmm3
movq xmm5, qword [edx + eax*4]
pshufd xmm3, xmm3, 0xe1
punpckldq xmm4, xmm5
cvtdq2ps xmm3, xmm3
movhlps xmm5, xmm4
subps xmm1, xmm3
subps xmm5, xmm4
mulps xmm1, xmm5
addps xmm1, xmm4
pshufd xmm2, xmm1, 1
addss xmm7, xmm1
addss xmm7, xmm2
shufps xmm7, xmm7, 0
divps xmm0, xmm7
divps xmm1, xmm7
movlps qword [edi], xmm0
movhps qword [edi + 8], xmm0
movlps qword [edi + 0x10], xmm1
add esi, 4
add edi, 0x18
sub ecx, 1
jne 0x6f7bd0
pop ebp
pop edi
pop esi
ret
Function at 0x70ece0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push ebp
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [0x70b5b0]
lea esp, [esp]
movss xmm0, dword [esi]
pxor xmm0, xmmword [ebp + 0xc0]
subss xmm0, dword [ebp + 0xd0]
shufps xmm0, xmm0, 0
movaps xmm1, xmm0
addps xmm0, xmmword [ebp + 0x100]
addps xmm1, xmmword [ebp + 0x110]
pand xmm0, xmmword [ebp + 0xb0]
pand xmm1, xmmword [ebp + 0xb0]
minps xmm0, xmmword [ebp + 0xe0]
minps xmm1, xmmword [ebp + 0xe0]
mulps xmm0, xmmword [ebp + 0xf0]
mulps xmm1, xmmword [ebp + 0xf0]
cvttps2dq xmm2, xmm0
cvttps2dq xmm3, xmm1
movd eax, xmm2
movq xmm4, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm5, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm6, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
movd eax, xmm2
movq xmm7, qword [edx + eax*4]
pshufd xmm2, xmm2, 0x39
punpckldq xmm4, xmm5
punpckldq xmm6, xmm7
cvtdq2ps xmm2, xmm2
movaps xmm5, xmm4
punpcklqdq xmm4, xmm6
punpckhqdq xmm5, xmm6
subps xmm5, xmm4
subps xmm0, xmm2
mulps xmm0, xmm5
addps xmm0, xmm4
xorps xmm7, xmm7
pshufd xmm2, xmm0, 1
pshufd xmm6, xmm0, 2
pshufd xmm4, xmm0, 3
addss xmm7, xmm0
addss xmm7, xmm2
addss xmm7, xmm4
addss xmm7, xmm6
movd eax, xmm3
movq xmm4, qword [edx + eax*4]
pshufd xmm3, xmm3, 0xe1
movd eax, xmm3
movq xmm5, qword [edx + eax*4]
pshufd xmm3, xmm3, 0xe1
punpckldq xmm4, xmm5
cvtdq2ps xmm3, xmm3
movhlps xmm5, xmm4
subps xmm1, xmm3
subps xmm5, xmm4
mulps xmm1, xmm5
addps xmm1, xmm4
pshufd xmm2, xmm1, 1
addss xmm7, xmm1
addss xmm7, xmm2
shufps xmm7, xmm7, 0
divps xmm0, xmm7
divps xmm1, xmm7
movlps qword [edi], xmm0
movhps qword [edi + 8], xmm0
movlps qword [edi + 0x10], xmm1
add esi, 4
add edi, 0x18
sub ecx, 1
jne 0x70ed00
pop ebp
pop edi
pop esi
ret
Function at 0x8150a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
mov edi, dword [eax]
xor esi, esi
or eax, 0xffffffff
test edi, edi
jle 0x8150e0
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
jmp 0x8150c0
push 0
push edi
lea ecx, [esi + ebx]
push ecx
push ebp
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x8150de
mov edx, dword [esp + 0x1c]
add esi, eax
sub edi, eax
cmp esi, dword [edx]
jl 0x8150c0
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop edi
mov dword [ecx], esi
pop esi
dec edx
mov eax, edx
ret

Function at 0x815100
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x114]
lea ecx, [esp + 4]
push ecx
push 0
push 0
lea edx, [esp + 0x18]
mov dword [esp + 0x10], eax
push edx
lea eax, [esi + 1]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
call sub.WS2_32.dll_select
test eax, eax
jne 0x815155
mov eax, 0xfffffffe
pop esi
add esp, 0x10c
ret
cmp eax, 0xffffffff
jne 0x815164
or eax, eax
pop esi
add esp, 0x10c
ret
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
push 0
push ecx
push edx
push esi
call sub.WS2_32.dll_recv
pop esi
add esp, 0x10c
ret

Function at 0x8184f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00818590
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x818552
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x818552
mov byte [ebp - 5], 1
movzx ecx, byte [ebp - 5]
test ecx, ecx
jne 0x81856d
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00820a80
add esp, 8
mov byte [ebp - 5], al
cmp dword [ebp - 4], 0
je 0x81857d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x8185b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0xb9e498]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0
push 0x90
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.0083d630
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 6
ja 0x818621
cmp dword [ebp - 0x9c], 6
jne 0x818615
cmp dword [ebp - 0x98], 0
jae 0x818621
mov dword [ebp - 0xa8], 0
jmp 0x81862b
mov dword [ebp - 0xa8], 1
mov dl, byte [ebp - 0xa8]
mov byte [ebp - 0xa1], dl
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00841e91
mov esp, ebp
pop ebp
ret
Function at 0x818650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0xb9e498]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
push 0x104
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0083d630
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 1], al
movzx edx, byte [ebp - 1]
test edx, edx
je 0x8186d2
lea eax, [ebp - 0x110]
push eax
call fcn.00842210
add esp, 4
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041cda0
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00841e91
mov esp, ebp
pop ebp
ret
Function at 0x818d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x818d1e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00820f70
add esp, 8
mov dword [ebp - 4], 0
mov byte [ebp - 5], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00818590
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x818d8a
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.00842210
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
cmp dword [ebp - 4], 0
je 0x818d9a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00818e20
movzx edx, al
test edx, edx
je 0x818e17
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20106
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00818590
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x818e07
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.00842210
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x19], al
cmp dword [ebp - 4], 0
je 0x818e17
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x819320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3c], 0
je 0x81937f
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 0x10
jb 0x819356
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
jmp 0x81935f
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp + 8]
push ecx
push 4
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x821ef0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8888f1
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0xb9e498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x822007
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.0083d630
add esp, 0xc
cmp dword [0xbab184], 0
je 0x821f77
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0x2afb
mov eax, dword [0xbab184]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0x13c]
add ecx, 0x120
call fcn.00449a80
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x120
call fcn.00822170
mov ecx, dword [ebp - 0x13c]
add ecx, 0x120
call fcn.008095f0
push eax
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [ebp - 0x13c]
call fcn.00821810
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x120
call fcn.008097b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004f8870
mov ecx, dword [ebp - 0x13c]
add ecx, 0x120
call fcn.008095f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00841e91
mov esp, ebp
pop ebp
ret 4

Function at 0x822c52
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x822c76
cmp dword [edi + 0x54], 0
jne 0x822c76
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.008237ce
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00822c13
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x829162
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x8291a9
call fcn.008237ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x8291a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x8291c5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00828cdc
mov esi, eax
test edi, edi
je 0x8291c3
test ebx, ebx
je 0x8291c3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x82edbb
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x82eddf
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x82eded
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x82edd9
xor eax, eax
inc eax
pop esi
ret

Function at 0x83b255
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x889bc0
call fcn.008459b6
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00529c40
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x83b2b7
call fcn.00822efa
cmp eax, 1
jne 0x83b2b7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0082ba37
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0052a020
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00822271
mov dword [ebp + 8], connect
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00822271
mov eax, esi
call fcn.00845a8e
ret 0x10

Function at 0x83b2e0
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x889bc0
call fcn.008459b6
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00529c40
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x83b342
call fcn.00822efa
cmp eax, 1
jne 0x83b342
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0082ba37
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0052a020
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00822271
mov dword [ebp + 8], connect
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00822271
mov eax, esi
call fcn.00845a8e
ret 0x14
Function at 0x841e91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xb9e498]
jne 0x841e9b
repz ret
jmp fcn.008525a1

Function at 0x845653
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x845684
call fcn.008445d3
mov dword [eax], esi
call fcn.008445c0
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0083d80b
add esp, 0x14
or eax, 0xffffffff
jmp 0x8456bf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x8456a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.008445e6
pop ecx
jmp 0x84567f
test byte [ebp + 0xc], 0x80
je 0x8456ac
and eax, 0xfffffffe
jmp 0x8456af
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x845692
xor eax, eax
pop esi
pop ebp
ret

Function at 0x8544b8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00847bdd
and dword [ebp - 4], 0
cmp dword [0xbada40], 0
mov ebx, eax
jne 0x854569
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x85461a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xb5b660
push edi
call esi
test eax, eax
je 0x85461a
push eax
call fcn.00847b6b
mov dword [esp], 0xb5b650
push edi
mov dword [0xbada40], eax
call esi
push eax
call fcn.00847b6b
mov dword [esp], 0xb5b63c
push edi
mov dword [0xbada44], eax
call esi
push eax
call fcn.00847b6b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0xbada48], eax
call esi
push eax
call fcn.00847b6b
pop ecx
mov dword [0xbada50], eax
test eax, eax
je 0x854569
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00847b6b
pop ecx
mov dword [0xbada4c], eax
mov eax, dword [0xbada4c]
cmp eax, ebx
je 0x8545c1
cmp dword [0xbada50], ebx
je 0x8545c1
push eax
call fcn.00847be6
push dword [0xbada50]
mov esi, eax
call fcn.00847be6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x8545c1
test edi, edi
je 0x8545c1
call esi
test eax, eax
je 0x8545b8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x8545b8
test byte [ebp - 0xc], 1
jne 0x8545c1
or dword [ebp + 0x10], 0x200000
jmp 0x8545fa
mov eax, dword [0xbada44]
cmp eax, ebx
je 0x8545fa
push eax
call fcn.00847be6
pop ecx
test eax, eax
je 0x8545fa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x8545fa
mov eax, dword [0xbada48]
cmp eax, ebx
je 0x8545fa
push eax
call fcn.00847be6
pop ecx
test eax, eax
je 0x8545fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xbada40]
call fcn.00847be6
pop ecx
test eax, eax
je 0x85461a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x85461c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push 2
push 0
push ebx
mov dword [ebp - 4], ecx
call fcn.10005837
add esp, 0xc
test eax, eax
je 0x10002fa8
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push ebx
call fcn.10005c0f
mov esi, eax
add esp, 4
test esi, esi
jns 0x10002fc5
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
jne 0x10002fd1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push esi
call fcn.10004915
mov edi, eax
add esp, 4
test edi, edi
jne 0x10002fed
lea eax, [edi - 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push ebx
call fcn.10005837
push ebx
push esi
push 1
push edi
call fcn.10005e3a
add esp, 0x1c
cmp eax, esi
je 0x1000301f
push edi
call fcn.100054e8
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.10003040
push edi
mov esi, eax
call fcn.100054e8
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cbad
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100170e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.1000b2af
mov dword [ebp - 0x14], eax
cmp dword [0x10018e14], edi
jne 0x1000cc9e
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1000cc2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000cd7e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000cd7e
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000cd7e
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10018e14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10018e18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10018e1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10018e24], eax
test eax, eax
je 0x1000cc9b
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10018e20], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1000ccc3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000ccb6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1000ccd8
push 4
pop eax
jmp 0x1000cd80
cmp dword [ebp - 0x14], edi
je 0x1000ccd8
push dword [0x10018e14]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1000ccbd
mov eax, dword [0x10018e20]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1000cd36
cmp dword [0x10018e24], esi
je 0x1000cd36
push eax
call ebx
push dword [0x10018e24]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1000cd36
test eax, eax
je 0x1000cd36
call ecx
test eax, eax
je 0x1000cd2b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1000cd2b
test byte [ebp - 8], 1
jne 0x1000cd36
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1000cd66
mov eax, dword [0x10018e18]
cmp eax, esi
je 0x1000cd63
push eax
call ebx
test eax, eax
je 0x1000cd63
call eax
mov edi, eax
test edi, edi
je 0x1000cd63
mov eax, dword [0x10018e1c]
cmp eax, esi
je 0x1000cd63
push eax
call ebx
test eax, eax
je 0x1000cd63
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10018e14]
call ebx
test eax, eax
je 0x1000cd7e
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1000cd80
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004b60
leave
ret