joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1039680
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x10460f8
call fcn.010367ae
push dword [ebp - 8]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x453
push edi
call esi
push dword [ebp - 0x20]
push 0x44d
push edi
call esi
mov eax, dword [ebp - 4]
and eax, 1
push eax
push 0x44e
push edi
call esi
xor eax, eax
cmp dword [ebp - 0x18], eax
sete al
push eax
push 0x44f
push edi
call esi
push 0x40000070
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x1039702
push 0
push 0x44f
push dword [ebp + 8]
call edi
push eax
call ebx
push 0x4000006b
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1039720
push 0
push 0x453
push dword [ebp + 8]
call edi
push eax
call ebx
xor eax, eax
cmp dword [ebp - 0x14], eax
jne 0x103974b
cmp dword [ebp - 0x10], eax
jne 0x103974b
push dword [ebp - 0xc]
push 0x3ef
push dword [ebp + 8]
call edi
push eax
call ebx
push dword [ebp - 0xc]
push 0x3e8
push dword [ebp + 8]
call esi
jmp 0x1039777
push eax
push 0x3e8
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 0x3ef
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 0x452
push dword [ebp + 8]
call edi
push eax
call ebx
call fcn.01017bd3
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push dword [ebp + 8]
call esi
call fcn.01017509
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push dword [ebp + 8]
call edi
push eax
call ebx
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x10397c8
push 0
push 0x450
push dword [ebp + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10397ec
push 1
push 0
push 0x1015e7c
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x10397ec
push 1
push 0x450
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call fcn.0103757a
push dword [ebp + 8]
call fcn.01038c18
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1039808
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
push 0x44d
push dword [ebp + 8]
call esi
mov edi, 0x10460f8
push eax
mov ecx, edi
call fcn.01030aec
mov ebx, 0x44e
push ebx
push dword [ebp + 8]
call esi
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0103388b
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.010367ae
mov eax, dword [ebp - 4]
shr eax, 0x10
test ax, ax
jne 0x103987f
xor eax, eax
cmp dword [ebp - 8], eax
je 0x1039881
test byte [ebp - 0x14], 1
jne 0x1039881
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [ebp + 8]
call fcn.01038c18
xor eax, eax
cmp word [ebp - 4], ax
je 0x1039892
push eax
push eax
push eax
push eax
mov ecx, edi
call fcn.010025fb
push 0x44f
push dword [ebp + 8]
call esi
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ebx
jne 0x10398ca
cmp dword [ebp - 0x20], 0
jne 0x10398ca
push 0x3e8
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], eax
je 0x10398ca
push eax
mov dword [ebp - 0x1c], eax
call fcn.0103744d
push 0x453
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.01036819
push ebx
push 0
push 0x402
push dword [0x10464a0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.0101d75e
push 0x451
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
neg eax
sbb eax, eax
push 2
inc eax
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0x1017bf8
mov ebx, 0x100bde0
push ebx
call edi
push 0x450
push dword [ebp + 8]
call esi
push 2
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x1015e7c
push ebx
call edi
push 0
push 0x3e8
push 8
push 0x1029d28
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103ac5e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x103ac91
push esi
lea ecx, [ebp + 8]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x103ac91
xor eax, eax
jmp 0x103acbd
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x103acad
xor edi, edi
inc edi
cmp dword [ebp + 0xc], esi
je 0x103acbb
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x103addd
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
push 0x10
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x20], 1
call fcn.010216ab
test eax, eax
pop edi
jne 0x103ae48
test byte [ebp + 0x10], 8
je 0x103ae21
mov dword [ebp - 0x30], 0x1029e1c
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHCloneSpecialIDList]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x103ae48
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret 0xc

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x103af61
push 0x103af6c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x103af61
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xor eax, eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x22e], ax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x20c]
push eax
push eax
mov dword [ebp - 0x260], 0x44
mov word [ebp - 0x230], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x103af61
push esi
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x218]
call esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01001aff
leave
ret
Function at 0x103b0b6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x728
mov eax, dword [0x1046080]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x103b290
lea eax, [ebp - 0x30c]
push 0x80
xor esi, esi
push eax
mov dword [ebp - 0x728], esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push esi
lea eax, [ebp - 0x724]
push eax
push esi
push 0x20019
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x103b228
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x103b270
push dword [ebp - 0x724]
mov dword [ebp - 0x720], 0x208
mov word [ebp - 0x20c], si
call ebx
test eax, eax
je 0x103b1fa
push edi
push esi
push esi
push esi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push 0x103b258
push dword [ebp - 0x724]
mov edi, 0x104
mov dword [ebp - 0x720], edi
call ebx
test eax, eax
mov dword [ebp - 0x720], edi
lea eax, [ebp - 0x720]
jne 0x103b1a8
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x514]
push eax
push 2
push 0x40
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
jmp 0x103b1f9
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push 0x103b23c
push dword [ebp - 0x724]
call ebx
test eax, eax
jne 0x103b1f9
push edi
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0x71c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
mov word [ebp - 0x20c], si
mov dword [ebp - 0x728], 1
pop edi
cmp word [ebp - 0x20c], si
pop ebx
je 0x103b21c
push 9
lea eax, [ebp - 0x20c]
push eax
call fcn.010128d9
mov dword [ebp - 0x728], 1
push dword [ebp - 0x724]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x728]
pop esi
call fcn.01001aff
leave
ret 4
Function at 0x103b9f1
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x1046080]
and dword [ebp - 0x418], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x14]
push 0x10
pop ecx
mov dword [ebp - 0x41c], eax
xor eax, eax
push ebx
lea edi, [ebp - 0x464]
rep stosd dword es:[edi], eax
push 0x102
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x468], 0x44
call fcn.0100660f
test eax, eax
jl 0x103bac7
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x103badc
mov esi, 0x208
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0101e2e9
xor edi, edi
cmp eax, edi
jl 0x103bac6
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0101e2e9
cmp eax, edi
jl 0x103bac6
push dword [ebp - 0x41c]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x414]
push edi
push edi
push edi
push edi
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x418], eax
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop ebx
call fcn.01001aff
leave
ret 0x10

Function at 0x103cd02
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x103cd63
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x103cd5a
cmp dword [ebp - 0xc], 4
je 0x103cd5a
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x103cda6
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x103cd9d
cmp dword [ebp - 0xc], esi
je 0x103cd9d
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x103cdb5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1046080]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x10c]
push edx
push 1
xor esi, esi
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x103ce2b
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.01001aff
leave
ret 0xc

Function at 0x103cfef
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x100bde0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103d041
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1019a48
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x103d04b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10476e8]
cmp eax, 0xffffffff
jne 0x103d0cf
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x103d0e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x103d0be
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x103d0d4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x103d0b5
cmp dword [ebp - 0xc], 4
jne 0x103d0b5
cmp dword [ebp - 0x10], eax
je 0x103d0b5
mov dword [0x10476e8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10476e8]
cmp eax, 0xffffffff
jne 0x103d0cf
xor eax, eax
mov dword [0x10476e8], eax
leave
ret
Function at 0x103df05
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push 0x103e120
push dword [0x1047380]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x100ec1c
push 0x1029cb0
push dword [0x1047380]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x103df41
call fcn.01036ef7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push 0x103e0c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103e099
push esi
push edi
push 0x1014420
call fcn.0103da7e
push 0x1016960
mov dword [ebp - 0xc], eax
call fcn.0103da7e
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
call fcn.0103db03
push 3
pop esi
push ebx
push 4
push 0x103e0b0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0103db3e
mov dword [ebp + esi*4 - 0x4c], eax
inc esi
cmp esi, 6
jb 0x103df97
lea ecx, [ebp - 0x1c]
call fcn.0103db03
xor edi, edi
lea esi, [ebp + edi*4 - 0x4c]
cmp dword [esi], ebx
jne 0x103dfde
push 1
push 0x10
push 0x103e0a0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0103db3e
mov dword [esi], eax
inc edi
cmp edi, 6
jb 0x103dfbf
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x24]
push eax
call fcn.010080d9
push 0x13
xor esi, esi
pop ebx
mov edi, dword [ebp + esi*4 - 0x4c]
test edi, edi
je 0x103e065
push 0x26
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x103e02c
lea eax, [ebx + 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x103e02f
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x1009b9c
push edi
call fcn.0100bb43
test eax, eax
jl 0x103e065
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x10083b4
call fcn.0102ba6e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
dec ebx
cmp esi, 6
jb 0x103e010
xor esi, esi
push dword [ebp + esi*4 - 0x4c]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x103e06e
push dword [ebp - 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x103e2a2
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 1
push 0x1014480
push 0x1016bb0
mov esi, ecx
xor ebx, ebx
push SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x103e3ee
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x14], 9
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x103e3ca
mov dword [ebp - 8], ebx
add esi, 0x38
push edi
push dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.0100802f
test eax, eax
je 0x103e3b2
mov eax, dword [ebp - 8]
movzx eax, byte [eax*8 + 0x1007fd0]
push eax
push dword [ebp - 4]
call fcn.0103d5e8
test eax, eax
jl 0x103e3c9
mov eax, dword [esi]
cmp eax, ebx
je 0x103e3a2
cmp dword [esi + 8], ebx
je 0x103e3a2
cmp dword [eax], ebx
mov dword [ebp - 0xc], ebx
jle 0x103e3a2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
cmp ebx, eax
je 0x103e378
push 0
push dword [ebp - 4]
mov ebx, eax
call fcn.0103d5e8
test eax, eax
jl 0x103e3c9
push dword [ebx + 4]
push dword [esi + 8]
call fcn.0103d605
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x103e3c9
push 1
push dword [ebp - 4]
call fcn.0103d5e8
test eax, eax
jl 0x103e3c9
push dword [edi + 4]
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x103e3c9
inc dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jl 0x103e33e
push 2
push dword [ebp - 4]
call fcn.0103d5e8
test eax, eax
jl 0x103e3c9
xor ebx, ebx
inc dword [ebp - 8]
add esi, 0x1c
cmp dword [ebp - 8], 6
jb 0x103e2fd
mov dword [ebp - 0x10], 1
pop edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], 0
jne 0x103e3ee
push 0x1014480
push 0x1016bb0
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
pop esi
pop ebx
leave
ret
Function at 0x103f761
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x103f7c0
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x100f91c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
leave
ret 4
Function at 0x10428a2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1046080]
and word [ebp - 0x20c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push dword [esi + 0x250]
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
call edi
push dword [esi + 0x24c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov dword [ebp - 0x218], eax
call esi
push 1
push ebx
mov dword [ebp - 0x220], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
and dword [ebp - 0x210], 0
mov dword [ebp - 0x21c], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x104294f
push 0x1029d6c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x104294f
push 2
push 0
lea eax, [ebp - 0x20c]
push eax
jmp 0x1042958
push 2
push 0
push 0x1029d6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x214], eax
je 0x10429fa
push 0x1042a28
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x224], eax
je 0x10429b6
push 0x64
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 0x210], eax
je 0x10429b6
push 0x32
push eax
call dword [ebp - 0x224]
test eax, eax
jne 0x10429b6
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 0x210], 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x210], 0
je 0x10429fa
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
push ecx
push eax
push dword [ebp - 0x210]
push ecx
push ecx
push 0x12
push 0x46
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x218]
push ebx
call edi
push dword [ebp - 0x220]
push ebx
call esi
push dword [ebp - 0x21c]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001aff
leave
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401497
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x470690]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x408004]
cmp eax, ebx
jne 0x40152c
mov esi, dword [section..rdata]
mov edi, 0x105
jmp 0x4014e9
cmp dword [ebp + 0x10], ebx
jne 0x401520
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.00401497
test eax, eax
jne 0x4014fb
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d0
push dword [ebp - 4]
call dword [0x408008]
push 2
call fcn.00405cf5
cmp eax, ebx
je 0x401533
push ebx
push dword [0x470690]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152c
push dword [ebp - 4]
call dword [0x408008]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x470690], ebx
jne 0x401529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x40800c]
test eax, eax
jne 0x401529
jmp 0x40152c
Function at 0x405ab7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x408004]
test eax, eax
jne 0x405b30
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x4008
push dword [ebp + 0x18]
call dword [0x40801c]
test eax, eax
jne 0x405b19
cmp dword [ebp + 0x14], 1
je 0x405b1e
cmp dword [ebp + 0x14], 2
je 0x405b1e
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x4006], ax
call dword [0x408008]
pop esi
pop ebp
ret 0x14