joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434e70
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b3330]
sub esp, 0x28
push edi
mov edi, ecx
test eax, eax
jne 0x434e8b
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
push str.ShowHTMLDialog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x434ec4
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 4], 0
jb 0x434eb0
mov eax, dword [eax]
push 1
lea ecx, [ebp - 4]
push ecx
push eax
push 0
call sub.urlmon.dll_CreateURLMonikerEx
cmp dword [ebp - 4], 0
jne 0x434ece
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
test esi, esi
je 0x434f13
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
mov ecx, esi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x434fe0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [0x4b3334]
test eax, eax
mov dword [0x4b332c], eax
cmovne ecx, esi
mov dword [0x4b3334], ecx
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x434f1e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.0045d3e0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push 0
call ebx
mov ecx, dword [ebp - 4]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cx, word [ebp - 0x18]
cmp cx, 3
jne 0x434f62
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x434f86
cmp cx, 8
jne 0x434f86
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [eax], 6
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x10]
lea ecx, [edi + 0x34]
call fcn.0040aec0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x4b332c]
test eax, eax
je 0x434fb4
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4b3334], 0
mov dword [0x4b332c], 0
lea ecx, [ebp - 0x28]
call fcn.0045d410
test esi, esi
pop esi
pop ebx
setns al
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x441e10
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x24], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, ax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push 0x4a2d20
push 0x17
push 0
mov dword [ebp - 0x2c], 0
push 0x4a56bc
mov dword [ebp - 0x20], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x441e80
mov ecx, dword [ebp - 0x20]
mov dword [ebx], 0
test ecx, ecx
je 0x441fcb
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x441fcb
cmp dword [edi + 0x14], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
jb 0x441e8e
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x2c]
call fcn.0045d9a0
mov edx, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0045d9c0
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x441eb8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.0045d9a0
mov ecx, dword [edi]
push dword [eax]
push edi
call dword [ecx + 0x28]
lea ecx, [ebp - 0x24]
call fcn.0045d9c0
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
mov edi, dword [ebp - 0x20]
jb 0x441edf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.0045d9a0
mov ecx, dword [edi]
push dword [eax]
push edi
call dword [ecx + 0x30]
lea ecx, [ebp - 0x24]
call fcn.0045d9c0
mov eax, dword [ebp - 0x20]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x20]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
movzx eax, ax
push eax
lea eax, [ebp - 0x1c]
push 0x4a2d18
push eax
call fcn.0044bad0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x441f3f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.0045d9a0
mov ecx, dword [edi]
push dword [eax]
push edi
call dword [ecx + 0x48]
lea ecx, [ebp - 0x28]
call fcn.0045d9c0
cmp dword [ebp - 8], 8
jb 0x441f69
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
cmp dword [esi + 0x14], 8
mov edi, dword [ebp - 0x20]
jb 0x441f74
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x28]
call fcn.0045d9a0
mov ecx, dword [edi]
push dword [eax]
push edi
call dword [ecx + 0x90]
lea ecx, [ebp - 0x28]
call fcn.0045d9c0
mov eax, dword [ebp - 0x20]
push SysReAllocString
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x20]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
test eax, eax
je 0x441fcb
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x441fcb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 0x10
Function at 0x447510
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.00447140
add esp, 4
lea eax, [ebp - 0x41c]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.0040bad0
mov eax, dword [0x4b3364]
test eax, eax
je 0x447576
lea ecx, [ebp - 0x41c]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x447726
test byte [0x4b10f0], 2
je 0x44759c
cmp dword [ebp - 0x408], 0x10
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4475a1
cmp dword [ebx], 2
jl 0x4475e4
cmp dword [ebp - 0x408], 0x10
lea edi, [ebp - 0x41c]
mov esi, dword [ebp - 0x40c]
cmovae edi, dword [ebp - 0x41c]
call fcn.0047d202
add eax, 0x40
push eax
push 1
push esi
push edi
call fcn.0047d627
call fcn.0047d202
add eax, 0x40
push eax
call fcn.0047d391
lea edi, [ebx + 8]
add esp, 0x14
lea esi, [ebx + 0xc]
test byte [0x4b10f0], 1
je 0x44768e
push 0
push 0
call fcn.00448140
add esp, 8
cmp dword [0x4b3374], 0
jne 0x447616
push 0xffffffffffffffff
push dword [0x4b336c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x447621
mov ecx, dword [0x4b3368]
call fcn.0045ea60
call fcn.00448290
test al, al
je 0x44766c
push 2
push 0
push 0
push dword [0x4b3358]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x408], 0x10
lea ecx, [ebp - 0x438]
push 0
push ecx
push dword [ebp - 0x40c]
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
push dword [0x4b3358]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x4b3374], 0
jne 0x447683
push dword [0x4b336c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44768e
mov ecx, dword [0x4b3368]
call fcn.0045ea70
cmp dword [ebx], 3
jne 0x447726
mov ecx, 0x400
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x40c], ecx
cmovb ecx, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], 0x10
cmovae eax, dword [ebp - 0x41c]
test ecx, ecx
je 0x4476d2
push ecx
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0047c3a0
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call fcn.0045ea20
add esp, 4
cmp dword [0x4b3360], 0
je 0x447721
lea eax, [ebp - 0x434]
mov ecx, esi
push eax
call fcn.0040bad0
lea eax, [ebp - 0x434]
push eax
call dword [0x4b3360]
add esp, 4
cmp dword [ebp - 0x420], 0x10
jb 0x447726
push dword [ebp - 0x434]
call fcn.0047bc0a
add esp, 4
jmp 0x447726
call fcn.0045ea00
cmp dword [ebp - 0x408], 0x10
jb 0x44773d
push dword [ebp - 0x41c]
call fcn.0047bc0a
add esp, 4
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.00407f40
push esi
mov dword [esi], 0x49b6dc
call fcn.0047b965
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
Function at 0x4489e0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00446a80
test al, al
jne 0x448a52
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00446a80
test al, al
jne 0x448a52
cmp dword [edi + 0x10], 0x104
jae 0x448a52
cmp dword [esi + 0x10], 0x104
jae 0x448a52
cmp dword [esi + 0x14], 8
jb 0x448a1b
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x448a23
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x448a52
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x448a52
test al, 1
je 0x448a4c
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
mov al, 1
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
cmp dword [edi + 0x14], 8
jb 0x448a8a
mov ebx, dword [edi]
jmp 0x448a8c
mov ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x448acc
test al, 0x10
je 0x448aaf
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x448ab9
mov dword [esi], 0xfffffff7
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004462c0
cmp dword [edi + 0x14], 8
jb 0x448ae1
mov eax, dword [edi]
jmp 0x448ae3
mov eax, edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
push 0
call fcn.00415fb0
test eax, eax
jne 0x448b06
test esi, esi
je 0x448b50
mov dword [esi], 0xfffffffc
xor bl, bl
jmp 0x448b56
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00448a60
add esp, 8
test al, al
je 0x448b50
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x448b54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x448b41
push edi
call fcn.00449190
add esp, 4
test al, al
jne 0x448b54
test esi, esi
je 0x448b50
push ebx
call fcn.0045ca70
add esp, 4
mov dword [esi], eax
xor bl, bl
jmp 0x448b56
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
Function at 0x448be0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x54], eax
call fcn.004459c0
xor edi, edi
lea esp, [esp]
xor eax, eax
mov dword [ebp - 8], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.0040ada0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00454710
add esp, 8
lea ecx, [ebp - 0x1c]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040abf0
cmp dword [ebp - 0x20], 8
jb 0x448c60
push dword [ebp - 0x34]
call fcn.0047bc0a
add esp, 4
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmovae ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
test eax, eax
je 0x448c80
sub eax, ecx
sar eax, 1
push 0x5f
push 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b430
push 0x7fff
push 0
call fcn.0045d860
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00454710
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040abf0
cmp dword [ebp - 0x20], 8
jb 0x448cc4
push dword [ebp - 0x34]
call fcn.0047bc0a
add esp, 4
sub esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.00445b90
push eax
lea ecx, [ebp - 0x4c]
call fcn.00445a50
lea ecx, [ebp - 0x34]
call fcn.00407ff0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x448d30
cmp dword [ebp - 8], 8
jb 0x448d22
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
inc edi
cmp edi, 0x32
jl 0x448c10
xor bl, bl
jmp 0x448d4f
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
call fcn.00445a50
cmp dword [ebp - 8], 8
jb 0x448d4d
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
mov bl, 1
lea ecx, [ebp - 0x4c]
call fcn.00407ff0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
Function at 0x448de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x450], 0
jb 0x448e0d
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x49be20
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x448e38
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x104
ja 0x448eff
test eax, eax
je 0x448eff
xor ecx, ecx
mov dword [ebp - 0x420], 7
push eax
lea eax, [ebp - 0x41c]
mov word [ebp - 0x434], cx
push eax
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x424], 0
call fcn.0040aec0
sub esp, 8
lea eax, [ebp - 0x434]
cmp dword [ebp - 0x420], 8
lea ecx, [ebp - 0x44c]
mov edx, esp
cmovae eax, dword [ebp - 0x434]
mov dword [edx], eax
mov eax, dword [ebp - 0x424]
mov dword [edx + 4], eax
call fcn.00445960
push eax
mov ecx, esi
call fcn.00445a50
lea ecx, [ebp - 0x44c]
call fcn.00407ff0
cmp dword [ebp - 0x420], 8
jb 0x448f53
push dword [ebp - 0x434]
call fcn.0047bc0a
add esp, 4
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
sub esp, 8
lea eax, [ebp - 0x210]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x210], 0
jne 0x448f1a
xor ecx, ecx
jmp 0x448f32
lea ecx, [ebp - 0x210]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448f23
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x44c]
call fcn.00445960
push eax
mov ecx, esi
call fcn.00445a50
lea ecx, [ebp - 0x44c]
call fcn.00407ff0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
Function at 0x448fa0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
cmp eax, 0x104
jb 0x448fd2
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x448fe7
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
push ebx
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x44908c
lea ecx, [ebp - 0x258]
call fcn.0045c650
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.004492b0
add esp, 8
test al, al
je 0x44904b
cmp byte [ebp - 0x250], bl
je 0x44904b
cmp dword [esi + 0x14], 8
jb 0x449022
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x258]
setne bl
call fcn.00463ee0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x449055
mov eax, dword [esi]
jmp 0x449057
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x449081
lea ecx, [ebp - 0x258]
mov bl, 1
call fcn.00463ee0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x258]
call fcn.00463ee0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0047cd50
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4490b2
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
jmp 0x4490c0
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4490c0
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 0x449127
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 0x44914f
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x449176
cmp eax, 2
je 0x449176
cmp eax, 0x402
je 0x449176
cmp eax, 0x7c
je 0x449176
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret

Function at 0x449190
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 0x44919e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4491b2
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x4491c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4b13a0]
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 0x44929a
cmp eax, 0x104
ja 0x44929a
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040c240
lea eax, [ebp - 0x23c]
push eax
sub esp, 8
lea eax, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x254]
mov edx, esp
cmovae eax, dword [ebp - 0x224]
mov dword [edx], eax
mov eax, dword [ebp - 0x214]
mov dword [edx + 4], eax
call fcn.00445960
mov ecx, eax
call fcn.00446b70
push eax
mov ecx, esi
call fcn.00445a50
lea ecx, [ebp - 0x23c]
call fcn.00407ff0
lea ecx, [ebp - 0x254]
call fcn.00407ff0
cmp dword [ebp - 0x210], 8
jb 0x449289
push dword [ebp - 0x224]
call fcn.0047bc0a
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret

Function at 0x449370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x44941b
cmp word [ebp - 0x20c], 0
je 0x44941b
sub esp, 8
lea eax, [ebp - 0x20c]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x20c], 0
jne 0x4493e0
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.00445960
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4493f0
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.00445960
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x224]
call fcn.004459c0
lea eax, [ebp - 0x224]
push eax
call fcn.00449480
add esp, 4
mov ecx, esi
test al, al
je 0x449449
lea eax, [ebp - 0x224]
push eax
call fcn.00445930
jmp 0x449460
sub esp, 8
mov eax, esp
mov dword [eax], 0x4a3680
mov dword [eax + 4], 3
call fcn.00445960
lea ecx, [ebp - 0x224]
call fcn.00407ff0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
Function at 0x449480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x449535
lea eax, [ebp - 0x240]
push eax
sub esp, 8
lea eax, [ebp - 0x210]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x210], 0
jne 0x4494d8
xor eax, eax
jmp 0x4494f0
lea eax, [ebp - 0x210]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4494e1
sub eax, esi
sar eax, 1
lea ecx, [ebp - 0x228]
mov dword [edx + 4], eax
call fcn.00445960
mov ecx, eax
call fcn.00446b70
push eax
mov ecx, edi
call fcn.00445a50
lea ecx, [ebp - 0x240]
call fcn.00407ff0
lea ecx, [ebp - 0x228]
call fcn.00407ff0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret

Function at 0x449730
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 0x44973e
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 0x449770
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 0x449791
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 0x4497ff
cmp esi, 0xffffffff
je 0x4497ff
mov dword [ebp - 4], esi
call fcn.00455750
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00455db0
mov ecx, dword [ebp - 4]
add esp, 0x10
test ecx, ecx
je 0x4497ff
cmp ecx, 0xffffffff
je 0x4497ff
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 0x4497fc
mov esi, dword [ebp - 8]
cmp esi, edi
jne 0x4497fc
mov ecx, dword [ebp - 4]
jmp 0x449802
mov ecx, dword [ebp - 4]
or esi, 0xffffffff
test ecx, ecx
je 0x44982c
cmp ecx, 0xffffffff
je 0x44982c
call fcn.00455750
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00455f20
push dword [ebp - 4]
call fcn.00455b10
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret