joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fda78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x69def4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.00407a20
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00407a90
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x40bb00
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bb7d
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x40bb27
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bb7d
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x609b1c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40bb4a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40bb7d
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.00407a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40c3e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feb08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x69def4]
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
call fcn.00407a20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00407a90
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x40c463
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c4d4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x40c48a
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c4d4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x609b1c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40c4ad
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c4d4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
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
lea ecx, [ebp - 0x3c]
call fcn.00407a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40c510
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdb5b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x609cc4
push 0x609cc8
push str.GDsftinf
lea eax, [ebp - 0x230]
push eax
call fcn.0040cde0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov edi, dword [ebp - 0x230]
cmp esi, 8
push 1
push 0x609cc4
push dword [ebp - 0x220]
cmovae eax, edi
mov dword [ebp - 4], 0
push eax
call fcn.00407100
add esp, 0x10
test eax, eax
jne 0x40c622
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4b40
lea eax, [ebx + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40c5bb
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x609cc4
push 0x609cc8
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40c5eb
xor ecx, ecx
jmp 0x40c603
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c5f4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004072f0
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x230]
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, edi
push eax
call fcn.005ded54
mov ecx, dword [ebp - 0x21c]
add esp, 4
mov esi, eax
cmp ecx, 8
jb 0x40c657
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004073f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret
Function at 0x40ce60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdc87
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xa0], 8
lea eax, [esi + 0x8c]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x40cead
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
push eax
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x40cff6
xor eax, eax
mov dword [ebp - 0x814], 7
push eax
push 0x6097e8
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.004072f0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005d4b40
push edi
lea eax, [ebp - 0x810]
push 0x609c8c
push eax
call fcn.0040fd80
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [esi + 5], 0
mov ecx, esi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x40cf45
call fcn.0040ccb0
mov esi, eax
jmp 0x40cf4c
call fcn.0040ce10
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40cf99
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40cf74
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.004073f0
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.00406d00
mov eax, dword [ebp - 0x82c]
cmp eax, 8
jb 0x40cfb7
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.004073f0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.005ded54
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40cff4
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.004073f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdcd2
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], 0
call fcn.005d4b40
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40d0a3
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
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 0x40d0e9
mov eax, dword [esi]
jmp 0x40d0eb
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x810], cx
je 0x40d111
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d102
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004072f0
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 1
jb 0x40d13b
mov eax, dword [esi]
jmp 0x40d13d
mov eax, esi
mov ecx, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d166
test dx, dx
je 0x40d162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d166
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d140
xor eax, eax
jmp 0x40d16b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40d1d2
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x40d1a7
call fcn.0040ccb0
push eax
mov ecx, esi
call fcn.00405ee0
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x40d1d2
inc ecx
push ecx
jmp 0x40d1c1
call fcn.0040ce10
push eax
mov ecx, esi
call fcn.00405ee0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40d1d2
inc eax
push eax
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.004073f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411dd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0
call fcn.0048eec0
mov edi, eax
test edi, edi
je 0x411e15
push 0x609e08
lea eax, [ebp - 4]
push ebx
push eax
call fcn.005ddafc
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x411e1e
push edi
call fcn.0048ee80
add esp, 4
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x2a
push edi
call fcn.0048ef20
push dword [ebp + 8]
push 0x2712
push edi
call fcn.0048ef20
push 1
push 0x34
push edi
mov esi, eax
call fcn.0048ef20
push 0x1e
push 0xd
push edi
call fcn.0048ef20
push 1
push 0x63
push edi
call fcn.0048ef20
push 0x493e0
push 0x9b
push edi
call fcn.0048ef20
add esp, 0x48
test esi, esi
jne 0x411eac
push 0x413250
push 0x4e2b
push edi
call fcn.0048ef20
add esp, 0xc
test eax, eax
jne 0x411eac
push eax
push 0x40
push edi
call fcn.0048ef20
push esi
push 0x51
push edi
call fcn.0048ef20
push dword [ebp - 4]
push 0x2711
push edi
call fcn.0048ef20
add esp, 0x24
test eax, eax
je 0x411ed2
push dword [ebp - 4]
call fcn.005dd8cc
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ebx
call eax
push edi
call fcn.0048ee80
add esp, 4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0048ef00
mov esi, eax
add esp, 4
test esi, esi
je 0x411f26
push dword [ebp - 4]
call fcn.005dd8cc
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ebx
call eax
push esi
call fcn.0048f480
add esp, 4
push eax
push str.curl_easy_perform___failed:__s_n
push 2
call fcn.005d9c4c
add esp, 4
push eax
call fcn.00413260
push edi
call fcn.0048ee80
add esp, 0x10
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push eax
push 0x200002
push edi
call fcn.0048eea0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x411f4e
cmp dword [ebp - 8], 0xc8
je 0x411f53
mov esi, 0x16
push dword [ebp - 4]
call fcn.005dd8cc
push edi
call fcn.0048ee80
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfa4
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0xfa4]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x416cb0
mov ecx, dword [0x60b404]
mov dword [eax], ecx
mov ecx, dword [0x60b408]
mov dword [eax + 4], ecx
mov ecx, dword [str.1Zs]
mov dword [eax + 8], ecx
mov ecx, dword [0x60b410]
mov dword [eax + 0xc], ecx
mov cx, word [0x60b414]
mov word [eax + 0x10], cx
lea eax, [ebp - 0xfa4]
push eax
call fcn.00420390
xor ecx, ecx
add esp, 4
test al, al
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret
Function at 0x41a410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feb08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x69def4]
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
call fcn.00407a20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00407a90
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x41a493
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a502
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x41a4ba
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a502
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 0x41a4db
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a502
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
lea ecx, [ebp - 0x3c]
call fcn.00407a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5febc6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x24c], esi
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41adee
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41ad33
xor ecx, ecx
jmp 0x41ad4f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ad40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004072f0
push 1
push 0x609b38
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.0040fc50
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041a610
mov esi, eax
test esi, esi
je 0x41adc3
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x41adbc
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004073f0
mov eax, esi
jmp 0x41ae9d
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x41ade8
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004073f0
mov esi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41ae9b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405d50
push 1
push 0x609b38
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.0040fc50
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041a610
mov esi, eax
test esi, esi
je 0x41ae7d
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x41adbc
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.004073f0
mov eax, esi
jmp 0x41ae9d
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41ae9b
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004073f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 4
Function at 0x41aec0
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 [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x428], eax
test eax, eax
jne 0x41aef6
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], esi
push eax
push 9
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41aee3
push ebx
push edi
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005d4b40
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 0x41b025
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 0x41b003
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.005d4b40
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 0x41aff7
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.005d671d
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x41b025
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 0x41af61
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.005cabbc
mov esp, ebp
pop ebp
ret 4
Function at 0x41bb60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
jne 0x41bb92
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push 0
push eax
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push 0
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bc2f
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 0x41bc20
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005deeec
add esp, 8
test eax, eax
je 0x41bc43
push 0x104
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x41bbf2
xor ebx, ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
jmp 0x41bc22
Function at 0x41c270
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fed5b
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x69def4]
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 - 0x218]
push 0x208
push 0
push eax
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x41c2f5
xor ecx, ecx
jmp 0x41c30f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c300
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.004072f0
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 0
call fcn.0040fc50
cmp word [esi], 0
jne 0x41c345
xor ecx, ecx
jmp 0x41c35f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c350
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x848]
call fcn.0040fc50
push 4
push 0x60bd70
lea ecx, [ebp - 0x848]
call fcn.0040fc50
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00420390
add esp, 4
test al, al
je 0x41c492
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005d4b40
add esp, 0x18
lea ecx, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea edx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0x848]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x41c3e6
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0041a2f0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c444
sub ecx, edx
sar ecx, 1
jne 0x41c478
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x628]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x41c460
lea eax, [ebp - 0x420]
push eax
call fcn.00420390
add esp, 4
test al, al
je 0x41c492
mov esi, 1
jmp 0x41c494
xor esi, esi
mov ecx, dword [ebp - 0x834]
cmp ecx, 8
jb 0x41c4b2
inc ecx
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x848]
call fcn.004073f0
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.005cabbc
mov esp, ebp
pop ebp
ret 4
Function at 0x41c4e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x6a07b4]
test al, al
jne 0x41c583
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005d4b40
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 0x41c57e
lea eax, [ebp - 0x20c]
push eax
call fcn.005df20f
lea eax, [ebp - 0x20c]
push 0x60be54
push eax
call fcn.005d671d
add esp, 0xc
test eax, eax
jne 0x41c569
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005d671d
add esp, 8
test eax, eax
je 0x41c57e
mov al, 1
mov byte [0x6a07b4], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret
mov al, byte [0x6a07b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret