joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52230c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5f5b66
call fcn.0044e926
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.005298a5
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.005298d9
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x52234c
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5223ac
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x522387
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5223ac
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
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.005298b8
call fcn.0044e8ef
ret 0xc
Function at 0x522834
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5f5c01
call fcn.0044e95a
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.005426c0
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 0x52292b
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x5228b0
lea eax, [ebp - 0x218]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403bdf
and dword [ebp - 4], 0
push 0x5fb264
call fcn.005454d1
pop ecx
push eax
push 0x5fb264
lea ecx, [ebp - 0x230]
call fcn.004049a5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00522497
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x52291c
call fcn.004037bf
mov eax, edi
jmp 0x5229dd
or dword [ebp - 4], 0xffffffff
call fcn.004037bf
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x5229db
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x522972
lea eax, [ebp - 0x218]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403bdf
mov esi, 0x5fb264
mov dword [ebp - 4], 1
push esi
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004049a5
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00522497
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.004037bf
test esi, esi
je 0x5229db
mov eax, esi
jmp 0x5229dd
xor eax, eax
call fcn.0044e904
ret 4
Function at 0x5229e5
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 [0x69f564]
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 0x522a0d
xor eax, eax
jmp 0x522b43
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 0x522a06
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005426c0
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 0x522b31
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 0x522b0b
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.005426c0
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 0x522aff
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x522b39
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 0x522a76
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.0044e8de
mov esp, ebp
pop ebp
ret 4
Function at 0x523631
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x523656
xor eax, eax
jmp 0x5236e9
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.005426c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5236e7
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x5236c5
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00549e3b
pop ecx
pop ecx
test eax, eax
je 0x5236d7
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 0x5236a4
jmp 0x5236da
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.0044e8de
mov esp, ebp
pop ebp
ret 4
Function at 0x523ae7
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5f5d87
call fcn.0044e95a
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.005426c0
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 0x523b52
lea eax, [ebp - 0x218]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403bdf
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.005454d1
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004049a5
xor ebx, ebx
cmp word [esi], bx
jne 0x523b8c
mov eax, ebx
jmp 0x523b93
push esi
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004049a5
mov esi, str..lnk
push esi
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004049a5
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 0x523ca1
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.005426c0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.005426c0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00549ff0
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005221f2
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005426c0
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.005454d1
pop ecx
test eax, eax
jne 0x523c8f
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00549ff0
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x523ca1
xor esi, esi
inc esi
jmp 0x523ca3
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.004037bf
mov eax, esi
call fcn.0044e904
ret 4
Function at 0x523cbb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x6af0f0]
test al, al
jne 0x523d54
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005426c0
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 0x523d4b
lea eax, [ebp - 0x20c]
push eax
call fcn.0054f2af
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
jne 0x523d43
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
je 0x523d4b
mov byte [0x6af0f0], bl
jmp 0x523d51
mov bl, byte [0x6af0f0]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e8de
mov esp, ebp
pop ebp
ret
Function at 0x52481d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69f564]
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.005426c0
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 0x524888
lea eax, [ebp - 0x20c]
push 0x5fb264
push eax
call fcn.0054ed04
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00523d62
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e8de
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.005454d1
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420fdc
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00549ff0
add esp, 0x10
call fcn.00420994
test al, al
je 0x524d43
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x524e0d
cmp word [edi + ebx*2], 0x5c
jne 0x524dfe
call fcn.004206e2
test al, al
je 0x524d7e
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.004204ff
test al, al
je 0x524da8
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.004205ce
test al, al
je 0x524dd3
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x524df7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x524e1d
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x524d56
xor esi, esi
inc esi
push edi
call fcn.00420fe5
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x524e0d
Function at 0x5250f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.00525abc
lea eax, [ebp - 0x20c]
push eax
call fcn.005454d1
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.00420475
test al, al
je 0x52516b
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x525277
mov esi, 0x5fb264
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0054ed04
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0054ed04
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0054ed04
add esp, 0x18
call fcn.00420a1e
test al, al
je 0x5251cb
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5251e9
lea eax, [ebp - 0x20c]
push eax
call fcn.00524cf0
pop ecx
call fcn.00420544
test al, al
je 0x525206
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.004207f6
test al, al
je 0x52522b
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.00420a1e
test al, al
je 0x525249
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x20c], 0
jne 0x525257
xor eax, eax
jmp 0x525264
lea eax, [ebp - 0x20c]
push eax
call fcn.005454d1
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403bdf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e8de
mov esp, ebp
pop ebp
ret
Function at 0x5254d3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6af11c], 0
push ebx
push esi
push edi
je 0x52555b
call fcn.00420544
test al, al
je 0x52550f
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.004207f6
test al, al
je 0x525534
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.00420a1e
test al, al
je 0x525652
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x525652
call fcn.00420a1e
test al, al
je 0x52557f
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005426c0
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 0x5255ef
lea eax, [ebp - 0x20c]
push eax
call fcn.0054f2af
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
jne 0x5255e8
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
je 0x5255ef
mov byte [0x6af11c], 1
call fcn.00420880
test al, al
je 0x52560a
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.00420544
test al, al
je 0x52562e
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.00420544
test al, al
je 0x525652
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x6af11c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044e8de
mov esp, ebp
pop ebp
ret
Function at 0x526474
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x5f6013
call fcn.0044e95a
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x24c], 0
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005426c0
add esp, 0xc
call fcn.00420727
test al, al
je 0x5264c7
push eax
push esi
push esi
push esi
pop esp
pop eax
pop esi
push ecx
push edi
push ecx
pop edx
push ecx
pop esp
pop esp
push ecx
pop edi
pop ebp
pop ebp
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
jmp 0x5265cf
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x5265c1
call fcn.004207f6
test al, al
je 0x526511
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x526541
lea eax, [ebp - 0x218]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403bdf
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0051f232
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004037bf
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call fcn.005263d4
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.0040376a
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x5264db
call fcn.0044e904
ret
Function at 0x527c97
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004208c5
test al, al
je 0x527cc1
pop eax
pop esi
pop edx
push esp
push edi
pop edi
pop ebx
push eax
pop eax
push edx
push ebp
push esi
pop ebx
push edx
push ebx
pop ecx
push ecx
push ebp
push 0x65e2c0
push dword [ebp + 8]
call fcn.0054f570
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x527d7f
call fcn.00420361
test al, al
je 0x527cf3
pop ebp
push ecx
push ebx
push ebp
pop edx
pop edi
push edx
push esp
push esi
pop ebp
push edx
push edx
pop ecx
pop esp
pop esp
pop esi
push ebx
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0054f8cc
push ebx
call fcn.0054f614
add esp, 0x14
call fcn.004206e2
test al, al
je 0x527d27
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.004204ff
test al, al
je 0x527d4e
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
call fcn.004205ce
test al, al
je 0x527d76
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5283ba
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x529795
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00420613
test al, al
je 0x5297c3
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.004204ba
test al, al
je 0x5297ea
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4