joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbffd
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a7ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ec1c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.005904a0
mov esi, dword [0x663d4c]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc061
test cl, cl
je 0x4bc05d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc061
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc03d
xor eax, eax
jmp 0x4bc066
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc090
mov ecx, dword [0x663680]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.RememberDuplLinksA
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4bc154
mov eax, dword [0x663680]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.RememberDuplLinksA
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x663d48]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc0e5
test cl, cl
je 0x4bc0e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc0e5
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc0c1
xor eax, eax
jmp 0x4bc0ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc0f8
mov dword [esp + 8], 1
jmp 0x4bc137
mov esi, dword [0x663d44]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc124
test cl, cl
je 0x4bc120
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc124
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc100
xor eax, eax
jmp 0x4bc129
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x663680]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.DuplLinksA
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c0310
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a84e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x65ec1c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x2c], 0
call fcn.00588849
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00588849
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.004bd780
mov esi, eax
test esi, esi
jne 0x4c03b9
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c038a
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004a96f0
mov ecx, edi
call fcn.004c1800
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00588849
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx*4]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [ecx + edx*4], esi
add esi, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005887f9
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.005887f9
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.0058872e
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.00588a36
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x125
jbe 0x4c0417
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.00588ba0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x663188
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push eax
push eax
push str.User
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push 0
push eax
push str.EncPassword
push str.Password
push ecx
call fcn.0053f850
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.005886c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.005886c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4c04d0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8510
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 4]
test eax, eax
je 0x4c0628
mov ebx, dword [esp + 0x34]
push ebx
call fcn.0058153c
xor edx, edx
div dword [ebp + 8]
mov eax, dword [ebp + 4]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x4c0628
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.0056dad2
add esp, 8
test eax, eax
je 0x4c0537
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x4c0519
jmp 0x4c0628
mov ecx, dword [esi]
xor ebx, ebx
mov dword [edi], ecx
lea edi, [esi + 0xc]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [esp + 0x2c], 0
call fcn.005886c0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005886c0
add edi, 8
mov edx, ebx
dec ebx
mov dword [esp + 0x10], edi
test edx, edx
jne 0x4c0544
lea eax, [esi + 8]
push 1
push eax
call fcn.00581518
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], eax
jne 0x4c0628
mov eax, dword [ebp + 4]
test eax, eax
je 0x4c0606
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x4c0606
mov edx, dword [ebp + 4]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x4c05fa
lea esi, [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
call fcn.005886c0
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005886c0
add esi, 8
mov eax, edi
dec edi
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4c05b8
lea ecx, [ebx + 8]
push 1
push ecx
call fcn.00581518
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4c05af
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4c05a5
mov edx, dword [ebp + 4]
push edx
call fcn.00584a85
mov ecx, dword [ebp + 0x14]
xor esi, esi
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
call fcn.005835a4
mov dword [ebp + 0x14], esi
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x20]
call fcn.0058872e
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerPasswords
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4c0683
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.005886c0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4c1170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a86b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ec1c]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push 1
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx + 0x24]
push ecx
mov ecx, dword [0x6636a8]
push edx
push eax
mov dword [esp + 0x30], 0
call fcn.004bf270
test eax, eax
je 0x4c1285
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x4c11dd
push eax
call fcn.00584a85
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00584a5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0xc], edx
jne 0x4c1208
push str.URL::set_userName:_Not_enough_memory__n
mov ecx, ebx
call fcn.005479a0
jmp 0x4c1227
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4c123b
push eax
call fcn.00584a85
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00584a5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x10], edx
jne 0x4c1266
push str.URL::set_password:_Not_enough_memory__n
mov ecx, ebx
call fcn.005479a0
jmp 0x4c1285
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
call fcn.005886c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c5e30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x65ec1c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x663660]
lea edx, [ebp - 0x14]
push ecx
push str._sScheduler_
push edx
mov byte [ebp - 4], 1
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4c5f97
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.00588b2f
mov esi, eax
cmp esi, 0xffffffff
je 0x4c5f97
lea ecx, [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0058108d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x18]
sete bl
call fcn.005886c0
test bl, bl
je 0x4c5e9d
lea edx, [ebp - 0x1c]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.0058108d
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x1c]
sete bl
call fcn.005886c0
test bl, bl
je 0x4c5e9d
mov al, byte [ebp + 8]
test al, al
je 0x4c5f73
mov eax, dword [0x65ec1c]
mov dword [ebp + 8], eax
push 0
lea ecx, [ebp - 0x18]
push 0
push ecx
push 0x400
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x6643bc]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push edx
add eax, 8
push 0x638fa8
push eax
call fcn.0058148b
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c9030
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov dword [ecx], 0x5d0594
jmp 0x4c91c0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a92d8
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
jne 0x4c92c7
mov edx, dword [esp + 0xc]
push str.RecentProjects
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.RecentProjects
push edx
call esi
test eax, eax
jne 0x4c92c7
mov eax, dword [ebx + 0x14]
xor esi, esi
test eax, eax
jle 0x4c92b3
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
lea edi, [ebx + 4]
mov eax, dword [0x65ec1c]
mov dword [esp + 0x10], eax
inc esi
lea ecx, [esp + 0x10]
push esi
push 0x638fec
push ecx
mov dword [esp + 0x34], 0
call fcn.0058148b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 0xc
push 4
push edi
push 4
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005886c0
mov eax, dword [ebx + 0x14]
add edi, 4
cmp esi, eax
jl 0x4c925e
pop edi
pop ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4c90b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a92b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerGrabberStsRecentProjects
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c91a0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov edi, 4
mov edx, dword [0x65ec1c]
mov dword [esp + 0xc], edx
push edi
lea eax, [esp + 0x10]
push 0x638fec
push eax
mov dword [esp + 0x38], 0
call fcn.0058148b
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x2c], 4
call ebx
test eax, eax
jne 0x4c9183
mov edx, dword [0x663644]
test edx, edx
jle 0x4c9183
mov ecx, dword [0x663640]
mov esi, dword [esp + 0x18]
cmp esi, dword [ecx]
je 0x4c9179
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x4c916b
jmp 0x4c9183
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004c9040
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005886c0
dec edi
test edi, edi
jg 0x4c910c
pop edi
pop esi
pop ebx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4c96e0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x663a50]
sub esp, 0x14
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
jne 0x4c970c
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x663a50], eax
je 0x4c9879
mov ecx, dword [0x663a54]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp ecx, ebx
jne 0x4c9731
push str.GetNamedSecurityInfoA
push eax
call ebp
mov ecx, eax
mov eax, dword [0x663a50]
mov dword [0x663a54], ecx
mov edx, dword [0x663a58]
cmp edx, ebx
jne 0x4c9751
push str.SetNamedSecurityInfoA
push eax
call ebp
mov ecx, dword [0x663a54]
mov edx, eax
mov dword [0x663a58], edx
cmp ecx, ebx
je 0x4c9879
cmp edx, ebx
je 0x4c9879
lea eax, [esi + 8]
add esi, 4
push esi
push ebx
push eax
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push 4
push 4
push eax
call ecx
test eax, eax
jne 0x4c9879
mov ecx, dword [0x663a50]
push str.AllocateAndInitializeSid
push ecx
call ebp
mov edi, eax
cmp edi, ebx
je 0x4c9879
mov edx, dword [0x663a50]
push str.GetLengthSid
push edx
call ebp
mov esi, eax
cmp esi, ebx
je 0x4c9879
mov eax, dword [0x663a50]
push str.InitializeAcl
push eax
call ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4c9879
mov ecx, dword [0x663a50]
push str.AddAccessDeniedAce
push ecx
call ebp
mov ebp, eax
cmp ebp, ebx
je 0x4c9879
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push eax
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 1
call edi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov esi, eax
add esi, 0x10
push esi
call fcn.0056cf20
add esp, 4
mov edi, eax
push 2
push esi
push edi
call dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push edx
push 0x10000000
push 2
push edi
call ebp
mov eax, dword [esp + 0x28]
push ebx
push edi
push ebx
push ebx
push 4
push 4
push eax
call dword [0x663a58]
test eax, eax
push edi
je 0x4c986b
call fcn.0056c730
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
call fcn.0056c730
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4caa20
Capabilities:
Get hostname

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x19c]
push eax
push esi
mov dword [esp + 0xc], 0x32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x4caa4e
push str.default
push esi
call fcn.0056d05a
add esp, 8
pop esi
pop ecx
ret

Function at 0x4caa60
Capabilities:
Get session user name

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x2a4]
push eax
push esi
mov dword [esp + 0xc], 0x32
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x4caa8e
push str.default_user
push esi
call fcn.0056d05a
add esp, 8
pop esi
pop ecx
ret

Function at 0x4cc0d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x65ec1c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x663660]
lea edx, [ebp - 0x14]
push ecx
push str._sGrabber_
push edx
mov byte [ebp - 4], 1
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4cc22e
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.00588b2f
mov esi, eax
cmp esi, 0xffffffff
je 0x4cc22e
lea ecx, [ebp - 0x1c]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0058108d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x1c]
sete bl
call fcn.005886c0
test bl, bl
je 0x4cc13d
lea edx, [ebp - 0x18]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.0058108d
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x18]
sete bl
call fcn.005886c0
test bl, bl
je 0x4cc13d
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x1c]
push 0
push ecx
push 0x400
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x6643bc]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push edx
add eax, 0x18
push str._sprojects.dat
push eax
call fcn.0058148b
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cde80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a98d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ec1c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 0x14], eax
mov ecx, dword [0x65ec1c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ecx
push 0xffffffffffffffff
push ebx
push ebx
push 0x17
push 1
push 1
push 0x7d5
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 1
mov dword [esi], 0x5d1b20
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x18], bl
mov byte [esi + 0xc], bl
mov dword [esi + 8], 0x78
mov dword [esi + 0x10], ebx
mov dword [esi + 0x38], 1
mov byte [esi + 4], 1
mov byte [esi + 0x19], bl
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], bl
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2f], bl
mov byte [esi + 0x2d], bl
mov byte [esi + 0x2e], bl
mov dword [esi + 0x28], 0x7f
call fcn.005819a6
mov edx, dword [eax]
push 0xffffffffffffffff
push ebx
push 0x1e
push 7
push 1
push 1
mov dword [esi + 0x1c], edx
push 0x7d5
lea ecx, [esp + 0x28]
mov dword [esi + 0x20], ebx
call fcn.005819a6
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x24], eax
mov byte [esi + 0x30], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret