joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e7e0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
cmp eax, 0x104
jb 0x43e812
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x43e827
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push ebx
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x43e8cc
lea ecx, [ebp - 0x258]
call fcn.00454770
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.0043ead0
add esp, 8
test al, al
je 0x43e88b
cmp byte [ebp - 0x250], bl
je 0x43e88b
cmp dword [esi + 0x14], 8
jb 0x43e862
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x258]
setne bl
call fcn.004038b0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x43e895
mov eax, dword [esi]
jmp 0x43e897
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x43e8c1
lea ecx, [ebp - 0x258]
mov bl, 1
call fcn.004038b0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x258]
call fcn.004038b0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00488e30
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43e8f2
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
jmp 0x43e900
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x43e900
mov word [ebp - 0x214], ax
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x210]
movq qword [ebp - 0x21c], xmm0
movdqu xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 0x228], eax
mov eax, 0x414
mov dword [ebp - 0x22c], 3
mov word [ebp - 0x220], ax
test bl, bl
jne 0x43e967
mov eax, 0x1494
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0x21e], 0
je 0x43e98f
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x43e9b6
cmp eax, 2
je 0x43e9b6
cmp eax, 0x402
je 0x43e9b6
cmp eax, 0x7c
je 0x43e9b6
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
xor ecx, ebp
pop esi
call fcn.00486d53
mov esp, ebp
pop ebp
ret

Function at 0x43e9d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x43e9de
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e9f2
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x43ea00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
test eax, eax
je 0x43eab5
cmp eax, 0x104
ja 0x43eab5
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040409d
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.0043c0d0
mov ecx, eax
call fcn.0043dbe0
push eax
mov ecx, esi
call fcn.0043c1e0
lea ecx, [ebp - 0x23c]
call fcn.0043c140
lea ecx, [ebp - 0x254]
call fcn.0043c140
cmp dword [ebp - 0x210], 8
jb 0x43eaa4
push dword [ebp - 0x224]
call fcn.004835e0
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00486d53
mov esp, ebp
pop ebp
ret

Function at 0x43eb90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43ec16
cmp word [ebp - 0x20c], 0
je 0x43ec16
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040409d
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.0043c0d0
cmp dword [ebp - 0x210], 8
jb 0x43eca1
push dword [ebp - 0x224]
call fcn.004835e0
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x23c]
call fcn.0043c120
lea eax, [ebp - 0x23c]
push eax
call fcn.0043ecc0
add esp, 4
test al, al
je 0x43ec44
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call fcn.0043c0a0
jmp 0x43ec96
push 0x4b7850
lea ecx, [ebp - 0x224]
call fcn.0040409d
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.0043c0d0
cmp dword [ebp - 0x210], 8
jb 0x43ec79
push dword [ebp - 0x224]
call fcn.004835e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
lea ecx, [ebp - 0x23c]
call fcn.0043c140
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00486d53
mov esp, ebp
pop ebp
ret
Function at 0x43ecc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x43ed69
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040409d
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x258]
call fcn.0043c0d0
mov ecx, eax
call fcn.0043dbe0
push eax
mov ecx, esi
call fcn.0043c1e0
lea ecx, [ebp - 0x240]
call fcn.0043c140
lea ecx, [ebp - 0x258]
call fcn.0043c140
cmp dword [ebp - 0x214], 8
jb 0x43ed58
push dword [ebp - 0x228]
call fcn.004835e0
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00486d53
mov esp, ebp
pop ebp
ret

Function at 0x43ee60
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x10], 0x104
jae 0x43eef8
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0x104
jae 0x43eef8
cmp dword [edi + 0x14], 8
jb 0x43ee8b
mov eax, dword [edi]
jmp 0x43ee8d
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x43ee97
mov ecx, dword [esi]
jmp 0x43ee99
mov ecx, esi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
je 0x43eead
pop edi
mov al, 1
pop esi
pop ebp
ret
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [esi + 0x14], 8
mov dword [ebp + 8], eax
jb 0x43eec3
mov eax, dword [esi]
jmp 0x43eec5
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43eee8
shr eax, 4
and al, 1
je 0x43eee8
push edi
push esi
call fcn.0043e0e0
mov bl, al
add esp, 8
test bl, bl
jne 0x43eef1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x43efa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x43efae
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret
Function at 0x43f000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x43f00f
mov eax, dword [eax]
push esi
push 0
push 0x8000000
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
xor ecx, ecx
mov dword [ebp + 8], ecx
test esi, esi
je 0x43f07e
cmp esi, 0xffffffff
je 0x43f07e
mov dword [ebp + 8], esi
call fcn.00440520
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.0044ca30
mov ecx, dword [ebp + 8]
add esp, 0x10
test ecx, ecx
je 0x43f07e
cmp ecx, 0xffffffff
je 0x43f07e
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x43f07e
mov esi, dword [ebp - 4]
jmp 0x43f081
or esi, 0xffffffff
test ecx, ecx
je 0x43f0ab
cmp ecx, 0xffffffff
je 0x43f0ab
call fcn.00440520
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0044cb70
push dword [ebp + 8]
call fcn.0044c950
add esp, 0x14
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43f0c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x43f0d2
mov eax, dword [esi]
jmp 0x43f0d4
mov eax, esi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x43f0e1
mov ecx, dword [edi]
jmp 0x43f0e3
mov ecx, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x43f0f5
pop edi
mov al, 1
pop esi
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x43f0fd
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x43f105
mov esi, dword [esi]
push 0
push 0
push 2
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_ReplaceFileW]
test eax, eax
jne 0x43f0ef
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x43f131
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00454a60
add esp, 4
mov dword [esi], eax
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x43f160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 8], 0
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x43f181
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x43f1ef
cmp esi, 0xffffffff
je 0x43f1ef
mov dword [ebp - 4], esi
call fcn.00440520
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.0044ca30
mov ecx, dword [ebp - 4]
add esp, 0x10
test ecx, ecx
je 0x43f1ef
cmp ecx, 0xffffffff
je 0x43f1ef
push 0
lea eax, [ebp - 8]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x43f1ec
mov esi, dword [ebp - 8]
cmp esi, edi
jne 0x43f1ec
mov ecx, dword [ebp - 4]
jmp 0x43f1f2
mov ecx, dword [ebp - 4]
or esi, 0xffffffff
test ecx, ecx
je 0x43f21c
cmp ecx, 0xffffffff
je 0x43f21c
call fcn.00440520
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.0044cb70
push dword [ebp - 4]
call fcn.0044c950
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440860
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.0043d830
test al, al
jne 0x440881
mov ecx, dword [ebp + 0xc]
call fcn.0043d830
test al, al
jne 0x440881
pop ebp
jmp fcn.0043ee60
xor al, al
pop ebp
ret
Function at 0x4408b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
test ebx, ebx
je 0x4408d5
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x4408d0
mov eax, dword [ebx]
jmp 0x4408d2
mov eax, ebx
mov byte [eax], 0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043d830
test al, al
je 0x4408eb
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0x4b7910
push esi
call fcn.0043ef00
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
jne 0x44090c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10000
call fcn.00483600
push edi
push 0x10000
mov esi, eax
mov dword [ebp + 0xc], 0
push 1
push esi
call fcn.0048b859
mov edi, eax
add esp, 0x14
mov dword [ebp - 8], edi
test edi, edi
je 0x44098f
mov eax, dword [ebp + 0x10]
lea esp, [esp]
test ebx, ebx
je 0x440962
sub eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
cmp eax, edi
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
cmovae ecx, edx
push dword [ecx]
mov ecx, ebx
push esi
call fcn.00404210
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
cmp eax, edi
jb 0x4409a5
push dword [ebp - 4]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp + 0xc], ecx
call fcn.0048b859
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], edi
test edi, edi
jne 0x440940
mov ebx, dword [ebp - 4]
push ebx
call fcn.0048b3fb
add esp, 4
test eax, eax
jne 0x4409a8
mov byte [ebp + 0xf], 1
jmp 0x4409ac
mov ebx, dword [ebp - 4]
mov byte [ebp + 0xf], 0
push ebx
call fcn.0048b384
add esp, 4
test esi, esi
je 0x4409c2
push esi
call fcn.004835e0
add esp, 4
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4409d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x440af0
cmp byte [ebx + 0x45], 0
je 0x440af0
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x440a14
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 8], ecx
cmp ecx, 0x10
movq qword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x1c]
push esi
push edi
mov byte [eax + 8], 0
nop
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x1c]
cmovae edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x440a7a
dec eax
je 0x440a7e
sub eax, 2
je 0x440aca
xor bl, bl
jmp 0x440acc
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x20]
cmovae eax, edx
sub esi, eax
je 0x440ab0
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00489280
add esp, 0x10
cmp esi, eax
jne 0x440a76
cmp byte [ebx + 0x45], 0
je 0x440aca
test esi, esi
jne 0x440a40
push esi
push 8
lea ecx, [ebp - 0x1c]
call fcn.00439700
jmp 0x440a40
mov bl, 1
cmp dword [ebp - 8], 0x10
pop edi
pop esi
jb 0x440adf
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret
Function at 0x4479c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d6fa4], 0
je 0x4479e9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push 0x18
call fcn.00483600
add esp, 4
test eax, eax
je 0x447a07
push 0
mov ecx, eax
call fcn.00446910
mov dword [0x4d6fa4], eax
jmp 0x447a11
mov dword [0x4d6fa4], 0
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040409d
mov ecx, dword [0x4d6fa4]
lea eax, [ebp - 0x1c]
push eax
call fcn.00447f20
cmp dword [ebp - 8], 8
jb 0x447a40
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret

Function at 0x447f20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push 3
push eax
mov dword [ebp - 0xc], 0
call fcn.0043b5b0
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x447f99
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
call fcn.00447b90
push esi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
pop esi
cmp dword [ebp - 8], 8
pop edi
jb 0x447fab
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4

Function at 0x44c090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.0044d690
cmp eax, 4
jge 0x44c0a1
xor al, al
pop ebp
ret
push 0
push 0
push 0
push dword [ebp + 8]
push 0x4b7b58
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg al
pop ebp
ret

Function at 0x44c0d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.0044d690
cmp eax, 4
jge 0x44c0e1
xor al, al
pop ebp
ret
push 0
push 0
push 0
push dword [ebp + 8]
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg al
pop ebp
ret
Function at 0x44c370
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0048c180
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1008]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x1008], 0
push edx
lea edx, [ebp - 0x100c]
mov dword [ebp - 0x100c], 1
push edx
push 0
push eax
push dword [ecx]
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x44c4bf
mov ecx, dword [ebp - 0x100c]
cmp ecx, 1
jne 0x44c452
cmp word [ebp - 0x804], ax
jne 0x44c410
xor ecx, ecx
lea eax, [ebp - 0x804]
push ecx
push eax
mov ecx, edi
call fcn.004046e6
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c420
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004046e6
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x44c4ba
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x44c4a3
cmp eax, 0x400
ja 0x44c4a3
lea eax, [ebp - 0x1004]
mov ecx, edi
push eax
call fcn.004040fd
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00486d53
mov esp, ebp
pop ebp
ret 8

Function at 0x44c570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c587
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44d6a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x44d6f2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x44d720
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x44d720
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x44d763
cmp esi, eax
jne 0x44d714
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x44d74d
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x44d799
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x44d7bb
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.0043c140
push edi
call fcn.004835e0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x44d7a1
mov dword [ecx], edi
jmp 0x44d7bb
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x44d7bb
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0044dc30
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc