joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c0b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60313b
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.0040c980
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.00407020
add esp, 0x10
test eax, eax
jne 0x40c1c2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4960
lea eax, [ebx + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40c15b
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 0x40c18b
xor ecx, ecx
jmp 0x40c1a3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c194
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407210
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x230]
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, edi
push eax
call fcn.005deb74
mov ecx, dword [ebp - 0x21c]
add esp, 4
mov esi, eax
cmp ecx, 8
jb 0x40c1f7
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret
Function at 0x40ca00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdaf7
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 0x40ca4d
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 0x40cb96
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.00407210
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005d4960
push edi
lea eax, [ebp - 0x810]
push 0x609c8c
push eax
call fcn.0040f920
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 0x40cae5
call fcn.0040c850
mov esi, eax
jmp 0x40caec
call fcn.0040c9b0
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40cb39
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40cb14
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00407310
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.00406bc0
mov eax, dword [ebp - 0x82c]
cmp eax, 8
jb 0x40cb57
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.00407310
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.005deb74
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40cb94
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40cbc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdb42
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.005d4960
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40cc43
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 0x40cc89
mov eax, dword [esi]
jmp 0x40cc8b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x810], cx
je 0x40ccb1
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cca2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00407210
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 1
jb 0x40ccdb
mov eax, dword [esi]
jmp 0x40ccdd
mov eax, esi
mov ecx, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40cd06
test dx, dx
je 0x40cd02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40cd06
add eax, 4
add ecx, 4
test dx, dx
jne 0x40cce0
xor eax, eax
jmp 0x40cd0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cd72
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 0x40cd47
call fcn.0040c850
push eax
mov ecx, esi
call fcn.00405e00
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x40cd72
inc ecx
push ecx
jmp 0x40cd61
call fcn.0040c9b0
push eax
mov ecx, esi
call fcn.00405e00
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40cd72
inc eax
push eax
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411970
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.0048ed70
mov edi, eax
test edi, edi
je 0x4119b5
push 0x609e08
lea eax, [ebp - 4]
push ebx
push eax
call fcn.005dd91c
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4119be
push edi
call fcn.0048ed30
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.0048edd0
push dword [ebp + 8]
push 0x2712
push edi
call fcn.0048edd0
push 1
push 0x34
push edi
mov esi, eax
call fcn.0048edd0
push 0x1e
push 0xd
push edi
call fcn.0048edd0
push 1
push 0x63
push edi
call fcn.0048edd0
push 0x493e0
push 0x9b
push edi
call fcn.0048edd0
add esp, 0x48
test esi, esi
jne 0x411a4c
push 0x412df0
push 0x4e2b
push edi
call fcn.0048edd0
add esp, 0xc
test eax, eax
jne 0x411a4c
push eax
push 0x40
push edi
call fcn.0048edd0
push esi
push 0x51
push edi
call fcn.0048edd0
push dword [ebp - 4]
push 0x2711
push edi
call fcn.0048edd0
add esp, 0x24
test eax, eax
je 0x411a72
push dword [ebp - 4]
call fcn.005dd6ec
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ebx
call eax
push edi
call fcn.0048ed30
add esp, 4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0048edb0
mov esi, eax
add esp, 4
test esi, esi
je 0x411ac6
push dword [ebp - 4]
call fcn.005dd6ec
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ebx
call eax
push esi
call fcn.0048f330
add esp, 4
push eax
push str.curl_easy_perform___failed:__s_n
push 2
call fcn.005d9a6c
add esp, 4
push eax
call fcn.00412e00
push edi
call fcn.0048ed30
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.0048ed50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x411aee
cmp dword [ebp - 8], 0xc8
je 0x411af3
mov esi, 0x16
push dword [ebp - 4]
call fcn.005dd6ec
push edi
call fcn.0048ed30
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416850
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 0x416880
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.0041ff30
xor ecx, ecx
add esp, 4
test al, al
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret
Function at 0x419fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd9d8
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.00407550
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.004075c0
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x41a063
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a0d2
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x41a08a
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a0d2
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 0x41a0ab
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a0d2
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.004075a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe956
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.005d4960
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 0x41a9be
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41a903
xor ecx, ecx
jmp 0x41a91f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a910
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407210
push 1
push 0x609b38
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.0040f7f0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041a1e0
mov esi, eax
test esi, esi
je 0x41a993
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x41a98c
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00407310
mov eax, esi
jmp 0x41aa6d
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x41a9b8
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
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 0x41aa6b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405c70
push 1
push 0x609b38
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.0040f7f0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041a1e0
mov esi, eax
test esi, esi
je 0x41aa4d
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x41a98c
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00407310
mov eax, esi
jmp 0x41aa6d
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41aa6b
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret 4
Function at 0x41aa90
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 0x41aac6
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005caa5c
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 0x41aab3
push ebx
push edi
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005d4960
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 0x41abf5
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 0x41abd3
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.005d4960
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 0x41abc7
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.005d653d
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x41abf5
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 0x41ab31
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.005caa5c
mov esp, ebp
pop ebp
ret 4
Function at 0x41b730
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 0x41b762
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push 0
push eax
call fcn.005d4960
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 0x41b7ff
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 0x41b7f0
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005ded0c
add esp, 8
test eax, eax
je 0x41b813
push 0x104
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x41b7c2
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.005caa5c
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
jmp 0x41b7f2
Function at 0x41be40
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feaeb
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.005d4960
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 0x41bec5
xor ecx, ecx
jmp 0x41bedf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bed0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407210
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 0
call fcn.0040f7f0
cmp word [esi], 0
jne 0x41bf15
xor ecx, ecx
jmp 0x41bf2f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bf20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x848]
call fcn.0040f7f0
push 4
push 0x60bd70
lea ecx, [ebp - 0x848]
call fcn.0040f7f0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.0041ff30
add esp, 4
test al, al
je 0x41c062
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005d4960
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005d4960
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 0x41bfb6
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00419ec0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005d4960
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 0x41c014
sub ecx, edx
sar ecx, 1
jne 0x41c048
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 0x41c030
lea eax, [ebp - 0x420]
push eax
call fcn.0041ff30
add esp, 4
test al, al
je 0x41c062
mov esi, 1
jmp 0x41c064
xor esi, esi
mov ecx, dword [ebp - 0x834]
cmp ecx, 8
jb 0x41c082
inc ecx
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x848]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret 4
Function at 0x41c0b0
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 0x41c153
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005d4960
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 0x41c14e
lea eax, [ebp - 0x20c]
push eax
call fcn.005df02f
lea eax, [ebp - 0x20c]
push 0x60be54
push eax
call fcn.005d653d
add esp, 0xc
test eax, eax
jne 0x41c139
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005d653d
add esp, 8
test eax, eax
je 0x41c14e
mov al, 1
mov byte [0x6a07b4], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret
mov al, byte [0x6a07b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret
Function at 0x41cf80
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
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push 0x208
push 0
push eax
mov esi, ecx
call fcn.005d4960
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d006
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41cfd1
mov eax, dword [0x609b38]
mov ecx, esi
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041c170
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 4
Function at 0x420490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
je 0x4205a9
call fcn.0048c0b0
test al, al
je 0x4204ea
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0048c040
test al, al
je 0x420511
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp - 8]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0048bb00
test al, al
je 0x42054f
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.0048c2e0
test al, al
je 0x420575
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
call fcn.0048c3c0
test al, al
je 0x42058f
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
cmp dword [ebp - 8], 0
je 0x4205a9
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jne 0x4205a9
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret