joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487e08
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x522457
call fcn.004f301b
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
lea eax, [ebp + 0xc]
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004015d6
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x487e4b
inc ebx
push ebx
push dword [ebp + 0xc]
push str._s.tmp_d
push esi
call fcn.004142e8
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x487e38
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, esi
call fcn.004f30ba
ret

Function at 0x487e66
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push 0x10c
mov eax, 0x523c7d
call fcn.004f301b
mov esi, ecx
push esi
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487f4b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
jne 0x487f4b
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.00401f01
lea eax, [ebp - 0x10]
push eax
call fcn.00487e08
pop ecx
pop ecx
and dword [ebp - 4], edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x118]
call fcn.00431bce
mov ebx, eax
push esi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00431bce
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
call fcn.004f0521
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x90]
pop ecx
inc bl
pop ecx
cmp dword [ebp - 0x94], eax
je 0x487f14
push dword [ebp - 0x94]
call fcn.004ea208
pop ecx
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x487f2e
push dword [ebp - 0x118]
call fcn.004ea208
pop ecx
test bl, bl
je 0x487f35
mov esi, dword [ebp - 0x10]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, edi
call fcn.004f30ba
ret
Function at 0x488395
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x567570]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x48847f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48847c
push edi
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x260], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
push 0x206
mov word [ebp - 0x230], ax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x234], 1
call fcn.004ee670
push dword [ebp + 0xc]
mov ecx, 0x104
push 0x548134
lea edi, [ebp - 0x20c]
call fcn.004530ab
add esp, 0x14
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov eax, edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x488461
push dword [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x21c]
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, edi
pop edi
jmp 0x488494
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.0040297c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ee5a2
leave
ret
Function at 0x4884a1
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52240e
mov eax, dword fs:[0]
push eax
mov eax, 0x2a28
call fcn.004eff30
mov eax, dword [0x567570]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
xor edi, edi
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004ee670
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.iapple_
lea eax, [ebp - 0x21c]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
jne 0x48853a
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.godblessyouandmesolivewithsmile.ini
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
je 0x48868d
xor ebx, ebx
inc ebx
test byte [0x579d98], bl
jne 0x488586
or dword [0x579d98], ebx
mov esi, 0x579d6c
mov dword [ebp - 4], edi
call fcn.004886a7
push 0x529184
call fcn.004e92a1
or dword [ebp - 4], 0xffffffff
pop ecx
cmp dword [0x579d28], edi
jne 0x4885ad
push ecx
mov dword [ebp - 0x2a20], esp
mov ecx, esp
push 0x579d70
mov dword [0x579d28], ebx
call fcn.004015d6
call fcn.00488325
pop ecx
xor eax, eax
push 0x27fe
mov word [ebp - 0x2a1c], ax
lea eax, [ebp - 0x2a1a]
push edi
push eax
call fcn.004ee670
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov ecx, 0x1400
lea edi, [ebp - 0x2a1c]
call fcn.00452720
xor eax, eax
inc dword [0x579d2c]
mov word [ebp - 0x21e], ax
lea eax, [ebp - 0x2a30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x56f16c
lea ecx, [ebp - 0x2a20]
call fcn.00402946
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x579d2c]
movzx eax, word [ebp - 0x2a22]
push eax
movzx eax, word [ebp - 0x2a24]
push eax
movzx eax, word [ebp - 0x2a26]
push eax
movzx eax, word [ebp - 0x2a28]
push eax
movzx eax, word [ebp - 0x2a2a]
push eax
movzx eax, word [ebp - 0x2a2e]
push eax
movzx eax, word [ebp - 0x2a30]
push eax
lea eax, [ebp - 0x2a20]
push str._04d__02d__02d__02d:_02d:_02d:_04d__d_process__d
push eax
call fcn.004142e8
mov esi, dword [ebp - 0x2a20]
add esp, 0x2c
push dword [0x579d70]
mov eax, edi
push eax
push esi
push 0x543bdc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esi - 0x10]
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ee5a2
leave
ret
Function at 0x4886a7
Capabilities:
Read .ini file

Disassembly:
push 0x210
mov eax, 0x5223cd
call fcn.004f3084
lea edi, [esi + 4]
push 0x56f16c
mov ecx, edi
mov dword [ebp - 0x21c], esi
call fcn.00402946
and dword [ebp - 4], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004ee670
push 0x548198
call fcn.00411fff
add esp, 0x10
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x537290
push str.ctrl
push 0x543bd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x488732
lea eax, [ebp - 0x218]
push eax
call fcn.004e9b1d
dec eax
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [esi], eax
push str.iApplelog.ini
call fcn.004115ec
push eax
push 0x53f4bc
push edi
call fcn.004142e8
add esp, 0x10
mov eax, esi
call fcn.004f30ce
ret

Function at 0x488753
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x488773
xor eax, eax
jmp 0x4887c6
push edi
push esi
call fcn.004eae7a
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x488785
xor eax, eax
jmp 0x4887c5
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4887bc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x53f8bc
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push edi
call fcn.004ea208
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4887ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x18
mov eax, 0x5223a4
call fcn.004f301b
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 8]
push 0x56f16c
call fcn.00402946
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push ecx
mov ecx, esp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push ecx
mov dword [ecx], eax
mov eax, esp
lea esi, [ebp - 0x24]
mov dword [ebp - 0x18], esp
mov dword [eax], 0x10
call fcn.00401f5e
push dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x53f8bc
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x488860
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 8]
call fcn.004142e8
add esp, 0x18
cmp dword [ebp - 0x24], edi
je 0x48886e
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
call fcn.004f30ba
ret
Function at 0x488877
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.HARDWAREDESCRIPTIONSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4888ff
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
mov edi, str.SystemBiosVersion
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x4888f4
push dword [ebp - 4]
call fcn.004eae7a
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call esi
test eax, eax
jne 0x4888eb
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
call fcn.0048a8ec
pop ecx
push dword [ebp - 0xc]
call fcn.004ea208
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x488a44
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x488acc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
mov edi, str.ProcessorNameString
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x488ac1
push dword [ebp - 4]
call fcn.004eae7a
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call esi
test eax, eax
jne 0x488ab8
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
call fcn.0048a8ec
pop ecx
push dword [ebp - 0xc]
call fcn.004ea208
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x488acf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x488b57
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
mov edi, str.ProductId
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x488b4c
push dword [ebp - 4]
call fcn.004eae7a
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call esi
test eax, eax
jne 0x488b43
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
call fcn.0048a8ec
pop ecx
push dword [ebp - 0xc]
call fcn.004ea208
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x488bf7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523261
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x567570]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x576968]
mov esi, ecx
mov dword [esp + 0x14], esi
cmp dword [eax - 0xc], ebx
je 0x488c5e
push 0x576968
call fcn.004015d6
mov eax, esi
jmp 0x488d6c
lea eax, [esp + 0x11c]
call fcn.0048a8c8
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push 0x544140
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea eax, [esp + 0x10]
push eax
push 4
pop eax
lea esi, [esp + 0x120]
call fcn.0048a8ec
pop ecx
mov eax, esi
push eax
call fcn.00488877
pop ecx
mov eax, esi
push eax
call fcn.00488a44
pop ecx
mov eax, esi
push eax
call fcn.00488acf
pop ecx
mov ecx, esi
call fcn.00488902
mov ecx, esi
call fcn.00488b9c
mov ecx, esi
call fcn.00488b5a
mov eax, esi
call fcn.0048a970
push 8
xor eax, eax
pop ecx
lea edi, [esp + 0x185]
mov byte [esp + 0x184], bl
rep stosd dword es:[edi], eax
xor esi, esi
xor edi, edi
movzx eax, byte [esp + esi + 0x174]
push eax
push str._02x
lea eax, [esp + edi + 0x18c]
push 3
push eax
call fcn.004efee2
add esp, 0x10
add edi, eax
inc esi
cmp esi, 0x10
jl 0x488ce9
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x20]
call fcn.0041e7f1
mov dword [esp + 0x1b8], ebx
push dword [esp + 0x18]
mov esi, 0x576968
mov ecx, esi
call fcn.00401ed2
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x488d5e
push dword [esp + 0x18]
call fcn.004ea208
pop ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.004015d6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.004ee5a2
mov esp, ebp
pop ebp
ret
Function at 0x488ecf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x523bee
call fcn.004f301b
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor esi, esi
push 0
inc esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x488f0e
push str.error
mov ecx, edi
call fcn.00401f01
jmp 0x488f81
mov eax, 0x118
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.004e7db0
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
test eax, eax
je 0x488f4f
call fcn.004e93ab
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x488f00
lea ecx, [ebp - 0x14]
call fcn.00401f01
push esi
mov byte [ebp - 4], 2
call fcn.004e93ab
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004015d6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, edi
call fcn.004f30ba
ret

Function at 0x488f9f
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5210e6
call fcn.004f301b
lea eax, [ebp - 0x10]
push eax
mov esi, 0xf003f
push esi
xor ebx, ebx
push ebx
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x489012
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x489012
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
xor al, al
call fcn.004f30ba
ret
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x14]
call fcn.004015d6
mov esi, dword [ebp - 0x14]
lea ecx, [esi - 0x10]
call fcn.0040297c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x489076
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov al, bl
jmp 0x48900c
mov bl, 1
jmp 0x489048
Function at 0x489e92
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x523bbb
call fcn.004f301b
push 2
pop esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x489eb9
mov ecx, dword [ebp + 0xc]
call fcn.00487c9a
xor edi, edi
push edi
push 0x80
push esi
push edi
push edi
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x489f04
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, esi
call fcn.004f30ba
ret
push 0x38
call fcn.004ea1a3
pop ecx
cmp eax, edi
je 0x489f1c
push esi
mov esi, eax
call fcn.00489d30
mov ebx, eax
jmp 0x489f1e
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp ebx, edi
je 0x489f2b
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push edi
mov byte [ebp - 4], 3
push dword [ebp + 8]
xor edi, edi
mov ecx, ebx
call fcn.00489ae0
test eax, eax
jne 0x489f44
xor esi, esi
jmp 0x489f51
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00489bd1
mov esi, eax
mov byte [ebp - 4], 2
test ebx, ebx
je 0x489edb
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x489edb

Function at 0x48a8c8
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x48fbc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522918
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x48fc2a
cmp dword [edi + 0x18], eax
je 0x48fc2a
push ebx
push eax
call fcn.004044b0
test al, al
je 0x48fc2a
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x48fc23
mov eax, dword [edi + 4]
jmp 0x48fc26
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x18], ecx
cmp esi, ecx
je 0x48fe0a
jmp 0x48fc46
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x20], al
cmp al, 0x22
je 0x48fe0a
cmp al, 0x5c
jne 0x48fd44
cmp esi, ecx
je 0x48fd60
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x8c], esi
cmp eax, 0x53
ja case.0x48fc87.35
movzx eax, byte [eax + 0x48fe4c]
jmp dword [eax*4 + 0x48fe24]
push 0x22
jmp 0x48fd49
push 0x2f
jmp 0x48fd49
push 0x5c
jmp 0x48fd49
push 8
jmp 0x48fd49
push 0xc
jmp 0x48fd49
push 0xa
jmp 0x48fd49
push 0xd
jmp 0x48fd49
push 9
jmp 0x48fd49
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push ebp
lea ecx, [esp + 0x98]
call fcn.0048fea0
test al, al
je 0x48fdad
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x5c]
call fcn.0048e1d0
push 0xffffffffffffffff
push 0
mov esi, edi
mov dword [esp + 0x88], ebx
call fcn.00415dfb
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x48fd26
mov eax, dword [esp + 0x60]
push eax
call fcn.004e9044
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0x48fd51
mov ecx, dword [esp + 0x20]
push ecx
push ebx
mov ecx, edi
call fcn.00490530
cmp esi, dword [esp + 0x18]
jne 0x48fc42
jmp 0x48fe0a
push 0x1f
xor edi, edi
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.004041ed
mov edx, esi
mov esi, dword [esp + 0x88]
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], edi
call fcn.00490180
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x48fe0a
mov edx, dword [esp + 0x28]
push edx
jmp 0x48fe02
xor al, al
jmp 0x48fe0c
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.004041ed
mov edx, esi
mov esi, dword [esp + 0x88]
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 2
call fcn.00490180
cmp dword [esp + 0x58], 0x10
mov bl, al
jb 0x48fe0a
mov eax, dword [esp + 0x44]
push eax
call fcn.004e9044
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x490180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522878
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x567570]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov edi, edx
xor edx, edx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
mov dword [esp + 0x44], edx
mov ebx, dword [eax]
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call fcn.0040450e
mov dword [esp + 0x34], edi
lea eax, [esi + 0x20]
lea edi, [esp + 0xc]
call fcn.00490470
cmp dword [esp + 0x30], 0x10
jb 0x490211
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004e9044
add esp, 4
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ee5a2
add esp, 0x3c
ret 4