joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4ba0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610386
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x140], 0x100000
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x94]
call fcn.004f02ba
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x4b4c23
mov byte [ebp - 0x119], 1
jmp 0x4b4c2a
mov byte [ebp - 0x119], 0
mov cl, byte [ebp - 0x119]
mov byte [ebp - 0x11a], cl
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x4b4d05
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a73c0]
divss xmm0, dword [0x6a73c0]
divss xmm0, dword [0x6a73c0]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x120]
add ecx, 0x4f8
call fcn.0047ca20
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004f0864
add esp, 0x10
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a73c0]
divss xmm0, dword [0x6a73c0]
divss xmm0, dword [0x6a73c0]
mov ecx, dword [ebp - 0x120]
movss dword [ecx + 0x4d8], xmm0
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x37c]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x37c]
mov eax, dword [edx + 0x2c]
call eax
push 0x68ee54
mov ecx, dword [ebp - 0x120]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x128]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x138]
call fcn.004f08e4
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x4e0
call fcn.0047ca20
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004f0864
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004f03ac
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x378]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x378]
mov eax, dword [edx + 0x2c]
call eax
mov cl, byte [ebp - 0x11a]
mov byte [ebp - 0x121], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004f03ac
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x4b54e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6104d7
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x57c], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.005e2ec0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.005e2ec0
add esp, 0xc
push 0x68ef2c
mov ecx, dword [ebp - 0x57c]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x578], eax
lea edx, [ebp - 0x4ec]
push edx
mov eax, dword [ebp - 0x578]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x578]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x584], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x584]
call fcn.004f08e4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0047ca60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.004f03ac
push 0x68ef50
mov ecx, dword [ebp - 0x57c]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x578], eax
lea edx, [ebp - 0x570]
push edx
mov eax, dword [ebp - 0x578]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x578]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x58c]
call fcn.004f08e4
push eax
lea ecx, [ebp - 0x450]
call fcn.0048b540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x570]
call fcn.004f03ac
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x59c], esp
lea edx, [ebp - 0x450]
push edx
call fcn.0047cc80
mov dword [ebp - 0x5a0], eax
call fcn.004da380
add esp, 0x18
mov byte [ebp - 0x571], al
movzx eax, byte [ebp - 0x571]
test eax, eax
je 0x4b566b
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
jmp 0x4b567e
push 0
push 0x10
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x438]
call fcn.0048b540
mov byte [ebp - 4], 4
push 0x68ef4c
lea ecx, [ebp - 0x438]
call fcn.004c4ef0
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x57c]
call fcn.004c1f40
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x594]
push edx
lea ecx, [ebp - 0x438]
call fcn.004c4f10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.0047caf0
push 0
lea ecx, [ebp - 0x438]
call fcn.0047ca20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp + 8]
call fcn.0047ca80
mov dword [ebp - 0x598], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.0047caf0
mov eax, dword [ebp - 0x598]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 8
Function at 0x4bb9e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x26
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4bc150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610b6f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6c6f60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x40
call fcn.005c97b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4b8]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4b8]
mov eax, dword [edx + 0x30]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004e0e00
mov dword [ebp - 0x14], eax
jmp 0x4bc1e1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x364], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x364]
call fcn.004e0ed0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4cc], 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c0
call fcn.004c4980
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x13c]
call edx
push 0x6912f4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4b8]
call fcn.00470840
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x55c], 1
jle 0x4bc279
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x564]
push eax
push 0x7d0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4bc8d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610c53
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 0x560]
add ecx, 0x84
push ecx
lea ecx, [ebp - 0x28]
call fcn.0047cc80
mov dword [ebp - 4], 0
mov dword [ebp - 0x280], 0
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x254], 0x22c
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
jne 0x4bc980
mov byte [ebp - 0x255], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov al, byte [ebp - 0x255]
jmp 0x4bcb5c
mov ecx, 1
test ecx, ecx
je 0x4bcb33
mov dword [ebp - 0x254], 0x22c
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x4bc9b4
jmp 0x4bcb33
lea ecx, [ebp - 0x28]
call fcn.0047ca20
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
mov ax, word [edx]
mov word [ebp - 0x262], ax
mov ecx, dword [ebp - 0x260]
cmp ax, word [ecx]
jne 0x4bca34
cmp word [ebp - 0x262], 0
je 0x4bca28
mov edx, dword [ebp - 0x25c]
mov ax, word [edx + 2]
mov word [ebp - 0x264], ax
mov ecx, dword [ebp - 0x260]
cmp ax, word [ecx + 2]
jne 0x4bca34
add dword [ebp - 0x25c], 4
add dword [ebp - 0x260], 4
cmp word [ebp - 0x264], 0
jne 0x4bc9ce
mov dword [ebp - 0x26c], 0
jmp 0x4bca3f
sbb edx, edx
or edx, 1
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x4bcb2e
push 0
push 2
push str.bool___thiscall_InstallUIMainWnd::AppIsRunning_void_
push 0x9a8
push 0x691478
push 0x80
lea ecx, [ebp - 0x2b8]
call fcn.00485d60
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24c]
push edx
push 0x6914ac
lea eax, [ebp - 0x28]
push eax
push 0x691474
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [0x6c7b98]
push edx
push 1
mov eax, dword [ebp - 0x27c]
push eax
call fcn.00485e40
add esp, 0xc
mov ecx, eax
call fcn.004ca640
mov ecx, eax
call fcn.0049bb80
mov ecx, eax
call fcn.004ca4c0
mov ecx, eax
call fcn.0049bb80
mov ecx, eax
call fcn.0049bc10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b8]
call fcn.00485de0
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x280], ecx
push 3
mov ecx, dword [ebp - 0x270]
call fcn.004bc050
mov byte [ebp - 0x256], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov al, byte [ebp - 0x256]
jmp 0x4bcb5c
jmp 0x4bc980
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0x257], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov al, byte [ebp - 0x257]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4bcb80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610c90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x40]
call fcn.0047cc30
mov dword [ebp - 4], 0
push 0x6914a8
lea ecx, [ebp - 0x28]
call fcn.0048b540
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004b4ff0
push 2
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0047c9a0
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x28]
call fcn.0047cb40
lea ecx, [ebp - 0x58]
call fcn.0047caf0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4bcc54
cmp dword [ebp - 0x70], 0
ja 0x4bcc2d
cmp dword [ebp - 0x74], 0x12c00000
jbe 0x4bcc54
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0047caf0
mov eax, dword [ebp - 0x68]
jmp 0x4bcc83
push 0xb
mov ecx, dword [ebp - 0x5c]
call fcn.004bc050
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0047caf0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4bcec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610d03
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0xc0]
call fcn.004bc8d0
movzx eax, al
test eax, eax
jne 0x4bcf0b
or eax, 0xffffffff
jmp 0x4bd117
mov ecx, dword [ebp - 0xc0]
call fcn.004bc4e0
movzx ecx, al
test ecx, ecx
jne 0x4bcf25
or eax, 0xffffffff
jmp 0x4bd117
mov ecx, dword [ebp - 0xc0]
call fcn.004bcca0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x168
push 0x28a
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc0]
call fcn.004ffa19
lea ecx, [ebp - 0xbc]
call fcn.004f02ba
mov dword [ebp - 4], 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0xc0]
add ecx, 0x448
call fcn.0047ca20
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004f0864
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.004f08e4
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x374]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x374]
mov eax, dword [edx + 0x2c]
call eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x494]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x494]
mov eax, dword [edx + 0xcc]
call eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0xcc]
call eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4a0]
mov eax, dword [edx + 0xcc]
call eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x4d0]
push edx
push str.start_app
push 0x691540
lea eax, [ebp - 0x38]
push eax
call fcn.004d9740
add esp, 0x10
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc8]
call fcn.0047ca20
push eax
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x4a4]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4a4]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0047caf0
push 0
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x4b5940
push 0
push 0
call fcn.005e73dd
add esp, 0x18
push 0x6915dc
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x4bc]
call fcn.00470840
mov ecx, dword [ebp - 0xc0]
call fcn.004bc150
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.004f03ac
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4bd150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x691570
lea ecx, [ebp - 0x230]
call fcn.0048b540
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x560]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x230]
call fcn.004c4ea0
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x230]
call fcn.0047ca20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bd26d
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bd22d
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0047ca60
jmp 0x4bd25e
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov eax, dword [ebp - 0x244]
jmp 0x4bd2b3
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4bd291
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov eax, dword [ebp - 0x248]
jmp 0x4bd2b3
mov dword [ebp - 0x24c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 8
Function at 0x4c1c30
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61119c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.005e2ec0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.005e2ec0
add esp, 0xc
lea ecx, [ebp - 0x468]
call fcn.0047cc30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0047cc30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0047cc30
mov byte [ebp - 4], 2
lea edx, [ebp - 0x480]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.004c1e60
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x438]
call fcn.0047cb40
lea ecx, [ebp - 0x480]
call fcn.0047caf0
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x4c1dff
push 0x104
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0047ca60
lea edx, [ebp - 0x498]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.004c1f40
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4b0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c4f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.0047caf0
push 0x692b14
mov ecx, dword [ebp + 8]
call fcn.004c4ef0
push 0
mov ecx, dword [ebp + 8]
call fcn.0047ca20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x4c1dc0
cmp dword [ebp - 0x4a0], 0x50
je 0x4c1dc0
cmp dword [ebp - 0x4a0], 0xb7
je 0x4c1dc0
jmp 0x4c1dff
mov byte [ebp - 0x499], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.0047caf0
mov al, byte [ebp - 0x499]
jmp 0x4c1e3c
mov byte [ebp - 0x49a], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.0047caf0
mov al, byte [ebp - 0x49a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x4c33b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611388
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x28]
call fcn.0047cc30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0047cc30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0047cc30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004c1c30
push 1
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.004c2160
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x58]
call fcn.0047cb40
lea ecx, [ebp - 0x70]
call fcn.0047caf0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004c4f10
push 0x6936c8
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004ca250
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x40]
call fcn.0047cb40
lea ecx, [ebp - 0x88]
call fcn.0047caf0
lea ecx, [ebp - 0x28]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret