joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4847b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdc80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
push eax
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call edi
mov eax, dword [esi + 0xa8]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov eax, dword [esi + 0xb5c]
push 0x20
test eax, eax
je 0x484877
mov ecx, dword [0x6d1144]
mov eax, dword [ebp - 0x20]
neg ecx
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
sbb ecx, ecx
and ecx, 5
add ecx, 9
sub ecx, eax
add ecx, edi
push ecx
mov ecx, dword [ebp - 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0xc]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x6d1e08]
push ecx
lea ecx, [esi + 0x8c]
call fcn.005e2e9e
mov edx, dword [esi + 0xc]
push 0
push 0x519
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xb5c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xb5c], eax
jmp 0x4848e4
mov ecx, dword [esi + 0xb3c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x20]
sub edx, eax
push edx
mov edx, dword [esi + 0xc]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x6d1e04]
lea ecx, [esi + 0x8c]
push eax
call fcn.005e2e9e
mov ecx, dword [esi + 0xc]
push 5
push 0x519
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xb5c]
mov eax, dword [esi]
xor edx, edx
test ecx, ecx
sete dl
mov dword [esi + 0xb5c], edx
mov ecx, dword [eax + 0x8b8]
test ecx, ecx
je 0x4848e4
mov edx, dword [ecx]
call dword [edx]
mov edx, dword [esi + 0xb5c]
mov ecx, esi
test edx, edx
setne al
push eax
call fcn.004821b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484f20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdcc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0xd78]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x484fd0
cmp byte [esi + 9], bl
je 0x484fd0
lea edi, [esi + 0x398]
push ebx
push ebx
push 0x2000000
mov ecx, edi
mov byte [esi + 0xabc], 1
mov byte [esi + 9], bl
mov dword [esi + 0x620], ebx
call fcn.005e2e6d
lea eax, [esi + 0x884]
mov ecx, edi
push eax
call fcn.005ec9c0
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.005ec512
push eax
mov ecx, edi
call fcn.005ec8cb
cmp eax, ebx
jl 0x484fae
push eax
mov ecx, edi
call fcn.005ec89e
mov ecx, edi
call fcn.005ec512
mov edx, dword [eax + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.005e2e6d
mov ecx, dword [0x6d116c]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bHideSLTabOnDwnlDlg
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x485010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdcd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov al, byte [edi + 0xd78]
mov dword [ebp - 4], ebx
cmp al, bl
je 0x4850ba
cmp byte [edi + 0xa], bl
je 0x4850ba
lea esi, [edi + 0x398]
push ebx
push ebx
push 0x2000000
mov ecx, esi
mov byte [edi + 0x880], 1
mov byte [edi + 0xa], bl
call fcn.005e2e6d
lea eax, [edi + 0x648]
mov ecx, esi
push eax
call fcn.005ec9c0
mov ecx, dword [edi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.005ec512
push eax
mov ecx, esi
call fcn.005ec8cb
cmp eax, ebx
jl 0x485098
push eax
mov ecx, esi
call fcn.005ec89e
mov ecx, esi
call fcn.005ec512
mov edx, dword [eax + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.005e2e6d
mov ecx, dword [0x6d116c]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bHideCTabOnDwnlDlg
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4855b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fdd90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x6d116c]
xor eax, eax
push 4
test cl, cl
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.ShowDropTarget
setne al
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4882b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
push 0
push 0
push 0
mov esi, ecx
push 0
push edi
push eax
push 1
lea ecx, [esi + 0x1b8]
call fcn.005dda57
mov ebx, eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x48830c
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push 0
push edi
push eax
mov dword [esp + 0x50], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48830c
cmp dword [esp + 0x3c], 2
je 0x488334
mov ecx, dword [esi + 0x1d4]
lea eax, [esp + 0xc]
push eax
push ebx
push 0x102b
push ecx
mov dword [esp + 0x2c], 0xf000
mov dword [esp + 0x28], 0x2000
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8

Function at 0x488340
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ebx, ecx
push edi
push 0
push 0
mov eax, dword [ebx + 0x198]
push 0xf0
push eax
call ebp
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
push 4
neg eax
push ecx
push 4
sbb eax, eax
push 0
add eax, 2
push str.PanelView
push esi
mov dword [esp + 0x28], eax
call edi
mov edx, dword [ebx + 0x15c]
push 0
push 0
push 0xf0
push edx
call ebp
neg eax
sbb eax, eax
push 4
add eax, 2
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.DonlCaptWP
push esi
call edi
or esi, 0xffffffff
mov ecx, dword [ebx + 0x1d4]
push 0
push esi
push 0x100c
push ecx
call ebp
mov esi, eax
test esi, esi
jl 0x48843c
mov edx, dword [ebx + 0x1d4]
push 0xf000
push esi
push 0x102c
push edx
call ebp
shr eax, 0xc
dec eax
push 0
neg eax
sbb eax, eax
push esi
add eax, 2
lea ecx, [ebx + 0x1b8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
call fcn.005ddb7d
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x488431
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push edx
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x14]
call fcn.005e38b9
jmp 0x4883bc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x48a320
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe4c0
push eax
mov eax, dword [0x6d1144]
mov dword fs:[0], esp
push ebp
push esi
test eax, eax
push edi
je 0x48a458
mov eax, dword [0x6d1500]
test eax, eax
jne 0x48a370
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [0x6d14f4]
test eax, eax
jne 0x48a38d
call fcn.00489e00
mov dword [0x6d14f0], eax
mov dword [0x6d14f4], 1
mov eax, dword [0x6d14f0]
test eax, eax
je 0x48a3b8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push esi
call fcn.00489ec0
mov edi, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x48a416
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x48a3ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x48a416
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x48a43a
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push 0
push esi
push edi
call fcn.00489a50
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
test ebp, ebp
jne 0x48a521
mov eax, dword [0x6a5fe8]
test eax, eax
jne 0x48a521
push edi
lea ecx, [esp + 0x20]
call fcn.005e3979
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.005e3979
mov ecx, dword [esp + 0x1c]
push 0x3f
push ecx
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48a502
mov edx, dword [esp + 0x20]
push 0x3f
push edx
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48a502
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.005e38b9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.005e38b9
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.005e38b9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 0xc]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret
Function at 0x48a540
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe4e0
push eax
mov eax, dword [0x6d1144]
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x48a665
mov eax, dword [0x6d1500]
test eax, eax
jne 0x48a597
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x6d14f4]
test eax, eax
jne 0x48a5b4
call fcn.00489e00
mov dword [0x6d14f0], eax
mov dword [0x6d14f4], 1
mov eax, dword [0x6d14f0]
test eax, eax
jne 0x48a56f
mov esi, dword [esp + 0x24]
push esi
call fcn.00489ec0
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x48a622
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x48a60a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x48a622
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x48a647
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
push ebx
call fcn.00489b20
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebp, eax
test ebp, ebp
jne 0x48a735
mov eax, dword [0x6a5fe8]
test eax, eax
jne 0x48a735
push edi
lea ecx, [esp + 0x28]
call fcn.005e3979
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], ebp
call fcn.005e3979
mov eax, dword [esp + 0x24]
push 0x3f
push eax
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48a716
mov ecx, dword [esp + 0x28]
push 0x3f
push ecx
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48a716
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.005e38b9
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.005e38b9
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.005e38b9
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x48a750
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe4f8
push eax
mov eax, dword [0x6d1144]
mov dword fs:[0], esp
push esi
push edi
test eax, eax
je 0x48a86f
mov eax, dword [0x6d1500]
test eax, eax
jne 0x48a799
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6d14f4]
test eax, eax
jne 0x48a7b6
call fcn.00489e00
mov dword [0x6d14f0], eax
mov dword [0x6d14f4], 1
mov eax, dword [0x6d14f0]
test eax, eax
je 0x48a7db
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x18]
push esi
call fcn.00489ec0
add esp, 4
test eax, eax
jne 0x48a832
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x48a81c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x48a832
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48a855
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
push esi
call fcn.00489bf0
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x48a8c4
mov eax, dword [0x6a5fe8]
test eax, eax
jne 0x48a8c4
push edi
lea ecx, [esp + 0x1c]
call fcn.005e3979
mov edx, dword [esp + 0x18]
push 0x3f
push edx
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48a8b3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 8]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x48a8e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe518
push eax
mov eax, dword [0x6d1144]
mov dword fs:[0], esp
push esi
push edi
test eax, eax
je 0x48aa43
mov eax, dword [0x6d1500]
test eax, eax
jne 0x48a933
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6d14f4]
test eax, eax
jne 0x48a950
call fcn.00489e00
mov dword [0x6d14f0], eax
mov dword [0x6d14f4], 1
mov eax, dword [0x6d14f0]
test eax, eax
je 0x48a960
mov edx, dword [esp + 0x18]
push edx
jmp 0x48a912
mov esi, dword [esp + 0x18]
push esi
call fcn.00489ec0
add esp, 4
test eax, eax
jne 0x48a9a2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48a9be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x48aa06
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6d13e0]
test eax, eax
jne 0x48a9b0
mov eax, 0x6d13e4
push eax
push esi
call fcn.005c996c
add esp, 8
test eax, eax
jne 0x48a9d4
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6d12d0]
test eax, eax
jne 0x48a9e2
mov eax, 0x6d12d4
push eax
push esi
call fcn.005c996c
add esp, 8
test eax, eax
jne 0x48aa06
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48aa29
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
push esi
call fcn.00489ca0
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x48aaa8
mov eax, dword [0x6a5fe8]
test eax, eax
jne 0x48aaa8
push edi
lea ecx, [esp + 0x1c]
call fcn.005e3979
mov eax, dword [esp + 0x18]
push 0x3f
push eax
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48aa97
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 8]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x48aac0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe538
push eax
mov eax, dword [0x6d1144]
mov dword fs:[0], esp
push esi
push edi
test eax, eax
je 0x48abe4
mov eax, dword [0x6d1500]
test eax, eax
jne 0x48ab0b
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6d14f4]
test eax, eax
jne 0x48ab28
call fcn.00489e00
mov dword [0x6d14f0], eax
mov dword [0x6d14f4], 1
mov eax, dword [0x6d14f0]
test eax, eax
je 0x48ab4f
mov ecx, dword [esp + 0x18]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x18]
push esi
call fcn.00489ec0
add esp, 4
test eax, eax
jne 0x48aba7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48ab91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x48aba7
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48abca
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
push esi
call fcn.00489d50
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov edi, dword [esp + 0x18]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x48ac3c
mov eax, dword [0x6a5fe8]
test eax, eax
jne 0x48ac3c
push edi
lea ecx, [esp + 0x1c]
call fcn.005e3979
mov edx, dword [esp + 0x18]
push 0x3f
push edx
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x48ac2b
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 8]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x48ac50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x90
push ebx
xor eax, eax
push ebp
push esi
mov dword [esp + 0x24], eax
push edi
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov ecx, 0x10
lea edi, [esp + 0x60]
mov dword [esp + 0x5c], ebx
mov esi, str.S_1_16_8192
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x4c], ecx
push edx
mov dword [esp + 0x54], ecx
push 0x8b
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
xor ebp, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, ebx
je 0x48ad82
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 1
push 2
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, eax
cmp esi, ebx
je 0x48ad82
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, ebx
je 0x48ad82
push str.ConvertStringSidToSidW
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x48ad82
lea edx, [esp + 0x14]
lea ecx, [esp + 0x34]
push edx
push ecx
call eax
mov esi, eax
cmp esi, ebx
je 0x48ad82
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0x20
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push edx
push 0x19
push eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, ebx
je 0x48ad82
lea ecx, [esp + 0x24]
lea edx, [esp + 0x5c]
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x48ad93
push eax
call edi
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x48ad9e
push eax
call edi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48adb4
push eax
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x48adbf
push eax
call edi
cmp ebp, ebx
je 0x48adca
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret