joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f9c0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
test dword [esp], esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609345
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3c
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6af364]
cmp eax, dword [ecx + 4]
jle 0x44fa67
push 0x6af364
call fcn.005df48a
add esp, 4
cmp dword [0x6af364], 0xffffffff
jne 0x44fa67
push 0x60a860
mov dword [0x6af50c], 0
mov dword [0x6af51c], 0
mov dword [0x6af520], 0xf
call fcn.005df311
push 0x6af364
call fcn.005df440
add esp, 8
cmp dword [0x6af51c], 0
jne 0x44fb5a
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.005e4cb3
mov esi, eax
add esp, 8
mov dword [ebp - 0x4c], esi
push 1
push 2
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.0044e3a0
push 0x679530
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00446fe0
mov ecx, 0x6af50c
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.004470a0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x44fb1d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fb7c
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x44fb4d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fb7c
push edx
push ecx
call fcn.005df326
add esp, 8
test esi, esi
je 0x44fb5a
push esi
call fcn.005e4cbe
add esp, 4
mov eax, 0x6af50c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005e4e95
int3
Function at 0x44fb90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
push 0
mov ebx, edx
mov dword [ebp - 0x1000c], 0x104
mov esi, ecx
call fcn.005e4cb3
mov edi, eax
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x10014], edi
jb 0x44fbd9
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 0x104
jbe 0x44fc0e
mov dword [ebp - 0x1000c], eax
add eax, eax
push eax
push edi
call fcn.005e4cb3
add esp, 8
mov dword [ebp - 0x10014], eax
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x44fc16
mov esi, dword [esi]
push dword [ebp - 0x1000c]
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0x80
push 3
push 0
push 1
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44fce1
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x44fc5b
mov eax, dword [ebx]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
mov eax, dword [ebp - 0x1000c]
cmp ecx, eax
jbe 0x44fc9c
lea eax, [ecx + ecx]
mov dword [ebp - 0x1000c], ecx
push eax
push edi
call fcn.005e4cb3
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x1000c]
mov dword [ebp - 0x10014], edi
cmp dword [ebx + 0x14], 0x10
jb 0x44fca4
mov ebx, dword [ebx]
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1000c], eax
cmp eax, 0xffffffff
jne 0x44fd03
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
test edi, edi
je 0x44fcf0
push edi
call fcn.005e4cbe
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005df097
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x1000c]
nop dword [eax]
push 0
lea eax, [ebp - 0x10010]
push eax
push 0xffff
lea eax, [ebp - 0x10008]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test eax, eax
mov eax, dword [ebp - 0x10010]
je 0x44fd70
test eax, eax
je 0x44fd78
push 0
lea ecx, [ebp - 0x10018]
push ecx
push eax
lea eax, [ebp - 0x10008]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
xor ecx, ecx
movzx ebx, al
mov eax, dword [ebp - 0x10010]
cmp dword [ebp - 0x10018], eax
cmovne ebx, ecx
test eax, eax
je 0x44fd78
test bl, bl
jne 0x44fd10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1000c]
call esi
mov edi, dword [ebp - 0x10014]
jmp 0x44fce3
Function at 0x450060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609385
mov eax, dword fs:[0]
push eax
mov eax, 0x1c
call fcn.005dfa60
push ebx
push esi
push edi
mov eax, dword [0x6a704c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x4500ac
mov eax, dword [ebx]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4500d9
mov dword [ebp - 0x1c], eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
mov edi, eax
add esp, 8
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x14], 0x10
jb 0x4500e1
mov ebx, dword [ebx]
push dword [ebp - 0x1c]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45012c
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x45022b
mov ebx, dword [ebp + 0xc]
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x450139
mov eax, dword [ebx]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jbe 0x45016e
lea eax, [ecx + ecx]
mov dword [ebp - 0x1c], ecx
push eax
push edi
call fcn.005e4cb3
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x14], 0x10
jb 0x450176
mov ebx, dword [ebx]
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x800
push 0
mov dword [ebp - 0x24], 0x400
call fcn.005e4cb3
mov ebx, eax
add esp, 8
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x400
push eax
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
test eax, eax
je 0x4501e9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x45021e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x450215
cmp eax, 7
je 0x450215
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x45021e
mov edx, ebx
mov ecx, esi
call fcn.0044e3a0
test ebx, ebx
je 0x45022b
push ebx
call fcn.005e4cbe
add esp, 4
test edi, edi
je 0x450238
push edi
call fcn.005e4cbe
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.005dfa60
push ebx
push esi
mov esi, edx
mov dword [ebp - 8], 0
push edi
xor edi, edi
xor ebx, ebx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x450277
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4502a0
mov ebx, eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
add esp, 8
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x4502a8
mov esi, dword [esi]
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4502e0
xor bl, bl
jmp 0x450351
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4502ed
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jbe 0x450315
mov ebx, eax
add eax, eax
push eax
push edi
call fcn.005e4cb3
add esp, 8
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x45031d
mov esi, dword [esi]
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x45035e
push edi
call fcn.005e4cbe
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450370
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.005dfa60
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
xor edi, edi
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x450390
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4503b9
mov ebx, eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
add esp, 8
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x4503c1
mov esi, dword [esi]
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 2
push 0
push 0
push 0
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4503fc
xor bl, bl
jmp 0x4504d9
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x450409
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jbe 0x450431
mov ebx, eax
add eax, eax
push eax
push edi
call fcn.005e4cb3
add esp, 8
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x450439
mov esi, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x450462
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
test eax, eax
je 0x45048b
mov dword [ebp - 4], eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
add esp, 8
mov dword [ebp - 8], eax
jmp 0x45048d
xor eax, eax
cmp dword [esi + 0x14], 0x10
jb 0x450495
mov esi, dword [esi]
push dword [ebp - 4]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4504d9
push esi
call fcn.005e4cbe
add esp, 4
test edi, edi
je 0x4504e6
push edi
call fcn.005e4cbe
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450800
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60942d
mov eax, dword fs:[0]
push eax
mov eax, 0x14
call fcn.005dfa60
push ebx
push esi
push edi
mov eax, dword [0x6a704c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4508ba
push 0x7d0
push eax
mov dword [ebp - 0x18], 0x3e8
call fcn.005e4cb3
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
push 0x3e8
push esi
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4508a4
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.00450800
test al, al
je 0x4508db
push 0x3e8
push esi
push 0
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x450885
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4508ba
push esi
call fcn.005e4cbe
add esp, 4
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4508e8
push esi
call fcn.005e4cbe
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6092fd
mov eax, dword fs:[0]
push eax
mov eax, 0x24
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6af46c]
cmp eax, dword [ecx + 4]
jle 0x4511a0
push 0x6af46c
call fcn.005df48a
add esp, 4
cmp dword [0x6af46c], 0xffffffff
jne 0x4511a0
push 0x60a920
mov dword [0x6af558], 0
mov dword [0x6af568], 0
mov dword [0x6af56c], 0xf
call fcn.005df311
push 0x6af46c
call fcn.005df440
add esp, 8
cmp dword [0x6af568], 0
jne 0x451232
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.005e4cb3
mov esi, eax
add esp, 8
mov dword [ebp - 0x30], esi
push 0
push 0x1c
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x451225
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0044e3a0
push eax
mov ecx, 0x6af558
call fcn.004470a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x451225
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45121b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451251
push edx
push ecx
call fcn.005df326
add esp, 8
test esi, esi
je 0x451232
push esi
call fcn.005e4cbe
add esp, 4
mov eax, 0x6af558
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
call fcn.005e4e95
int3
Function at 0x451b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
xor edi, edi
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x451b13
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x451b3c
mov ebx, eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
add esp, 8
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x451b44
mov esi, dword [esi]
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test edi, edi
je 0x451b70
push edi
call fcn.005e4cbe
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x451b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x44
call fcn.005dfa60
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x451ba6
mov eax, dword [edi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x451bd0
mov dword [ebp - 4], eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
add esp, 8
mov ebx, eax
cmp dword [edi + 0x14], 0x10
jb 0x451bd8
mov edi, dword [edi]
push dword [ebp - 4]
push ebx
push 0xffffffffffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call edi
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x451bf8
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x451c20
mov dword [ebp - 8], eax
add eax, eax
push eax
push 0
call fcn.005e4cb3
add esp, 8
mov edi, eax
jmp 0x451c22
xor edi, edi
cmp dword [esi + 0x14], 0x10
jb 0x451c2a
mov esi, dword [esi]
push dword [ebp - 8]
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x44]
movlpd qword [ebp - 0x24], xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x40], 0x44c
mov dword [ebp - 0x38], 0x621e84
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb esi, esi
and esi, dword [ebp - 0xc]
test edi, edi
je 0x451ca5
push edi
call fcn.005e4cbe
add esp, 4
test ebx, ebx
je 0x451cb2
push ebx
call fcn.005e4cbe
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609605
mov eax, dword fs:[0]
push eax
mov eax, 0x48
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0044e3a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x18]
cmp edi, 0x10
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae ecx, ebx
push 1
push 0x679530
push ecx
mov edx, esi
call fcn.00453920
mov ecx, eax
add esp, 0x10
cmp ecx, 0xffffffff
jne 0x451d5e
push dword [ebp - 0x48]
cmp edi, 0x10
lea ecx, [ebp - 0x2c]
push 1
cmovae ecx, ebx
mov edx, esi
push 0x6797f8
push ecx
call fcn.00453920
mov ecx, eax
add esp, 0x10
cmp ecx, 0xffffffff
je 0x451dcf
cmp esi, ecx
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
cmovb ecx, esi
mov dword [ebp - 0x30], 0xf
cmp edi, 0x10
mov byte [ebp - 0x44], 0
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x44]
push eax
call fcn.00446eb0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00451a20
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x451dcf
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451dc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451e6d
push edx
push ecx
call fcn.005df326
add esp, 8
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x451df5
xor bl, bl
jmp 0x451e1f
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0
push eax
push edi
push dword [ebp - 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x451e16
cmp dword [ebp - 0x48], edi
jne 0x451e16
mov bl, 1
jmp 0x451e18
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x451e4f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451e45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451e72
push edx
push ecx
call fcn.005df326
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
call fcn.005e4e95
call fcn.005e4e95
int3
Function at 0x451f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609670
mov eax, dword fs:[0]
push eax
mov eax, 0x228
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6af5a4]
cmp eax, dword [ecx + 4]
jle 0x451fdf
push 0x6af5a4
call fcn.005df48a
add esp, 4
cmp dword [0x6af5a4], 0xffffffff
jne 0x451fdf
push 0x60a9e0
mov dword [0x6af5cc], 0
mov dword [0x6af5dc], 0
mov dword [0x6af5e0], 0xf
call fcn.005df311
push 0x6af5a4
call fcn.005df440
add esp, 8
cmp dword [0x6af5dc], 0
jne 0x452128
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x230]
call fcn.0044e3a0
push eax
mov ecx, 0x6af5cc
call fcn.004470a0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x452054
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45204a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452146
push edx
push ecx
call fcn.005df326
add esp, 8
mov ecx, dword [0x6af5dc]
test ecx, ecx
je 0x45209f
mov edx, dword [0x6af5e0]
mov eax, 0x6af5cc
cmp edx, 0x10
cmovae eax, dword [0x6af5cc]
cmp byte [ecx + eax - 1], 0x2f
je 0x45209f
cmp edx, 0x10
mov eax, 0x6af5cc
cmovae eax, dword [0x6af5cc]
cmp byte [ecx + eax - 1], 0x5c
je 0x45209f
push 0x679530
mov ecx, 0x6af5cc
call fcn.00446fe0
call fcn.00452890
mov ecx, bind
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 0xf
jb 0x45214b
cmp dword [eax + 0x14], 0x10
jb 0x4520bf
mov eax, dword [eax]
push 0xf
push str._installer_tmp_
push edx
push eax
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
call fcn.004473d0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x6af5cc
call fcn.0044b930
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x452128
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45211e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452150
push edx
push ecx
call fcn.005df326
add esp, 8
mov eax, 0x6af5cc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
call fcn.005e4e95
call fcn.00446d70
call fcn.005e4e95
int3