joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1159d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1159d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x1159d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1159d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1159d94
push eax
push esi
call fcn.0115c20b
add esp, 8
pop esi
ret 0x10

Function at 0x1159da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1159e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1159e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x1172320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0115bdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x1159dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1159e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1159ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1159eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x1172320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0115bdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x1159eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1159e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x115a000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x115a131
push esi
call fcn.0115d145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0114c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x115a131
push 0
push ebp
call fcn.0114c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0114c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x115a08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0114c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x115a121
push 0x1172918
push edi
call fcn.0115b3f0
push eax
push ebx
push esi
call fcn.01159f60
push 0x11728f8
push edi
call fcn.0115b3f0
push eax
push ebx
push esi
call fcn.01159f60
push 0x11728d8
push edi
call fcn.0115b3f0
push eax
push ebx
push esi
call fcn.01159f60
push 0x11728c0
push edi
call fcn.0115b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01159f60
push 0x11728a0
push edi
call fcn.0115b3f0
push eax
push ebx
push esi
call fcn.01159f60
push 0x1172888
push edi
call fcn.0115b3f0
push eax
push ebx
push esi
call fcn.01159f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x115b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0115b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0115b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0115b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0115b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x115bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x115bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x116d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x115bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x115bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x406840
Capabilities:
Connect socket

Disassembly:
adc dword [eax - 0x6f8d6f70], 0x81ec8b55
in al, dx
adc byte [edx], al
add byte [eax], al
push ebx
lahf
push esi
or byte [esi + 0x4438b57], cl
cmp eax, 0xffffff86
je 0x4c40698b
mov ecx, dword [ebx + 0x10]
test ecx, ecx
inc esi
test byte [ecx - 0x74ff2a7e], cl
jne 0x406875
mov ecx, dword [esi + 0x14]
sbb dword [edi + 0x50b55128], edx
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffff81
psubsb mm6, qword [edi]
add dword [eax], eax
rol dword [eax], 0x83
clc
or dword [edi], 0x137e8
mov bl, 0x8b
xor eax, 0xb1c1d8
call esi
test dword [edi + ecx - 0x6bff067c], esi
add bh, bh
salc
add eax, 0xafc5e
bnd jo 0x4068be
rol dword [eax], cl
jne 0x4069ed
mov edi, dword [ebx + 0x49]
mov esi, dword [ebx + 0x24]
mov eax, edi
or eax, esi
jne 0x4068af
stc
pop esi
mov eax, 0x2523b4
retf 0xe58b
rol dword [ecx + edi*4], 1
add dword [eax], eax
mov ebp, 0x2bf685d8
test esp, esi
std
invalid
or byte [edi], ah
mov eax, 0x9daef
neg ah
pop ebx
mov esp, ebp
pop ebp
ret 0xf24

Function at 0x406c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x406c4b
add eax, edx
jmp 0x406c5a
mov eax, dword [eax + 0x78]
jmp 0x406c6d
test eax, eax
nop
jmp 0x406c7e
je 0x406e34
nop
add eax, edx
jmp 0x406c93
push eax
jmp 0x406ca5
mov ebx, dword [eax + 0x20]
nop
mov ecx, dword [eax + 0x18]
jmp 0x406cb9
add ebx, edx
jmp 0x406ccc

Function at 0x40705c
Capabilities:
Encode data using xor

Disassembly:
call fcn.00406ef6
mov ecx, 0x1d5
call 0x40705c
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x40705f
imul esi, dword [edx + 0x5a], 0xffffffdd

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x69]
cmpsb byte [esi], byte es:[edi]
in al, dx
je 0x40a410
mov ecx, dword [ebp + 0xc]
push ecx
dec esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
sal byte [ebp + 0x1e], 0xa4
movsb byte es:[edi], byte [esi]
mov esi, dword [0xe6bc098]
call esi
test eax, eax
rol byte [0x8c25d62], 0
push dword [ecx - 0x63037f72]
add byte [esi + 0x5d], bl
ret 8
xor eax, eax
pop ebp
ret 8
js 0x40a44d
dec esi
add byte [eax], al
jbe 0x40a3e9
or byte [esi], ah
nop
nop
bound edx, qword [eax - 0x3c406f70]
nop
mov ah, 0x90
nop
imul edx, dword [eax - 0x6f6f6f70], 0x1b
mov byte [eax - 0x74aa6fd5], dl
in al, dx
cmp dword [0x9241863c], 0x14
xor ah, byte [ebx]
push 0x413e28
call dword [0xe2c040]
mov eax, dword [ebp + 8]
push 0x405720
push 0x440a470
pop edi
inc eax
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, ecx
sar eax, 4
test cl, 0xf
je 0x401012
or eax, 0xffffffff
ret
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
sub ecx, edi
test cl, 3
jne 0x4010a4
mov edx, ebx
sub edx, edi
test dl, 3
jne 0x4010a4
mov ecx, eax
dec eax
test ecx, ecx
je 0x401195
lea ebp, [eax + 1]
mov edx, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor eax, edx
mov edx, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [edi + 4]
xor ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 8]
xor edx, ecx
mov dword [esi + 8], edx
mov edx, dword [edi + 0xc]
xor eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
push eax
push esi
push esi
call fcn.004013a0
mov ecx, esi
mov edx, ebx
add esp, 0xc
add edi, 0x10
mov eax, dword [ecx]
add ebx, 0x10
mov dword [edx], eax
dec ebp
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
jne 0x401042
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, eax
dec eax
test edx, edx
je 0x401195
lea ebp, [eax + 1]
mov al, byte [edi]
mov cl, byte [esi]
mov dl, byte [esi + 1]
xor cl, al
mov al, byte [esi + 2]
mov byte [esi], cl
mov cl, byte [edi + 1]
xor dl, cl
mov cl, byte [esi + 3]
mov byte [esi + 1], dl
mov dl, byte [edi + 2]
xor al, dl
mov dl, byte [esi + 4]
mov byte [esi + 2], al
mov al, byte [edi + 3]
xor cl, al
mov al, byte [esi + 5]
mov byte [esi + 3], cl
mov cl, byte [edi + 4]
xor dl, cl
mov cl, byte [esi + 6]
mov byte [esi + 4], dl
mov dl, byte [edi + 5]
xor al, dl
mov dl, byte [esi + 7]
mov byte [esi + 5], al
mov al, byte [edi + 6]
xor cl, al
mov al, byte [esi + 8]
mov byte [esi + 6], cl
mov cl, byte [edi + 7]
xor dl, cl
mov cl, byte [esi + 9]
mov byte [esi + 7], dl
mov dl, byte [edi + 8]
xor al, dl
mov dl, byte [esi + 0xa]
mov byte [esi + 8], al
mov al, byte [edi + 9]
xor cl, al
mov al, byte [esi + 0xb]
mov byte [esi + 9], cl
mov cl, byte [edi + 0xa]
xor dl, cl
mov cl, byte [esi + 0xc]
mov byte [esi + 0xa], dl
mov dl, byte [edi + 0xb]
xor al, dl
mov dl, byte [esi + 0xd]
mov byte [esi + 0xb], al
mov al, byte [edi + 0xc]
xor cl, al
mov al, byte [esi + 0xe]
mov byte [esi + 0xc], cl
mov cl, byte [edi + 0xd]
xor dl, cl
mov cl, byte [esi + 0xf]
mov byte [esi + 0xd], dl
mov dl, byte [edi + 0xe]
xor al, dl
mov byte [esi + 0xe], al
mov al, byte [edi + 0xf]
xor cl, al
mov byte [esi + 0xf], cl
mov ecx, dword [esp + 0x24]
push ecx
push esi
push esi
call fcn.004013a0
mov edx, esi
mov eax, ebx
add esp, 0xc
add edi, 0x10
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
add ebx, 0x10
dec ebp
jne 0x4010b2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x406340
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004064e0
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.004064f0
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
mov ecx, 0x28
lea esi, [esp + 0x4c]
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18c]
push ecx
push edx
push eax
call fcn.00406590
mov ecx, dword [esp + 0x254]
add esp, 0x1c
dec ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 4
inc edx
mov dword [esp + 0x10], edx
je 0x4064cc
push ebx
push ebp
mov dword [esp + 0x10], 0
mov ebx, 1
lea ebp, [esp + 0x1c]
xor edx, edx
mov ecx, 0x28
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x184]
lea edi, [esp + 0xe4]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], edx
mov ecx, ebx
mov dword [esp + 0x28], edx
mov eax, ebx
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov byte [esp + 0x31], cl
mov ecx, dword [esp + 0x238]
mov edx, ebx
shr eax, 0x18
shr edx, 8
mov byte [esp + 0x30], al
mov byte [esp + 0x32], dl
test ecx, ecx
mov byte [esp + 0x33], bl
mov eax, 4
jbe 0x406489
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.00406590
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x3c]
push eax
push 0x14
push ecx
call fcn.00406640
add esp, 0x18
xor eax, eax
mov dl, byte [esp + eax + 0x30]
mov cl, byte [esp + eax + 0x1c]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x14
jb 0x406458
mov ecx, 0x28
lea esi, [esp + 0x44]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x40642c
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [esp + 0x240]
jae 0x4064ac
mov esi, dword [esp + 0x23c]
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x40648f
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebx
add esi, 0x14
sub ebp, 0x14
mov dword [esp + 0x10], esi
lea eax, [ebx - 1]
cmp eax, ecx
jb 0x4063ce
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x214
ret 0x1c

Function at 0x406590
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x406615
cmp eax, 0x40
jbe 0x4065bc
lea eax, [esi + 0x40]
push eax
push esi
call fcn.00408090
add esp, 8
mov dword [esi + 0x9c], 0x14
mov edx, dword [esi + 0x9c]
mov ecx, 0x40
push edi
sub ecx, edx
lea edi, [edx + esi]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x36363636
dec ecx
mov dword [eax - 4], edx
jne 0x4065e4
lea edi, [esi + 0x40]
push edi
call fcn.00407f80
push edi
push 0x40
push esi
call fcn.00407fc0
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40662f
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00407fc0
add esp, 0xc
pop esi
ret
Function at 0x406640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x9c], 0xffffffff
je 0x40665f
push edi
push 0
push 0
call fcn.00406590
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push esi
push eax
call fcn.00408090
add esp, 8
mov eax, edi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edx
jne 0x406677
push esi
call fcn.00407f80
push esi
push 0x40
push edi
call fcn.00407fc0
push esi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
call fcn.00407fc0
lea edx, [esp + 0x24]
push esi
push edx
call fcn.00408090
mov ecx, dword [esp + 0x48]
add esp, 0x24
test ecx, ecx
jbe 0x4066d0
mov edi, dword [esp + 0x20]
mov eax, ecx
lea esi, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x407f80
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x408f60
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x420638]
sub esp, 0x78
lea ecx, [eax + 0x734]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x420638]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, eax
mov eax, dword [0x420638]
cmp byte [ecx + eax + 0x733], 0x5c
je 0x408fa8
push 0x41d1c8
push eax
call esi
mov eax, dword [0x420638]
push str.DWRCS.cfg
push eax
call esi
mov edx, dword [0x420638]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
lea eax, [esp + 8]
push 0x78
push eax
push 0x420634
push str.Silent
push str.Config
call esi
cmp byte [esp + 4], 0x31
jne 0x408fec
mov ecx, dword [0x420638]
mov dword [ecx + 0x410], 1
mov edx, dword [0x420638]
lea eax, [esp + 4]
push edx
push 0x78
push eax
push 0x420634
push str.Remove
push str.Config
call esi
cmp byte [esp + 4], 0x31
jne 0x409022
mov ecx, dword [0x420638]
mov dword [ecx + 0x414], 1
mov eax, dword [0x420638]
push eax
add eax, 0x630
push 0x104
push eax
push 0x420634
push str.Domain
push str.Config
call esi
mov eax, dword [0x420638]
mov ecx, dword [eax + 0x410]
test ecx, ecx
jne 0x409092
push eax
add eax, 0x208
push 0x104
push eax
push 0x420634
push str.Caption
push str.Config
call esi
mov eax, dword [0x420638]
push eax
add eax, 0x30c
push 0x104
push eax
push 0x420634
push str.Window_Text
push str.Config
call esi
mov eax, 1
pop esi
add esp, 0x78
ret
Function at 0x409630
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x415bab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov ecx, dword [0x41d368]
mov edx, dword [0x41d36c]
mov eax, dword [str.AESINS4_40_0FKH]
mov dword [esp + 8], ecx
mov cl, byte [0x41d374]
push ebx
mov dword [esp + 0x10], edx
push esi
mov dword [esp + 0xc], eax
mov eax, dword [0x41d370]
lea edx, [esp + 0xc]
push edi
mov byte [esp + 0x20], cl
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00406100
mov eax, dword [0x420638]
lea ecx, [esp + 0x48]
add eax, 0x734
xor edi, edi
push eax
push ecx
mov dword [esp + 0x15c], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x47]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x4096d1
lea eax, [esp + 0x48]
push 0x41d1c8
push eax
call esi
lea ecx, [esp + 0x48]
push str.DWRCSSet.cfg
push ecx
call esi
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x5c]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or ebx, 0xffffffff
cmp esi, edi
je 0x40972e
cmp esi, ebx
je 0x40972e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push edi
mov edi, dword [esp + 0x160]
push eax
push 0x4158
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x409758
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x154], ebx
lea ecx, [esp + 0x24]
call fcn.00406170
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
add esp, 0x14c
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4158
push edi
lea ecx, [esp + 0x2c]
call fcn.004062a0
test eax, eax
mov dword [esp + 0x154], ebx
lea ecx, [esp + 0x24]
je 0x409739
call fcn.00406170
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14c
ret
Function at 0x4097b0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4158
call fcn.00410060
push ebx
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
call fcn.00409630
add esp, 4
lea ecx, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x120], ebx
push 0x104
push ecx
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0xf]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x409829
lea eax, [esp + 0x10]
push 0x41d1c8
push eax
call esi
lea ecx, [esp + 0x10]
push str.DWRCS.ini
push ecx
call esi
push str.DWRCSET.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x40986a
push str.DWRC_WriteAllSettings
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x409863
lea edx, [esp + 0xc]
push edx
call eax
test eax, eax
je 0x409863
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x4158
ret

Function at 0x409880
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push edi
mov edi, dword [0x420640]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 7]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x4098c4
lea edx, [esp + 8]
push 0x41d1c8
push edx
call esi
lea eax, [esp + 8]
push str.DWRCS.EXE
push eax
call esi
mov eax, dword [0x420644]
test eax, eax
je 0x4098ea
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4098ea
mov edi, dword [0x420644]
push 1
push 0x420634
lea ecx, [esp + 0x10]
push str._install
push ecx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
pop edi
sbb eax, eax
pop esi
inc eax
add esp, 0x104
ret

Function at 0x4099a0
Capabilities:
Copy file
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebp
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0xc]
push ecx
call edi
mov cl, byte [esp + eax + 0xb]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x4099e1
lea edx, [esp + 0xc]
push 0x41d1c8
push edx
call esi
mov ebp, dword [esp + 0x218]
lea eax, [esp + 0xc]
push ebp
push eax
call esi
mov ecx, dword [0x420638]
lea edx, [esp + 0x110]
add ecx, 0x734
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x110]
push eax
call edi
cmp byte [esp + eax + 0x10f], 0x5c
je 0x409a2e
lea ecx, [esp + 0x110]
push 0x41d1c8
push ecx
call esi
lea edx, [esp + 0x110]
push ebp
push edx
call esi
lea eax, [esp + 0xc]
push 0
lea ecx, [esp + 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebp
add esp, 0x208
ret
Function at 0x409fb0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x409fce
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push 0
push 0x420634
push 1
push 0
push str.DWMRCS
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push str.DWMRCS
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x40a00c
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret

Function at 0x40a1a0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 3]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x40a1dd
lea edx, [esp + 4]
push 0x41d1c8
push edx
call esi
lea eax, [esp + 4]
push str.DWRCS.ini
push eax
call esi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
add esp, 0x104
ret

Function at 0x40a200
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 3]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x40a23d
lea edx, [esp + 4]
push 0x41d1c8
push edx
call esi
lea eax, [esp + 4]
push str.DWRCS.exe
push eax
call esi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
add esp, 0x104
ret