joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4173f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xb8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov eax, dword [ebp + 0x38]
push 3
xor edi, edi
push 0x110a
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call ebx
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x4175f9
mov ecx, dword [ebp + 0x38]
push eax
push 4
push 0x110a
push ecx
call ebx
mov esi, eax
mov dword [esp + 0x1c], edi
cmp esi, edi
je 0x4174db
lea edx, [esp + 0xa0]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xa4]
push edx
push eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x38]
push 0x110c
push eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], 0x22
call ebx
test eax, eax
je 0x417491
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
jmp 0x417495
mov eax, dword [esp + 0x1c]
cmp eax, 4
jne 0x4174a0
inc dword [esp + 0x18]
jmp 0x4174bb
test eax, eax
je 0x4174a9
cmp eax, 3
jne 0x4174ad
inc dword [esp + 0x10]
cmp eax, 1
je 0x4174b7
cmp eax, 2
jne 0x4174bb
inc dword [esp + 0x14]
mov ecx, dword [ebp + 0x38]
push esi
push 1
push 0x110a
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x41744a
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x417542
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x7c]
mov edx, dword [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x38]
mov eax, 1
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x78]
xor esi, esi
push eax
push esi
push 0x110d
push ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], 0x22
mov dword [esp + 0x98], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0xac], esi
call ebx
jmp 0x417544
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x417594
mov edx, dword [esp + 0x20]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x38]
lea eax, [esp + 0x28]
push eax
push esi
push 0x110d
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], 0x22
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x5c], esi
call ebx
jmp 0x41759c
jle 0x41759c
cmp dword [esp + 0x10], esi
jg 0x4175a2
cmp dword [esp + 0x18], esi
je 0x4175f0
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x54]
mov edx, dword [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x38]
mov eax, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x54], edx
push eax
push esi
push 0x110d
push ecx
mov dword [esp + 0x60], 0x22
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x84], esi
call ebx
mov eax, dword [esp + 0x20]
jmp 0x417406
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
Function at 0x417610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
push eax
lea ebx, [edi + 0x38]
push 4
push 0x110a
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x10], ebp
je 0x4177fa
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x6c]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
push edx
push ebp
push 0x110c
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 0x22
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x417688
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x94]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
push edx
push ebp
push 0x110c
push eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], 4
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0xb4]
neg eax
sbb eax, eax
and eax, edx
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4176e2
cmp eax, 1
jne 0x4177c1
mov eax, dword [esp + 0xc4]
cmp eax, ebp
je 0x4176f2
cmp eax, 1
jne 0x417709
mov eax, dword [esp + 0xc0]
push ebp
push ebp
push ebp
push eax
push eax
push ebp
push 0x22
push esi
mov ecx, ebx
call fcn.00417de0
mov eax, dword [esp + 0xc4]
cmp eax, 3
jne 0x417772
cmp dword [edi + 4], ebp
je 0x417731
push ebp
push ebp
push ebp
push 1
push 1
push ebp
push 0x22
push esi
mov ecx, ebx
call fcn.00417de0
jmp 0x4177c1
mov edx, dword [ebx]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
push ecx
push ebp
push 0x110d
mov dword [esp + 0x24], 0x22
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ebp
push edx
jmp 0x4177bb
cmp eax, 2
jne 0x4177c1
cmp dword [edi + 0xc], ebp
jne 0x41771a
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
push ebp
push 0x110d
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0x22
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x70], ebp
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00417610
mov ecx, dword [ebx]
push esi
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, ebp
jne 0x41764c
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xbc]
cmp eax, 0xffff0000
je 0x417810
push eax
mov ecx, edi
call fcn.004173f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0xc
Function at 0x418baa
Capabilities:
Get disk information
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x43b3b8]
cmp eax, 3
je 0x418bd1
cmp eax, 7
je 0x418bd1
cmp eax, 4
jne 0x418be7
mov cl, byte [0x4397e1]
test cl, cl
jne 0x418be7
mov ecx, esi
call fcn.00418d20
mov eax, dword [0x43b3b8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 6
jne 0x418c45
mov ecx, dword [esi + 4]
push 0x412
push ecx
call ebp
test eax, eax
mov eax, 0x435398
jne 0x418c12
mov eax, 0x435394
push 0x4397f8
push eax
push str.RemoveFolder
push str.UNINSTALL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [esi + 0x28]
push 0
push 0
push 0x18b
push edx
call edi
test eax, eax
jne 0x418c45
mov ecx, 0x4397a8
call fcn.0040e2f0
mov eax, dword [esi + 4]
push 0x3f4
push eax
call ebp
test eax, eax
pop ebp
je 0x418ce1
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0x83
push ecx
call fcn.00422b30
push 2
lea edx, [esp + 0x1c]
push 0x439fba
push edx
mov byte [esp + 0x24], 0
mov word [esp + 0x25], 0
call fcn.0042747e
add esp, 0x18
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x418cab
mov ecx, dword [esp + 0x10]
push 0
push 0x40
push ecx
call fcn.00422db0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4350bc]
mov byte [0x439c25], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x418ce1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x418ce1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00426ac0
add esp, 4
mov ecx, dword [esi + 4]
push ecx
call ebx
mov esi, eax
push 0x3f0
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x3f0
push 0x111
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x10
Function at 0x419246
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x38]
lea ecx, [esp + 8]
push eax
push 0x436028
push ecx
call fcn.00426b7c
mov eax, dword [esi + 4]
add esp, 0xc
lea edx, [esp + 8]
push 5
push 0
push edx
push str.notepad.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret 0x10

Function at 0x41996e
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x130
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 2
push 0xffffffffffffffff
mov eax, dword [esi + 0x24]
xor ebx, ebx
push 0x100c
push eax
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
call ebp
mov edx, eax
cmp edx, ebx
jl 0x419a26
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x12]
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x24]
push eax
push edx
push 0x102d
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], 2
call ebp
cmp byte [esp + 0x12], bl
je 0x419a26
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
rep stosd dword es:[edi], eax
mov edx, dword [esi + 4]
push 0x40f
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push edx
call edi
lea ecx, [esp + 0x3c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
mov dl, byte [esp + 0x12]
push 0x40f
push eax
mov byte [esp + 0x44], dl
call edi
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x130
ret 0xc

Function at 0x419a46
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x40f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 8]
push 0x208
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x104
jbe 0x419abf
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x3eb
push 0x1410
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0041ac80
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 0x10
Function at 0x41a300
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 0x20]
push 5
push ecx
call edi
mov eax, dword [esi + 0x20]
pop edi
pop esi
ret 0x10
Function at 0x41b280
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call fcn.00422d60
mov al, byte [0x439c23]
add esp, 4
test al, al
je 0x41b2d0
cmp dword [0x43b3b8], 3
jne 0x41b2d0
mov ecx, dword [esi + 4]
push 0x3ee
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 1
push 0x3ee
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x41c630
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x43b3b4]
stosw word es:[edi], ax
test ecx, ecx
stosb byte es:[edi], al
je 0x41c678
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push 0x439fba
lea ecx, [esp + 0x1c]
push str._slics_d.txt
push ecx
call fcn.00426b7c
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
lea edx, [esp + 0x28]
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41c6a9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.00428461
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c6e3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00428378
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41c714
push esi
call fcn.00428378
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [edi + 0x64]
mov byte [esi + edi], 0
push ebx
call fcn.00426d08
mov edx, dword [0x439c2c]
add esp, 4
mov edi, eax
mov ecx, ebp
push ebx
push edi
push esi
push edx
call fcn.0041c770
mov eax, dword [ebp + 4]
push edi
push 0x3f1
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call fcn.00426ac0
push esi
call fcn.00428378
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x41cb32
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call fcn.00422d60
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 0x414
push ecx
call edi
push 0x439db2
push eax
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 4]
push 0x413
push edx
call edi
mov ecx, esi
mov dword [esi + 0x34], eax
call fcn.0041d3f0
mov al, byte [0x439c26]
mov ebp, dword [sym.imp.USER32.dll_CheckDlgButton]
test al, al
push 0x443
je 0x41cbab
mov eax, dword [esi + 4]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 1
push 0x443
push ecx
call ebp
jmp 0x41cbbc
mov edx, dword [esi + 4]
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov al, byte [0x439c27]
push 0x444
test al, al
je 0x41cbeb
mov eax, dword [esi + 4]
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 1
push 0x444
push ecx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi + 4]
push edx
call edi
push 0
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x41d3f0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14d]
mov byte [esp + 0x14c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14c]
push 0x104
push eax
mov ecx, esi
call fcn.0041d4e0
lea ecx, [esp + 0x14c]
push 0x43608c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41d463
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x244
ret
mov al, byte [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test al, 0x10
je 0x41d48a
cmp byte [esp + 0x38], 0x2e
je 0x41d48a
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x180
push edx
call edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x10]
push eax
push ebp
call ebx
test eax, eax
je 0x41d4bf
test byte [esp + 0x10], 0x10
je 0x41d491
cmp byte [esp + 0x3c], 0x2e
je 0x41d491
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x180
push edx
call edi
jmp 0x41d491
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x244
ret

Function at 0x41d4e0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x9c
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x41d52c
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push ecx
push edx
mov ecx, esi
call fcn.0041d5c0
pop esi
add esp, 0x9c
ret 8
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0xa4]
test eax, eax
jne 0x41d57e
mov eax, dword [esp + 4]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xc]
push esi
push edx
push 0
push str.Programs
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41d5a4
mov edx, dword [esp + 0xa8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Start_MenuPrograms
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
add esp, 0x9c
ret 8
Function at 0x41d5c0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x41d620
mov ecx, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push esi
push eax
push 0
push str.Common_Programs
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x14], eax
mov eax, 1
pop esi
add esp, 8
ret 8

Function at 0x41da40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call fcn.00422d60
add esp, 4
lea edi, [esi + 0x30]
push 0x43ae74
push str._s_rsconfig.dll
push edi
call fcn.00426b7c
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x134], eax
je 0x41da8f
push str.HasPassWord
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41da8f
call eax
mov dword [esi + 0x2c], eax
mov eax, dword [0x43b3b8]
push 1
cmp eax, 6
jne 0x41daac
mov ecx, dword [esi + 4]
push 0x402
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x41dac5
mov edx, dword [esi + 4]
push 0x406
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [0x43b3b8], 7
mov eax, dword [esi + 0x2c]
mov ecx, esi
push eax
call fcn.0041e200
mov al, byte [0x439c24]
test al, al
jne 0x41db4a
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x10], 0x406
mov dword [esp + 0x14], 0x3f8
mov dword [esp + 0x18], 0x3f7
lea edi, [esp + 0x10]
mov ebx, 3
mov ecx, dword [edi]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebp
add edi, 4
dec ebx
jne 0x41db02
mov eax, dword [esi + 4]
push 0x406
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
pop ebp
pop ebx
test eax, eax
je 0x41db4a
mov dword [0x43b3b8], 4
mov ecx, dword [esi + 4]
push 1
push 0x401
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 8
Function at 0x41fefb
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov bl, byte [0x439a18]
push ebp
xor eax, eax
push esi
mov esi, ecx
test bl, bl
sete al
mov dword [esi + 0x30], eax
mov dl, byte [0x439a19]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x404
test dl, dl
mov edx, dword [esi + 4]
sete cl
push edx
mov dword [esi + 0x34], ecx
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push 0x456
push eax
call edi
mov ecx, dword [esi + 4]
push 0x457
push ecx
mov dword [esi + 0x3c], eax
call edi
mov edx, dword [esi + 4]
push 0x458
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push 0x521
push eax
call edi
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
lea ebp, [esi + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x44]
mov dword [ebp], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
mov al, byte [0x439a18]
test al, al
jne 0x41ffbe
mov dword [esp + 0x10], 4
mov eax, dword [ebp]
push 0
push eax
call ebx
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x41ff98
mov ecx, dword [esi + 4]
push 0x425
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x521
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x424
push eax
call edi
push 0
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x43a1c2
call ebp
test eax, eax
je 0x41ffff
mov ecx, dword [esi + 4]
push 0x142
push ecx
call edi
push 5
push eax
call ebx
push 0x43a2c6
call ebp
test eax, eax
je 0x42001a
mov edx, dword [esi + 4]
push 0x143
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push eax
call fcn.00422d60
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push 0x70
push ecx
call fcn.00422b30
mov edx, dword [esi + 4]
mov ebx, dword [eax]
add esp, 0x10
push 0x426
push edx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4350bc]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x42007c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42007c
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
xor eax, eax
pop ecx
ret 8

Function at 0x420332
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 4]
push 0x142
push eax
call edi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp ebx, eax
jne 0x42036c
push 5
push 0
push 0x43965c
push 0x43a1c2
push str.Open
push 0
call ebp
mov ecx, dword [esi + 4]
push 0x143
push ecx
call edi
cmp ebx, eax
jne 0x420392
push 5
push 0
push 0x43965c
push 0x43a2c6
push str.Open
push 0
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10