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

Disassembly:
push 0x240
mov eax, 0x59389c
call fcn.005663f8
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x41970e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401650
and dword [ebp - 4], 0
push 0x613124
call fcn.0057808e
pop ecx
push eax
push 0x613124
lea ecx, [ebp - 0x230]
call fcn.00407000
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00419314
mov edi, eax
lea ecx, [ebp - 0x230]
test edi, edi
je 0x4196ff
call fcn.004015f0
mov eax, edi
jmp 0x419787
or dword [ebp - 4], 0xffffffff
call fcn.004015f0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x419785
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401650
mov esi, 0x613124
mov dword [ebp - 4], 1
push esi
call fcn.0057808e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00407000
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00419314
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.004015f0
test esi, esi
je 0x419785
mov eax, esi
jmp 0x419787
xor eax, eax
call fcn.005663b3
ret 4
Function at 0x41978f
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 [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
je 0x4198f0
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4198f0
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0056c410
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4198dc
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 0x4198b6
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0056c410
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4198aa
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x4198e4
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x419821
push dword [ebp - 0x418]
call ebx
mov eax, esi
jmp 0x4198f2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c09
leave
ret 4

Function at 0x41a42f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x41a454
xor eax, eax
jmp 0x41a4e7
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a4e5
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x41a4c3
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005780ce
pop ecx
pop ecx
test eax, eax
je 0x41a4d5
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41a4a2
jmp 0x41a4d8
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00565c09
leave
ret 4
Function at 0x41a4f7
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], ebx
mov esi, edi
test ebx, ebx
jne 0x41a525
xor eax, eax
jmp 0x41a75a
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], edi
push edi
push eax
mov dword [ebp - 0x41c], edi
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41a65d
and dword [ebp - 0x428], esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
jmp 0x41a639
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 0x41a61f
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.0056c410
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
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 0x41a613
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x41a64d
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
mov dword [ebp - 0x428], eax
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41a58a
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x41a758
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x598268
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a758
push 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push ebx
jmp 0x41a73c
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 0x41a72e
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0056c410
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
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 0x41a722
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x41a750
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41a694
push dword [ebp - 0x418]
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c09
leave
ret 4
Function at 0x41a8a7
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x83c
mov eax, 0x593a25
call fcn.005663f8
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
xor edi, edi
push edi
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x628]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x848]
call fcn.00401650
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov dword [ebp - 4], edi
call fcn.0057808e
pop ecx
push eax
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
call fcn.00407000
push esi
call fcn.0057808e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407000
mov esi, str..lnk
push esi
call fcn.0057808e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407000
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x41aa27
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0056c410
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0056c410
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0057806c
add esp, 0x20
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00419073
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
test eax, eax
jne 0x41aa17
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0057806c
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x41aa27
xor edi, edi
inc edi
lea ecx, [ebp - 0x848]
call fcn.004015f0
mov eax, edi
call fcn.005663b3
ret 4

Function at 0x41aa3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x61fe28]
test bl, bl
jne 0x41aad3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41aacd
lea eax, [ebp - 0x20c]
push eax
call fcn.005783cc
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5985f4
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
jne 0x41aac5
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
je 0x41aacd
mov byte [0x61fe28], bl
jmp 0x41aad3
mov bl, byte [0x61fe28]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00565c09
leave
ret
Function at 0x41b54a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41b5b5
lea eax, [ebp - 0x20c]
push 0x613124
push eax
call fcn.00577ffb
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0041aae2
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c09
leave
ret 4

Function at 0x41c860
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0057808e
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00565f1a
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.0057806c
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x41c8da
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x41c8d1
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c8c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c8d8
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x41c8a4
jmp 0x41c8da
xor edi, edi
push esi
call fcn.00565f15
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41c8e8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x1a
push eax
push 0
call fcn.0041d64b
lea eax, [ebp - 0x20c]
push eax
call fcn.0057808e
add esp, 0x14
test eax, eax
je 0x41c993
push ebx
mov ebx, 0x613124
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00577ffb
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00577ffb
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00577ffb
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x41c977
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c860
pop ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00401730
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00565c09
leave
ret
Function at 0x41d295
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x61ff38]
test bl, bl
jne 0x41d32c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d326
lea eax, [ebp - 0x20c]
push eax
call fcn.005783cc
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5985f4
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
jne 0x41d31e
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0056c631
pop ecx
pop ecx
test eax, eax
je 0x41d326
mov byte [0x61ff38], bl
jmp 0x41d32c
mov bl, byte [0x61ff38]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00565c09
leave
ret

Function at 0x41d33b
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x593d31
call fcn.005663f8
mov al, byte [0x61ff39]
test al, al
jne 0x41d3ec
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x41d3e7
push str.config_systemprofile
lea ecx, [ebp - 0x144]
call fcn.004016f0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x12c]
call fcn.004016f0
push esi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040ddc0
movzx ecx, byte [0x61ff39]
cmp eax, 0xffffffff
cmovne ecx, edi
mov byte [0x61ff39], cl
lea ecx, [ebp - 0x12c]
call fcn.004016a0
lea ecx, [ebp - 0x144]
call fcn.004016a0
mov al, byte [0x61ff39]
call fcn.005663b3
ret
Function at 0x41d3f2
Capabilities:
Check if file exists

Disassembly:
push 0xc50
mov eax, 0x593d64
call fcn.005663f8
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0xc5c], edi
call fcn.0056c410
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0056c410
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0056c410
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0056c410
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056c410
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0056c410
xor ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
add esp, 0x48
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
call fcn.0041d64b
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0057806c
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0056c91a
add esp, 0x24
test eax, eax
je 0x41d607
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0057806c
lea eax, [ebp - 0x830]
push 0x598718
push eax
call fcn.00577ffb
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.0057806c
lea eax, [ebp - 0x628]
push 0x598728
push eax
call fcn.00577ffb
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.0057806c
lea eax, [ebp - 0xa38]
push 0x59873c
push eax
call fcn.00577ffb
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x41d607
cmp dword [ebp - 0xc5c], 0
je 0x41d607
test ecx, ecx
je 0x41d607
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x598750
push eax
call fcn.004078e0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d5e5
lea eax, [ebp - 0x420]
push eax
call fcn.0041c860
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00401730
jmp 0x41d616
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0041c8e8
pop ecx
pop ecx
xor eax, eax
mov ecx, edi
mov byte [ebp - 0xc5c], al
push dword [ebp - 0xc5c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xc58]
push eax
call fcn.004033b0
lea ecx, [ebp - 0xc58]
call fcn.004015f0
mov eax, edi
call fcn.005663b3
ret
Function at 0x41db5e
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0056c410
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x41dbc1
cmp dword [ebp - 0x118], 2
jg 0x41dbc1
xor eax, eax
inc eax
jmp 0x41dbc3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00565c09
leave
ret

Function at 0x41df04
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x69c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.0056c410
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x598be8
call fcn.0057808e
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0057a1ed
push edi
lea eax, [ebp - 0x694]
push ebx
push eax
call fcn.0056c410
push edi
lea eax, [ebp - 0x48c]
push ebx
push eax
call fcn.0056c410
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], ebx
push ebx
push eax
mov dword [ebp - 0x69c], ebx
mov dword [ebp - 0x6a0], ebx
call fcn.0056c410
add esp, 0x34
lea eax, [ebp - 0x48c]
mov ecx, 0x104
push ecx
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x698]
push eax
push ecx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x41dffe
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00409630
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004016f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c09
leave
ret 4
Function at 0x41e239
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor eax, eax
xor ecx, ecx
xor esi, esi
push edi
cmp dword [ebp + 0xc], eax
jle 0x41e32b
mov edi, dword [ebp + 8]
mov dl, byte [esi + edi]
movzx ebx, dl
cmp dl, 0x3d
jne 0x41e266
inc ecx
cmp ecx, 2
jg 0x41e332
cmp dl, 0x7f
ja 0x41e332
mov dl, byte [ebx + 0x598c38]
cmp dl, 0x7f
je 0x41e332
cmp dl, 0x40
jae 0x41e28b
test ecx, ecx
jne 0x41e332
inc eax
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x41e251
test eax, eax
je 0x41e32b
mov edi, dword [ebp + 0x14]
imul eax, eax, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x41e2b3
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x41e334
mov edx, dword [ebp + 0x10]
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x41e326
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x598c38]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x41e317
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x41e302
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x41e30f
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x41e317
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x41e2c7
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xffffffffffffffee
pop eax
jmp 0x41e32d