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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x62657156
push eax
push 0x101ffe90
mov dword [ebp - 0x10], 0x6a586675
mov dword [ebp - 0xc], 0x7870656f
mov byte [ebp - 8], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ffe90
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x52736657
push eax
push 0x101fef5c
mov dword [ebp - 0x10], 0x7a736676
mov dword [ebp - 0xc], 0x766d6257
mov word [ebp - 8], 0x4266
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fef5c
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x52736657
push eax
push 0x101fef4c
mov dword [ebp - 0x10], 0x7a736676
mov dword [ebp - 0xc], 0x766d6257
mov word [ebp - 8], 0x5866
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fef4c
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x75736a57
push eax
push 0x101feff4
mov dword [ebp - 0x10], 0x426d6276
mov dword [ebp - 0xc], 0x64706d6d
mov byte [ebp - 8], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101feff4
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xe
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x75736a57
push eax
push 0x101ff5e4
mov dword [ebp - 0x10], 0x476d6276
mov dword [ebp - 0xc], 0x46666673
mov word [ebp - 8], 0x79
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ff5e4
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x75736a57
push eax
push 0x101ff9f0
mov dword [ebp - 0x10], 0x526d6276
mov dword [ebp - 0xc], 0x7a736676
mov byte [ebp - 8], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ff9f0
call fcn.10158d02
mov esp, ebp
pop ebp
ret
Function at 0x10168dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x75736a57
push eax
push 0x101ff550
mov dword [ebp - 0x10], 0x526d6276
mov dword [ebp - 0xc], 0x7a736676
mov word [ebp - 8], 0x7946
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ff550
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xe
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x756a7358
push eax
push 0x101ffba8
mov dword [ebp - 0x10], 0x6f704466
mov dword [ebp - 0xc], 0x666d7074
mov word [ebp - 8], 0x42
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ffba8
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10168fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xe
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x756a7358
push eax
push 0x101ffbcc
mov dword [ebp - 0x10], 0x6f704466
mov dword [ebp - 0xc], 0x666d7074
mov word [ebp - 8], 0x58
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ffbcc
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10169020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x756a7358
push eax
push 0x101ff32c
mov dword [ebp - 0xc], 0x6d6a4766
mov word [ebp - 8], 0x66
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ff32c
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10169070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x101c7750]
lea eax, [ebp - 0x20]
push 0x1b
push eax
push 0x101ff884
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x54666d6a
mov dword [ebp - 0xc], 0x6f6a7375
mov word [ebp - 8], 0x4268
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ff884
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x101690d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x101c7750]
lea eax, [ebp - 0x20]
push 0x1b
push eax
push 0x101ff868
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x54666d6a
mov dword [ebp - 0xc], 0x6f6a7375
mov word [ebp - 8], 0x5868
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101ff868
call fcn.10158d02
mov esp, ebp
pop ebp
ret
Function at 0x101692c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x66796a6e
push eax
push 0x101fee7c
mov dword [ebp - 0xc], 0x706d4473
mov word [ebp - 8], 0x6674
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fee7c
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x101694d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x66796a6e
push eax
push 0x101fee70
mov dword [ebp - 0xc], 0x66715073
mov word [ebp - 8], 0x6f
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fee70
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x101695d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x666e6a75
push eax
push 0x101feeb0
mov dword [ebp - 0x10], 0x46756654
mov dword [ebp - 0xc], 0x756f6677
mov byte [ebp - 8], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101feeb0
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10169680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x66776278
push eax
push 0x101fee64
mov dword [ebp - 0xc], 0x71506f4a
mov word [ebp - 8], 0x6f66
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fee64
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10169730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x71746f78
push eax
push 0x101fed4c
mov dword [ebp - 0xc], 0x756f6a73
mov word [ebp - 8], 0x4267
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fed4c
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10169790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x71746f78
push eax
push 0x101fed58
mov dword [ebp - 0xc], 0x756f6a73
mov word [ebp - 8], 0x5867
mov byte [ebp - 6], 0
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fed58
call fcn.10158d02
mov esp, ebp
pop ebp
ret
Function at 0x101697f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x73717478
push eax
push 0x101fff18
mov dword [ebp - 0xc], 0x67756f6a
mov word [ebp - 8], 0x42
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fff18
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x10169840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101eff24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x73717478
push eax
push 0x101fff00
mov dword [ebp - 0xc], 0x67756f6a
mov word [ebp - 8], 0x58
call fcn.1016a640
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x101fff00
call fcn.10158d02
mov esp, ebp
pop ebp
ret

Function at 0x1018f9cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1018f846

Function at 0x10196587
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1019647d

Function at 0x10197e61
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10197b12
Function at 0x4023f0
Capabilities:
Delete registry value
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x800
push 0
push eax
mov edi, reloc.WS2_32.dll_bind
call fcn.005a2240
push ebx
push str.SYSTEMControlSet001Services_ws
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00401b00
add esp, 0x1c
lea eax, [ebp - 0x808]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402538
mov edi, dword [ebp - 0x808]
test edi, edi
jne 0x402480
push 0x4c
push str.d:opflpdfprotectjkprotect_selfprotecttoolslib_registry.cpp
push str.m_hKey
call fcn.005bb97b
add esp, 0xc
push str.DeleteFlag
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
jne 0x4024a4
push 0x66
push str.d:opflpdfprotectjkprotect_selfprotecttoolslib_registry.cpp
push str.m_hKey
call fcn.005bb97b
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x80c]
push 4
push eax
push 4
push 0
push str.Start
push edi
mov dword [ebp - 0x80c], 1
call ebx
push esi
push str.___ws
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00401b00
add esp, 0x10
test edi, edi
jne 0x4024fe
push 0x85
push str.d:opflpdfprotectjkprotect_selfprotecttoolslib_registry.cpp
push str.m_hKey
call fcn.005bb97b
add esp, 0xc
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402507
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x804]
push eax
push 1
push 0
push str.ImagePath
push edi
call ebx
mov esi, 1
jmp 0x40258c
push esi
push str.___ws
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00401b00
add esp, 0xc
lea edx, [ebp - 0x804]
mov ecx, ebx
call fcn.004020d0
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x40258a
push 0xf01ff
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x4025a3
xor esi, esi
test edi, edi
jne 0x4025bf
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov esi, 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059cf09
mov esp, ebp
pop ebp
ret
Function at 0x404af0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caaa2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x66931c]
test eax, eax
jne 0x404b57
push 0x15c
call fcn.0059c99d
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x404b49
mov ecx, eax
call fcn.004394d0
jmp 0x404b4b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x66931c], eax
mov ecx, eax
call fcn.0043c9f8
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403240
push 8
push 0x5d493c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00405a30
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5d4950
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403240
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.00405a30
push 2
push 0x5d4954
lea ecx, [ebp - 0x28]
call fcn.00405a30
push 3
push 0x5d495c
lea ecx, [ebp - 0x28]
call fcn.00405a30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x44]
push 0x5d4900
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
call fcn.004041c0
add esp, 8
test eax, eax
je 0x404cb6
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push 1
push dword [ebp - 0x44]
lea eax, [ebp - 0x48]
movlpd qword [ebp - 0x80], xmm0
push eax
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x8c], 0x44
mov dword [ebp - 0x84], str.winsta0default
mov dword [ebp - 0x48], 0
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x404cb6
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push dword [ebp - 0x48]
push 0x420
push 0
push 0
push 0
push esi
push 0
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x404cec
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404d50
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x404d36
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404d2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404d55
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret
call fcn.005a57f9
call fcn.005a57f9
int3
Function at 0x4056b0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caba2
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x405719
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x238]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405740
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403240
push 1
push 0x5d4964
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00405a30
push 0xc
push 0x5d4968
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x231]
call fcn.00408770
lea ecx, [ebp - 0x231]
mov byte [ebp - 4], 1
call fcn.0059b156
mov eax, dword fs:[0x2c]
mov ecx, dword [0x66c8d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x669318]
cmp eax, dword [ecx + 4]
jg 0x405848
mov ecx, 0x669314
call fcn.0059b156
lea ecx, [ebp - 0x231]
call fcn.00403eb0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40582f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405825
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40588c
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret
push 0x669318
call fcn.0059ce15
add esp, 4
cmp dword [0x669318], 0xffffffff
jne 0x4057de
mov ecx, 0x669314
mov byte [ebp - 4], 2
call fcn.00408770
push 0x5d3750
call fcn.0059cc60
push 0x669318
mov byte [ebp - 4], 1
call fcn.0059cdcb
add esp, 8
jmp 0x4057de
call fcn.005a57f9
int3
Function at 0x40b9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x40bafa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
sub eax, 0xffffff80
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea esi, [ecx + 2]
sub ecx, eax
lea edx, [eax + 2]
add ecx, 0xfffffffe
lea eax, [edi - 1]
mov dword [ebp + 0x14], edx
shr eax, 3
inc eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
nop
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
push ecx
push dword [ebp - 0xc]
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
call fcn.0040ac90
mov ecx, dword [ebp + 8]
lea esi, [esi + 8]
mov edx, dword [ebp + 0x14]
add esp, 0xc
movzx eax, byte [ecx + 0x100]
mov ecx, dword [ebp - 8]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x14], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [ebp - 4], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [ebp - 8]
jne 0x40ba30
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x414350
Capabilities:
Delete registry value
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x414485
push 0xf01ff
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x414485
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x4143b4
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push ebx
call edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x414480
push 0xf01ff
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x414480
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x414480
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test eax, eax
je 0x414480
push ebx
call edi
lea eax, [ebp - 0x24]
push eax
push 0xf003f
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindows_NTCurrentVersionSvchost
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414468
push str.LocalWorkSvc
lea ecx, [ebp - 0x1c]
call fcn.00403040
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.00402fe0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret 4
push esi
push 0x7e
jmp 0x414488
push esi
push 0x7d
call fcn.0043f1dd
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0059cf09
mov esp, ebp
pop ebp
ret 4
Function at 0x417b00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp + 0xc]
push 0xf003f
neg eax
push 0
sbb eax, eax
push 0x5d6a30
add eax, reloc.WS2_32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417b47
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8