joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10050770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x14], eax
mov cl, 0x6f
mov al, 0x77
push esi
mov esi, dword [esp + 0x24]
mov dl, 0x6e
push edi
mov edi, dword [esp + 0x24]
mov byte [esp + 0xd], cl
mov byte [esp + 0x14], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], al
mov byte [esp + 8], 0x64
mov byte [esp + 9], 0x78
mov byte [esp + 0xa], 0
mov byte [esp + 0xc], dl
mov byte [esp + 0xe], 0x72
mov byte [esp + 0xf], 0x6d
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x11], 0x6c
mov byte [esp + 0x12], 0
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0
lea ecx, [esp + 8]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10050808
test dl, dl
je 0x10050804
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10050808
add eax, 2
add ecx, 2
test dl, dl
jne 0x100507e8
xor eax, eax
jmp 0x1005080d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10050831
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x2630], eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ffae6
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10050857
test dl, dl
je 0x10050853
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10050857
add eax, 2
add ecx, 2
test dl, dl
jne 0x10050837
xor eax, eax
jmp 0x1005085c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10050880
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x2628], ecx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ffae6
add esp, 0x18
ret
lea ecx, [esp + 0x14]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100508a6
test dl, dl
je 0x100508a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100508a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x10050886
xor eax, eax
jmp 0x100508ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100508cf
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x262c], edx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ffae6
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100ffae6
add esp, 0x18
ret
Function at 0x100508f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x14], eax
mov cl, 0x6f
mov al, 0x77
push esi
mov esi, dword [esp + 0x24]
mov dl, 0x6e
push edi
mov edi, dword [esp + 0x24]
mov byte [esp + 0xd], cl
mov byte [esp + 0x14], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], al
mov byte [esp + 8], 0x64
mov byte [esp + 9], 0x78
mov byte [esp + 0xa], 0
mov byte [esp + 0xc], dl
mov byte [esp + 0xe], 0x72
mov byte [esp + 0xf], 0x6d
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x11], 0x6c
mov byte [esp + 0x12], 0
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0
lea ecx, [esp + 8]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10050988
test dl, dl
je 0x10050984
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10050988
add eax, 2
add ecx, 2
test dl, dl
jne 0x10050968
xor eax, eax
jmp 0x1005098d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100509b1
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x263c], eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ffae6
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100509d7
test dl, dl
je 0x100509d3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100509d7
add eax, 2
add ecx, 2
test dl, dl
jne 0x100509b7
xor eax, eax
jmp 0x100509dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10050a00
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x2634], ecx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ffae6
add esp, 0x18
ret
lea ecx, [esp + 0x14]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10050a26
test dl, dl
je 0x10050a22
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10050a26
add eax, 2
add ecx, 2
test dl, dl
jne 0x10050a06
xor eax, eax
jmp 0x10050a2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10050a4f
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x2638], edx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100ffae6
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100ffae6
add esp, 0x18
ret
Function at 0x10050ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x24], eax
mov al, 0x6c
mov byte [esp + 8], al
mov byte [esp + 9], al
mov byte [esp + 0x13], al
mov al, 0x6f
mov dl, 0x6d
mov cl, 0x69
mov byte [esp + 0x16], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1e], al
push esi
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 0x44
mov byte [esp + 9], 0x77
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x61
mov byte [esp + 0xc], 0x70
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x12], 0
mov byte [esp + 0x14], 0x44
mov byte [esp + 0x15], 0x77
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x45
mov byte [esp + 0x18], 0x6e
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x62
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1d], 0x43
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x25], cl
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10050d82
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x10050d7b
cmp dword [esp + 0x30], 0
je 0x10050d77
push 1
jmp 0x10050d79
push 0
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100ffae6
add esp, 0x28
ret

Function at 0x10050e40
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push esi
push edi
call ebp
mov edi, dword [esp + 0x1c]
test edi, edi
mov dword [esp + 0x10], eax
jne 0x10050edb
mov ebx, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ebx, ebx
jle 0x10050e79
call ebp
sub eax, dword [esp + 0x10]
cmp eax, ebx
ja 0x10050f10
push 1
call edi
test ax, ax
js 0x10050f18
push 2
call edi
test ax, ax
js 0x10050ebd
push 4
call edi
test ax, ax
js 0x10050ec8
mov esi, 8
lea ecx, [ecx]
push esi
call edi
test ax, ax
js 0x10050ed3
add esi, 1
cmp esi, 0xff
jl 0x10050ea0
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10050e67
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
pop ecx
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x10050ef0
test esi, esi
jle 0x10050f02
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, esi
ja 0x10050f10
push edi
call ebx
test ax, ax
js 0x10050f18
push 1
call ebp
jmp 0x10050ef0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x10050f30
Capabilities:
Create udp socket
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x88
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x84], eax
push ebp
push esi
push edi
push 0x11
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x7b
mov dword [esp + 0x88], eax
mov word [esp + 0x84], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0xb000000
mov word [esp + 0x86], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esp + 0x20], eax
mov eax, 0x1f4
push 4
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 0x1005
push 0xffff
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call ebp
push 4
lea ecx, [esp + 0x18]
push ecx
push 0x1006
push 0xffff
push edi
call ebp
push 0x10
lea edx, [esp + 0x84]
push edx
push esi
push 0x30
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x10051036
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.100ffae6
add esp, 0x88
ret
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x84]
push edx
push esi
push 0x30
lea eax, [esp + 0x60]
push eax
push edi
mov dword [esp + 0x24], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
push edi
je 0x10051016
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x78]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push ecx
call edi
lea edx, [esp + 0x18]
add eax, 0x7c558180
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.10103ede
add esp, 4
cmp eax, esi
je 0x1005101c
movzx ecx, word [eax + 0x14]
add cx, 0x76c
mov word [ebx], cx
movzx edx, word [eax + 0x10]
add dx, 1
mov word [ebx + 2], dx
movzx ecx, word [eax + 0x18]
mov word [ebx + 4], cx
movzx edx, word [eax + 0xc]
mov word [ebx + 6], dx
movzx ecx, word [eax + 8]
mov word [ebx + 8], cx
movzx edx, word [eax + 4]
mov ecx, dword [esp + 0x7c]
mov word [ebx + 0xa], dx
mov ax, word [eax]
push ecx
mov word [ebx + 0xc], ax
call edi
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x100510e9
fadd dword [0x1016b9e8]
fmul qword [0x1016b9e0]
pop edi
fnstcw word [esp + 0xc]
movzx eax, word [esp + 0xc]
fstp dword [esp + 8]
or eax, 0xc00
fld dword [esp + 8]
mov dword [esp + 8], eax
fmul qword [0x1016b690]
pop esi
fldcw word [esp + 4]
pop ebp
mov eax, 1
fistp dword [esp]
movzx edx, word [esp]
mov ecx, dword [esp + 0x84]
xor ecx, esp
mov word [ebx + 0xe], dx
fldcw word [esp + 4]
call fcn.100ffae6
add esp, 0x88
ret
Function at 0x100518c0
Capabilities:
Shutdown system

Disassembly:
push 0x1016b9ec
call fcn.1000aca0
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x100518e8
push 0x80020003
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
ret
cmp eax, 1
jne 0x10051900
push 0x80020003
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
ret
cmp eax, 2
jne 0x10051912
push 0x80020003
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
ret

Function at 0x10051920
Capabilities:
Check os version

Disassembly:
push ecx
mov eax, dword [0x101a28e0]
test eax, eax
jge 0x10051a10
mov dword [esp], 0
push eax
mov eax, dword fs:[0x30]
mov dword [esp + 4], eax
pop eax
mov ecx, dword [esp]
mov edx, dword [ecx + 0xa4]
mov eax, dword [ecx + 0xa8]
movzx ecx, word [ecx + 0xac]
and ecx, 0xfffffff
cmp edx, 4
mov dword [0x102c86ec], ecx
jne 0x10051976
mov dword [0x101a28e0], 0
xor eax, eax
pop ecx
ret
cmp edx, 5
jne 0x100519a1
test eax, eax
jne 0x10051990
mov dword [0x101a28e0], 1
mov eax, 1
pop ecx
ret
cmp eax, 1
je 0x1005197f
cmp eax, 2
jne 0x10051a0d
mov dword [0x101a28e0], eax
pop ecx
ret
cmp edx, 6
jne 0x100519f8
cmp eax, 1
jne 0x100519b7
mov eax, 3
mov dword [0x101a28e0], eax
pop ecx
ret
test eax, eax
jne 0x100519cc
mov dword [0x101a28e0], 4
mov eax, 4
pop ecx
ret
cmp eax, 2
jne 0x100519e2
mov dword [0x101a28e0], 5
mov eax, 5
pop ecx
ret
cmp eax, 3
jne 0x10051a0d
mov dword [0x101a28e0], 6
mov eax, 6
pop ecx
ret
cmp edx, 0xa
jne 0x10051a0d
test eax, eax
jne 0x10051a0d
mov eax, 7
mov dword [0x101a28e0], eax
pop ecx
ret
or eax, 0xffffffff
pop ecx
ret

Function at 0x10051ee0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10051f5b
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10051f00
sub eax, edx
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10051f4d
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x10051f44
mov edx, eax
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
mov byte [edx + ecx], al
add ecx, 1
test al, al
jne 0x10051f31
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
ret
Function at 0x10051f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
xor ebx, ebx
cmp dword [0x102c86f0], ebx
je 0x10051f8e
mov eax, dword [0x102c86f4]
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100ffae6
add esp, 0x24
ret
cmp dword [fcn.102c8700], ebx
jne 0x10052038
mov al, 0x73
mov cl, 0x65
mov byte [esp + 0x15], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
lea eax, [esp + 0x14]
mov byte [esp + 9], cl
mov byte [esp + 0xc], cl
mov byte [esp + 0x1f], cl
mov dl, 0x6f
push eax
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], bl
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x36
mov byte [esp + 0x22], 0x34
mov byte [esp + 0x23], 0x50
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x2a], bl
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
mov dword [fcn.102c8700], eax
jne 0x10052038
mov dword [0x102c86f4], ebx
xor eax, eax
jmp 0x10052057
lea edx, [esp + 4]
push edx
mov dword [esp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [fcn.102c8700]
mov eax, dword [esp + 4]
mov dword [0x102c86f4], eax
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
mov dword [0x102c86f0], 1
call fcn.100ffae6
add esp, 0x24
ret

Function at 0x10052080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x2c]
call fcn.10051f60
test eax, eax
jne 0x100520ae
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100ffae6
add esp, 0x24
ret
mov eax, dword [fcn.102c8700]
test eax, eax
jne 0x10052154
mov byte [esp + 0x10], al
mov al, 0x73
mov cl, 0x65
mov byte [esp + 0x15], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
lea eax, [esp + 0x14]
mov byte [esp + 9], cl
mov byte [esp + 0xc], cl
mov byte [esp + 0x1f], cl
mov dl, 0x6f
push eax
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x36
mov byte [esp + 0x22], 0x34
mov byte [esp + 0x23], 0x50
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x2a], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [fcn.102c8700], eax
je 0x1005209c
lea edx, [esp + 4]
push edx
push esi
mov dword [esp + 0xc], 0
call eax
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp dword [esp + 4], eax
pop esi
sete al
xor ecx, esp
call fcn.100ffae6
add esp, 0x24
ret
Function at 0x100521c0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x5c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x58], eax
mov al, 0x73
push ebx
mov cl, 0x6f
push edi
mov byte [esp + 0x32], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x49], al
mov byte [esp + 0x55], al
mov byte [esp + 0x59], al
lea eax, [esp + 0xc]
mov dl, 0x69
mov byte [esp + 0x31], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x3b], cl
mov byte [esp + 0x4b], cl
mov byte [esp + 0x4f], cl
push eax
mov bl, 0x5c
lea ecx, [esp + 0x28]
push ecx
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x30], 0x53
mov byte [esp + 0x31], 0x4f
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x54
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x41
mov byte [esp + 0x36], 0x52
mov byte [esp + 0x37], 0x45
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 0x4d
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], 0x63
mov byte [esp + 0x3c], 0x72
mov byte [esp + 0x40], 0x66
mov byte [esp + 0x41], 0x74
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x57
mov byte [esp + 0x44], dl
mov byte [esp + 0x45], 0x6e
mov byte [esp + 0x46], 0x64
mov byte [esp + 0x48], 0x77
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], 0x43
mov byte [esp + 0x4c], 0x75
mov byte [esp + 0x4d], 0x72
mov byte [esp + 0x4e], 0x72
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x50], 0x6e
mov byte [esp + 0x51], 0x74
mov byte [esp + 0x52], 0x56
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x54], 0x72
mov byte [esp + 0x56], dl
mov byte [esp + 0x58], 0x6e
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], 0x50
mov byte [esp + 0x5c], 0x6c
mov byte [esp + 0x5d], dl
mov byte [esp + 0x5e], 0x63
mov byte [esp + 0x5f], dl
mov byte [esp + 0x60], 0x65
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], 0x53
mov byte [esp + 0x64], 0x79
mov byte [esp + 0x66], 0x74
mov byte [esp + 0x67], 0x65
mov byte [esp + 0x68], 0x6d
mov byte [esp + 0x69], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005237e
mov byte [esp + 0x21], al
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edi
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x30], 0x45
mov byte [esp + 0x31], 0x6e
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x62
mov byte [esp + 0x34], 0x6c
mov byte [esp + 0x35], 0x65
mov byte [esp + 0x36], 0x4c
mov byte [esp + 0x37], 0x55
mov byte [esp + 0x38], 0x41
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10052373
cmp dword [esp + 8], edi
je 0x10052373
lea edi, [eax + 1]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x60]
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.100ffae6
add esp, 0x5c
ret
Function at 0x100523a0
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
sub esp, 0x54
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov bl, 0x5c
mov dl, 0x69
mov cl, 0x6f
mov al, 0x73
push esi
xor esi, esi
cmp dword [esp + 0x60], esi
mov dword [esp + 0xc], esi
mov byte [esp + 0x1c], 0x53
mov byte [esp + 0x1d], 0x4f
mov byte [esp + 0x1e], 0x46
mov byte [esp + 0x1f], 0x54
mov byte [esp + 0x20], 0x57
mov byte [esp + 0x21], 0x41
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x45
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x4d
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x28], 0x72
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0x66
mov byte [esp + 0x2d], 0x74
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x57
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], 0x6e
mov byte [esp + 0x32], 0x64
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], 0x77
mov byte [esp + 0x35], al
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x43
mov byte [esp + 0x38], 0x75
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x65
mov byte [esp + 0x3c], 0x6e
mov byte [esp + 0x3d], 0x74
mov byte [esp + 0x3e], 0x56
mov byte [esp + 0x3f], 0x65
mov byte [esp + 0x40], 0x72
mov byte [esp + 0x41], al
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], cl
mov byte [esp + 0x44], 0x6e
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x50
mov byte [esp + 0x47], cl
mov byte [esp + 0x48], 0x6c
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], 0x63
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], 0x65
mov byte [esp + 0x4d], al
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x53
mov byte [esp + 0x50], 0x79
mov byte [esp + 0x51], al
mov byte [esp + 0x52], 0x74
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x54], 0x6d
mov byte [esp + 0x55], 0
je 0x100524da
mov dword [esp + 0xc], 1
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x20]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10052550
mov ecx, dword [esp + 8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
mov byte [esp + 0x25], al
push esi
lea eax, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x62
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x4c
mov byte [esp + 0x2f], 0x55
mov byte [esp + 0x30], 0x41
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10052545
lea esi, [eax + 1]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x58]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.100ffae6
add esp, 0x54
ret