joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408700
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
mov word [ebp - 6], ax
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - 0x6a4], 0
movups xmmword [ebp - 0x16], xmm0
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0057f790
push 0x208
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00578b50
push 0x208
lea eax, [ebp - 0x48c]
push 0
push eax
call fcn.00578b50
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], 0
push 0
push eax
mov dword [ebp - 0x6a0], 0
mov dword [ebp - 0x69c], 0
call fcn.00578b50
add esp, 0x30
lea eax, [ebp - 0x48c]
push 0x104
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push 0x104
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x408811
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00401980
add esp, 0xc
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x7c], 0
jne 0x40882c
xor eax, eax
jmp 0x40883b
lea eax, [ebp - 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408832
sub eax, edx
push eax
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004075c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 4
Function at 0x40bfc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59edbe
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x810]
push 0x800
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], 0
call fcn.00578b50
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40c02d
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push str.guanf
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c075
mov eax, dword [esi]
jmp 0x40c077
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x810], cx
je 0x40c09f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c090
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00404030
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x82c], 1
jb 0x40c0c9
mov eax, dword [esi]
jmp 0x40c0cb
mov eax, esi
mov ecx, str.guanf
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c0f6
test dx, dx
je 0x40c0f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c0f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c0d0
xor eax, eax
jmp 0x40c0fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40c1d8
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push str.guanf
push str.Spreader
push str.AppInfo
push eax
je 0x40c175
mov ecx, edi
call fcn.0040c3e0
mov edi, eax
cmp esi, edi
je 0x40c166
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40c13f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004043b0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c157
mov eax, dword [esi]
jmp 0x40c159
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00404250
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x40c1d8
inc ecx
push ecx
jmp 0x40c1c7
call fcn.0040c3b0
mov edi, eax
cmp esi, edi
je 0x40c1ba
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40c193
inc ecx
push ecx
push dword [esi]
mov ecx, esi
call fcn.004043b0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c1ab
mov eax, dword [esi]
jmp 0x40c1ad
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00404250
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40c1d8
inc eax
push eax
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.004043b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ee07
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xa0], 8
lea eax, [esi + 0x8c]
jb 0x40c23f
mov eax, dword [eax]
push eax
push 0
push str.34a12a17
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40c38c
push eax
push 0x61b488
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], eax
mov word [ebp - 0x828], ax
call fcn.00404030
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00578b50
push 0
lea eax, [ebp - 0x810]
push 0x61b8bc
push eax
call fcn.00409380
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [esi + 5], 0
push eax
push str.34a12a17
lea eax, [ebp - 0x840]
push str.Setting
push eax
je 0x40c2db
mov ecx, esi
call fcn.0040c3e0
mov esi, eax
jmp 0x40c2e2
call fcn.0040c3b0
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40c32f
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40c30a
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.004043b0
xor eax, eax
mov dword [ebp - 0x814], 7
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], eax
mov word [ebp - 0x828], ax
call fcn.00404250
mov eax, dword [ebp - 0x82c]
cmp eax, 8
jb 0x40c34d
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.004043b0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00580486
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40c38a
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.004043b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4138a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov dword [esp + 0xc], ecx
test edi, edi
jle 0x4139b9
lea eax, [ecx + 0x80]
mov dword [esp + 0x1c], eax
lea edx, [ebx + 2]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
lea esi, [eax + 2]
sub eax, ebx
lea ecx, [eax - 2]
lea eax, [edi - 1]
mov dword [esp + 0x18], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
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]
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.00412f60
mov ecx, dword [esp + 0x10]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
movzx eax, byte [ecx + 0x100]
mov ecx, dword [esp + 0x18]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], 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 [esp + 0x14], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [esp + 0x18]
jne 0x4138e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418e30
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x428], ecx
push eax
push 9
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x41c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x418e87
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x418f94
nop dword [eax + eax]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x418f72
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00578b50
add esp, 0xc
mov dword [ebp - 0x424], 1
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418f66
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00577d2d
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x418f94
push 0x104
lea eax, [ebp - 0x20c]
inc edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x418ed0
push dword [ebp - 0x418]
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00572ac9
mov esp, ebp
pop ebp
ret
Function at 0x418fc0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x428], ecx
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], esi
push esi
push eax
mov dword [ebp - 0x41c], esi
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x419124
push 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x419114
nop dword [eax]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4190f2
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00578b50
add esp, 0xc
mov dword [ebp - 0x424], 1
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4190e6
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00577d2d
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x419114
push 0x104
lea eax, [ebp - 0x20c]
inc edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x419050
push dword [ebp - 0x418]
call ebx
test esi, esi
jne 0x41923c
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x61d650
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41923c
push 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x419234
nop word [eax + eax]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x419212
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00578b50
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419206
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00577d2d
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x419234
push 0x104
lea eax, [ebp - 0x20c]
inc edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x419170
push dword [ebp - 0x418]
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00572ac9
mov esp, ebp
pop ebp
ret
Function at 0x419250
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
mov dword [ebp - 0x214], ecx
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], edi
push edi
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push edi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419318
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
xor esi, esi
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x41930a
nop dword [eax + eax]
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.005855a8
add esp, 8
test eax, eax
je 0x419305
push 0x104
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x4192d0
jmp 0x41930a
mov edi, 1
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00572ac9
mov esp, ebp
pop ebp
ret
Function at 0x41adb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ff36
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x208
push 0
push eax
call fcn.00578b50
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
add esp, 0xc
push 0
push 0x19
push eax
push 0
call esi
test eax, eax
je 0x41aeed
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x41ae3e
xor ecx, ecx
jmp 0x41ae56
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae47
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00404030
push 1
push 0x61b718
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.0040c670
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push ebx
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.0041b000
mov edi, eax
test edi, edi
je 0x41aec8
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x41aec1
inc ecx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.004043b0
mov eax, edi
jmp 0x41afd5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x41aeed
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.004043b0
push 0
push 0x10
lea eax, [ebp - 0x21c]
push eax
push 0
call esi
test eax, eax
je 0x41afd3
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x21c], ax
jne 0x41af2e
xor ecx, ecx
jmp 0x41af46
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41af37
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404030
push 1
push 0x61b718
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.0040c670
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push ebx
cmovae eax, dword [ebp - 0x24c]
push eax
call fcn.0041b000
mov esi, eax
test esi, esi
je 0x41afb5
mov ecx, dword [ebp - 0x238]
cmp ecx, 8
jb 0x41afb1
inc ecx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.004043b0
mov eax, esi
jmp 0x41afd5
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x41afd3
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.004043b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 4
Function at 0x41c2d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c361
lea eax, [ebp - 0x20c]
push eax
call fcn.005858a6
lea eax, [ebp - 0x20c]
push 0x61da14
push eax
call fcn.00577d2d
add esp, 0xc
test eax, eax
jne 0x41c34c
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00577d2d
add esp, 8
test eax, eax
je 0x41c361
mov al, 1
mov byte [0x62f779], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x62f779]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret

Function at 0x41c380
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x62f779]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
push edi
test al, al
jne 0x41c39a
call fcn.0041c2d0
mov edi, 1
test al, al
je 0x41c3ec
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.0041c410
test al, al
je 0x41c3ec
push esi
push edi
push dword [ebp - 4]
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
cmove ebx, edi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x41c3ec
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x26
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
movzx ecx, bl
cmovne ecx, edi
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41c4c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x214]
push esi
push edi
push 0x208
push 0
push eax
mov esi, ecx
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x214]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c546
lea edi, [ebp - 0x214]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41c511
mov eax, dword [0x61b718]
mov ecx, esi
mov dword [edi], eax
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.0041c560
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 4
Function at 0x41cdf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0188
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x629a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00405780
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00405920
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x41ceb2
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cf21
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x41ced9
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cf21
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41cefa
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41cf21
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x41cf31
push eax
call esi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41cf3b
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc