joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dc45
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x42dc58
push esi
push ebx
call fcn.004057bc
pop esi
pop ebx
ret
cmp dword [0x48f65c], 0
jne 0x42dc7b
push 0x42dca0
push 0x42dcb0
call fcn.0040595c
push eax
call fcn.00405974
mov dword [0x48f65c], eax
cmp dword [0x48f65c], 0
je 0x42dc95
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x48f65c]
jmp 0x42dc9a
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x42dcc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x42ddeb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48e0dc], 2
jne 0x42ddc5
push 0
push 8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0042dc1c
test eax, eax
jne 0x42ddc5
xor edx, edx
push ebp
push 0x42ddbe
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.004034f8
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0040358c
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
call fcn.0040375c
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004057cc
cmp eax, 0xea
jne 0x42dd87
mov eax, dword [ebp - 0x14]
call fcn.0040358c
cmp eax, 0x10000
jge 0x42dda7
mov eax, dword [ebp - 0x14]
call fcn.0040358c
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004034f8
jmp 0x42dd2f
test eax, eax
jne 0x42dda7
mov eax, dword [ebp - 0x14]
call fcn.00403750
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
call fcn.0042dcc0
test eax, eax
je 0x42dd2f
inc ebx
jmp 0x42dd2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ddc5
mov eax, dword [ebp - 0x10]
push eax
call fcn.004057ac
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0042dc44
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ddf2
lea eax, [ebp - 0x14]
call fcn.00403418
ret

Function at 0x42ddfc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov edi, edx
mov ebx, eax
push 0
push 1
lea eax, [esp + 8]
push eax
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.0042dc1c
mov esi, eax
test esi, esi
jne 0x42de7a
push 0
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004057e4
mov esi, eax
mov eax, dword [esp]
push eax
call fcn.004057ac
test esi, esi
jne 0x42de7a
cmp dword [esp + 4], 0
jne 0x42de75
cmp dword [esp + 8], 0
jne 0x42de75
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.0042dc44
mov esi, eax
jmp 0x42de7a
mov esi, 0x91
mov eax, esi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42de84
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
cmp dword [0x48e0dc], 2
je 0x42dea0
mov byte [ebp - 1], 1
jmp 0x42e06f
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
push 0x48e788
call fcn.0040576c
test eax, eax
je 0x42e06f
xor eax, eax
push ebp
push 0x42e068
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.004059bc
and ax, 0xff
cmp ax, 5
jb 0x42df01
push 0x42e078
push 0x42e090
call fcn.0040595c
push eax
call fcn.00405974
mov ebx, eax
test ebx, ebx
je 0x42df2a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x42e051
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
jmp 0x42e051
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 8
call fcn.004058ec
push eax
call fcn.004057a4
test eax, eax
jne 0x42df7b
call fcn.00405934
cmp eax, 0x3f0
je 0x42df5c
call fcn.004031d4
jmp 0x42e06f
lea eax, [ebp - 0x10]
push eax
push 8
call fcn.004058dc
push eax
call fcn.0040579c
test eax, eax
jne 0x42df7b
call fcn.004031d4
jmp 0x42e06f
xor eax, eax
push ebp
push 0x42e04a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call fcn.00405784
test eax, eax
jne 0x42dfbe
call fcn.00405934
cmp eax, 0x7a
je 0x42dfbe
call fcn.004031d4
call fcn.004031d4
jmp 0x42e06f
mov eax, dword [ebp - 0x14]
call fcn.00402648
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call fcn.00405784
test eax, eax
jne 0x42dff0
call fcn.004031d4
call fcn.004031d4
jmp 0x42e06f
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x42e02b
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00405774
test eax, eax
je 0x42e027
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x42e027
mov byte [ebp - 1], 1
jmp 0x42e02b
inc ebx
dec esi
jne 0x42dffd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e051
mov eax, dword [ebp - 0x18]
call fcn.00402660
mov eax, dword [ebp - 0x10]
push eax
call fcn.004057fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e06f
mov eax, dword [ebp - 8]
push eax
call fcn.0040577c
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4302cc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x434d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x434ebc
inc esi
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00433b64
pop ecx
test al, al
jne 0x434d55
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.00434ff0
xor ebx, ebx
jmp 0x434ebc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [ebp - 0x10]
ja 0x434d74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.00434ff0
xor ebx, ebx
jmp 0x434ebc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004465e4
test eax, eax
jne 0x434dac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.00434ff0
xor ebx, ebx
jmp 0x434ebc
test byte [ebp - 0xc], 1
je 0x434eb5
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00433b64
pop ecx
test al, al
jne 0x434de0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.00434ff0
xor ebx, ebx
jmp 0x434ebc
mov edx, 0x431b48
mov eax, 0xc
call fcn.00403b98
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x434e88
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 8]
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004038bc
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040375c
mov edx, dword [ebp - 4]
call fcn.00433b64
pop ecx
test al, al
jne 0x434e4b
mov edx, 0x431b48
mov eax, dword [ebp - 8]
call fcn.00403bac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.00434ff0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434ebc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00430ff0
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.00431288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434eb5
dec esi
jne 0x434d2b
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a83c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call fcn.004059c4
test eax, eax
je 0x44a888
cmp dword [ebp - 0x84], 2
jne 0x44a888
cmp dword [ebp - 0x90], 5
jg 0x44a886
cmp dword [ebp - 0x90], 5
jne 0x44a888
cmp dword [ebp - 0x8c], 1
jl 0x44a888
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44eb0c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov byte [0x48f740], 0
cmp dword [0x48e0dc], 2
jne 0x44eb3f
mov dword [esp], 0x94
push esp
call fcn.004059c4
test eax, eax
je 0x44eb3f
cmp dword [esp + 4], 5
setge byte [0x48f740]
add esp, 0x94
ret

Function at 0x44fe2c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x48f76c
mov eax, esi
mov edx, 8
test al, 1
je 0x44fe48
shr eax, 1
xor eax, 0xedb88320
jmp 0x44fe4a
shr eax, 1
dec edx
jne 0x44fe3b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x44fe34
pop esi
ret

Function at 0x44fe77
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x48f768], 0
jne 0x44fe83
call fcn.0044fe2c
push 1
push 0x48f768
call fcn.004058ac
mov eax, edi
test esi, esi
je 0x44feae
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x48f76c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x44fe89
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x450954
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00403750
mov edi, eax
push edi
call fcn.00405b7c
mov ebx, eax
test ebx, ebx
jle 0x4509f6
mov eax, ebx
call fcn.00402648
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4509ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call fcn.00405b74
test eax, eax
je 0x4509d9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x450a18
mov eax, dword [ebp - 0x10]
push eax
call fcn.00405b84
test eax, eax
je 0x4509d9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450a0c
mov eax, dword [ebp - 0x10]
call fcn.00402660
ret
cmp dword [0x48e0dc], 1
je 0x450a0c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00450778
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450bb4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x450bd5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x450c23
xor eax, eax
push ebp
push 0x450c13
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.00403750
push eax
call fcn.0040581c
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450c1a
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450c2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x450c50
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x450cb6
xor eax, eax
push ebp
push 0x450ca6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call fcn.0040584c
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450cad
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x450cc4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x450ce8
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x450d40
xor eax, eax
push ebp
push 0x450d30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.00403750
push eax
mov eax, esi
call fcn.00403750
push eax
call fcn.00405814
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d37
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x450d4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x450d6d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x450db9
xor eax, eax
push ebp
push 0x450da9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403750
push eax
call fcn.0040585c
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450db0
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450f24
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x450f47
mov dword [ebp - 4], 0xffffffff
jmp 0x450f93
xor eax, eax
push ebp
push 0x450f83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403750
push eax
call fcn.0040591c
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450f8a
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4510c4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x4510e8
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x45113c
xor eax, eax
push ebp
push 0x45112c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403750
push eax
mov eax, esi
call fcn.00403750
push eax
call fcn.00405a54
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451133
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451148
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x45116b
test esi, 4
je 0x45116b
xor edi, edi
jmp 0x451174
mov eax, edi
call fcn.00403750
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x451189
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4511d8
xor eax, eax
push ebp
push 0x4511c8
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.00403750
push eax
call fcn.00405a5c
mov dword [ebp - 8], eax
call fcn.00405934
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4511cf
lea eax, [ebp - 0x10]
call fcn.00450ba4
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x451254
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x451275
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4512c1
xor eax, eax
push ebp
push 0x4512b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403750
push eax
call fcn.00405a9c
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512b8
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4512cc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00450b68
test al, al
jne 0x4512f0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x45133d
xor eax, eax
push ebp
push 0x45132d
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.00403750
push eax
call fcn.00405abc
mov dword [ebp - 4], eax
call fcn.00405934
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451334
lea eax, [ebp - 0xc]
call fcn.00450ba4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451d94
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x451e83
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0042d830
mov edx, dword [ebp - 8]
mov ecx, 0x451e9c
xor eax, eax
call fcn.00451b20
push 0
mov eax, dword [ebp - 4]
call fcn.00403750
push eax
call fcn.0040581c
test eax, eax
jne 0x451e51
call fcn.00405934
mov ebx, eax
cmp ebx, 0xb7
je 0x451db4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.004503a4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00406d00
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0042e638
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x60
call fcn.00450374
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x406360
call fcn.00408ba4
call fcn.00403134
jmp 0x451db4
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004034ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451e8a
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403438
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403438
ret
Function at 0x45339c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
call fcn.00403740
xor eax, eax
push ebp
push 0x4534ad
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x1c], 0
jne 0x4533d9
lea edx, [ebp + 0x1c]
mov eax, ebx
call fcn.0042c7d8
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402934
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x540
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov eax, ebx
call fcn.00403750
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00403750
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x1c], 0
je 0x453422
mov eax, dword [ebp + 0x1c]
call fcn.00403750
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call fcn.0042cbc4
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
test bl, bl
jne 0x453446
call fcn.00405934
mov dword [esi], eax
jmp 0x453497
mov dword [esi], 0x103
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x453497
cmp byte [ebp + 0x14], 0
je 0x453461
push 0xffffffffffffffff
push eax
call fcn.00406234
cmp byte [ebp + 0x18], 0
je 0x453484
test edi, edi
je 0x45346d
call edi
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.004060ac
dec eax
je 0x453467
push esi
mov eax, dword [ebp - 0xc]
push eax
call fcn.00405914
mov eax, dword [ebp - 0xc]
push eax
call fcn.004057fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4534b4
lea eax, [ebp + 0x1c]
call fcn.00403418
ret

Function at 0x45364c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call fcn.004058cc
test eax, eax
je 0x45367a
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.00403574
jmp 0x453681
mov eax, ebx
call fcn.00403418
add esp, 0x14
pop ebx
ret

Function at 0x453688
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call fcn.0040578c
test eax, eax
je 0x4536b9
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00403574
jmp 0x4536c0
mov eax, ebx
call fcn.00403418
add esp, 0x104
pop ebx
ret

Function at 0x4536f0
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x48e0dc], 2
jne 0x45375d
push esp
push 0x28
call fcn.004058dc
push eax
call fcn.0040579c
test eax, eax
jne 0x453715
call fcn.004536d0
jmp 0x45376f
lea eax, [esp + 8]
push eax
push 0x453774
push 0
call fcn.00405794
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.004536c8
call fcn.00405934
test eax, eax
je 0x45375d
call fcn.004536d0
jmp 0x45376f
push 0
push 2
call fcn.00405ec4
test eax, eax
jne 0x45376f
call fcn.004536d0
add esp, 0x14
ret