joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421741
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 [0x5cb008]
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
jne 0x421769
xor eax, eax
jmp 0x42189f
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 0x421762
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004306b0
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 0x42188d
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 0x421867
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.004306b0
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 0x42185b
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00432b9a
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x421895
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 0x4217d2
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f82
mov esp, ebp
pop ebp
ret 4
Function at 0x42226b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x422290
xor eax, eax
jmp 0x422323
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.004306b0
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 0x422321
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x4222ff
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00440e23
pop ecx
pop ecx
test eax, eax
je 0x422311
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 0x4222de
jmp 0x422314
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.00414f82
mov esp, ebp
pop ebp
ret 4
Function at 0x422784
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x565cdb
call fcn.0045329e
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.004306b0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x4227ef
lea eax, [ebp - 0x218]
push eax
call fcn.00440de3
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407d50
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00440de3
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.0040ab80
xor ebx, ebx
cmp word [esi], bx
jne 0x422829
mov eax, ebx
jmp 0x422830
push esi
call fcn.00440de3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040ab80
mov esi, str..lnk
push esi
call fcn.00440de3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040ab80
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 0x42293e
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.004306b0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.004306b0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00440dc1
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00420f4e
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004306b0
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 eax, [ebp - 0x420]
push eax
call fcn.00440de3
pop ecx
test eax, eax
jne 0x42292c
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00440dc1
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x42293e
xor esi, esi
inc esi
jmp 0x422940
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00407c90
mov eax, esi
call fcn.00453259
ret 4
Function at 0x422958
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5d66dc]
test al, al
jne 0x4229f1
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004306b0
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 0x4229e8
lea eax, [ebp - 0x20c]
push eax
call fcn.00441141
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00432b9a
pop ecx
pop ecx
test eax, eax
jne 0x4229e0
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00432b9a
pop ecx
pop ecx
test eax, eax
je 0x4229e8
mov byte [0x5d66dc], bl
jmp 0x4229ee
mov bl, byte [0x5d66dc]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414f82
mov esp, ebp
pop ebp
ret
Function at 0x4234fd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5cb008]
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.004306b0
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 0x423568
lea eax, [ebp - 0x20c]
push 0x5c29b0
push eax
call fcn.00440d50
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004229ff
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f82
mov esp, ebp
pop ebp
ret 4

Function at 0x42420d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004306b0
push str.PandaPdf
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.0041cbbd
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00414f82
mov esp, ebp
pop ebp
ret
Function at 0x42426d
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.004533b0
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.004306b0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00442157
push 0x800
lea eax, [ebp - 0x1028]
push esi
push eax
call fcn.004306b0
push str.PandaPdf
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0041cc3b
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004306b0
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.004306b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00440de3
pop ecx
test eax, eax
je 0x4244cc
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00432af9
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x4244cc
lea eax, [ebp - 0x20c]
push eax
call fcn.00440de3
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00442157
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0041cc3b
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.00414510
push esi
call fcn.00433866
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.00441ee6
add esp, 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test edi, edi
je 0x4244cc
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [edi]
mov eax, dword [edi + 0x10]
push dword [edi + 4]
inc eax
push dword [edi + 8]
push dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00424124
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x56a068
push eax
cmovne esi, ebx
call fcn.0043f8e6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4244cc
test esi, esi
jne 0x424472
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.004419e9
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.00440de3
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.004419e9
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.004419e9
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.004419e9
push edi
call fcn.0043f6e4
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f82
mov esp, ebp
pop ebp
ret
Function at 0x4244dd
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004533b0
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
call fcn.00433866
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1010], edx
call fcn.00441ee6
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00424124
add esp, 0x28
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
xor ecx, ecx
pop edi
inc ecx
test eax, eax
push 0x56a068
push ebx
cmovne edi, ecx
call fcn.0043f8e6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4245f9
test edi, edi
jne 0x42459c
push esi
push 2
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0xfeff
push 1
push eax
call fcn.004419e9
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call fcn.00440de3
push esi
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.004419e9
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xd
push 1
push eax
call fcn.004419e9
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xa
push 1
push eax
call fcn.004419e9
push esi
call fcn.0043f6e4
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f82
mov esp, ebp
pop ebp
ret

Function at 0x4247a5
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.00440de3
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.00414fd9
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.00440dc1
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x42481f
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x424816
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42480c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42481d
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x4247e9
jmp 0x42481f
xor edi, edi
push esi
call fcn.00414f93
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42482f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.00424d3f
lea eax, [ebp - 0x20c]
push eax
call fcn.00440de3
add esp, 0x14
test eax, eax
je 0x4248e7
lea eax, [ebp - 0x20c]
push 0x5c29b0
push eax
call fcn.00440d50
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00440d50
lea eax, [ebp - 0x20c]
push 0x5c29b0
push eax
call fcn.00440d50
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4248c0
lea eax, [ebp - 0x20c]
push eax
call fcn.004247a5
pop ecx
cmp word [ebp - 0x20c], si
je 0x4248d8
lea eax, [ebp - 0x20c]
push eax
call fcn.00440de3
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00407d50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f82
mov esp, ebp
pop ebp
ret

Function at 0x424a20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5d67ec]
test al, al
jne 0x424ab9
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004306b0
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 0x424ab0
lea eax, [ebp - 0x20c]
push eax
call fcn.00441141
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00432b9a
pop ecx
pop ecx
test eax, eax
jne 0x424aa8
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00432b9a
pop ecx
pop ecx
test eax, eax
je 0x424ab0
mov byte [0x5d67ec], bl
jmp 0x424ab6
mov bl, byte [0x5d67ec]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414f82
mov esp, ebp
pop ebp
ret
Function at 0x424ac7
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x565fb1
call fcn.0045329e
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.004306b0
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004306b0
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004306b0
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004306b0
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004306b0
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004306b0
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.00424d3f
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00440dc1
lea eax, [ebp - 0x218]
push eax
call fcn.00440de3
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00432af9
add esp, 0x24
test eax, eax
jne 0x424bcb
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042482f
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00408c40
push esi
push 1
jmp 0x424d2c
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00440dc1
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.00440d50
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.00440dc1
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.00440d50
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.00440dc1
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.00440d50
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 0x424d09
cmp dword [ebp - 0xc5c], 0
je 0x424d09
test ecx, ecx
je 0x424d09
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.0041cbbd
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424cd9
lea eax, [ebp - 0x420]
push eax
call fcn.004247a5
pop ecx
cmp word [ebp - 0x420], 0
jne 0x424ce7
xor eax, eax
jmp 0x424cf4
lea eax, [ebp - 0x420]
push eax
call fcn.00440de3
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00407d50
jmp 0x424d18
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042482f
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00408c40
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00407c90
mov eax, edi
call fcn.00453259
ret
Function at 0x424ef7
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x42527e
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x566068
call fcn.0045329e
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.0043cfed
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4252ba
push 0x5c29a4
mov ecx, esi
call fcn.00407b40
jmp 0x425422
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4252df
push ebx
call fcn.0043954b
push dword [ebp - 0x54]
call fcn.0043cfed
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4252a9
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4253f7
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x4253d0
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0040fc40
lea eax, [edi + 0x10c]
push eax
call fcn.0055e1b5
push 0x56a14c
push eax
call fcn.00432e20
add esp, 0x2c
test eax, eax
jne 0x42542c
cmp dword [edi + 0x1a0], 0x47
je 0x42542c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407b40
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.0041e30d
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00407fe0
mov edi, dword [edi]
test edi, edi
jne 0x425327
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x4253ef
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x4253ef
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00408170
lea ecx, [ebp - 0x60]
call fcn.0040c3c0
push ebx
call fcn.0043954b
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040c710
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00407fe0
mov eax, esi
call fcn.00453259
ret 4
cmp byte [ebp - 0x20], 0
jne 0x425436
xor eax, eax
jmp 0x425440
lea eax, [ebp - 0x20]
push eax
call fcn.00441340
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00408070
jmp 0x4253ef
Function at 0x42546c
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x5cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.004306b0
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5c35cc
call fcn.00440de3
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00442114
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.004306b0
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.004306b0
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.004306b0
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42556a
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0040fc40
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00407b40
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f82
mov esp, ebp
pop ebp
ret 4