joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4478a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x1f1
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.004418f0
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.00455f50
cmp byte [edi + 0xb], 0
jns 0x447906
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
mov ecx, esi
call fcn.00455fd0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x447940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.004e5eb0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x4479c8
push ebx
call fcn.004fb029
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.004400a0
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.00440fc0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00440190
mov ecx, ebx
call fcn.00440150
mov ecx, edi
call fcn.00440150
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4479f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.004e5eb0
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x51e930]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x447a58
cmp word [ebp - 0x214], 0
je 0x447a58
push edi
call fcn.004fb029
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004400a0
jmp 0x447ab1
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.00440040
push edi
call fcn.00447940
add esp, 4
mov ecx, esi
test al, al
je 0x447a9a
push edi
call fcn.00440070
jmp 0x447aa6
push 3
push 0x51e9a8
call fcn.004400a0
lea ecx, [ebp - 0x220]
call fcn.00440150
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e3343
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x447e00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ebx, dword [ebp + 8]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov esi, esp
push 0x290
push str....._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push esi
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push esi
call fcn.00455f50
cmp byte [ebx + 0xb], 0
mov esi, ebx
jns 0x447e66
mov esi, dword [ebx]
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x447e98
mov bl, 1
test al, 0x10
jne 0x447f89
test edi, edi
je 0x447e89
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x447f89
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0xffffffff
mov ecx, ebx
mov edi, esp
push edi
call fcn.00440770
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x447ec8
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
test eax, eax
je 0x447ed4
test ecx, ecx
je 0x447fa7
movzx ebx, byte [esp + 0xb]
test bl, bl
cmovs ebx, dword [esp + 4]
mov edx, dword [esp]
cmovns edx, edi
test ebx, ebx
je 0x447ef2
test edx, edx
je 0x447fa7
cmp ebx, eax
jne 0x447f11
test ebx, ebx
je 0x447f11
xor ebx, ebx
nop dword [eax]
movzx edi, word [edx + ebx*2]
cmp di, word [ecx + ebx*2]
jne 0x447f15
inc ebx
cmp eax, ebx
jne 0x447f00
jmp 0x447f66
cmp ebx, eax
je 0x447f66
mov edi, dword [ebp + 0xc]
push edi
lea eax, [esp + 4]
push eax
call fcn.00447e00
add esp, 8
test al, al
je 0x447f80
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x447f82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x447f57
push dword [ebp + 8]
call fcn.004478a0
add esp, 4
test al, al
jne 0x447f82
test edi, edi
je 0x447f79
push esi
call fcn.004489b0
add esp, 4
jmp 0x447f77
mov eax, 0xfffffffc
mov esi, 2
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x447f79
mov dword [edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov ecx, esp
call fcn.00440150
lea ecx, [esp + 0x10]
call fcn.00455fd0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x129
push 0x51ae52
push str._s:_d:_assertion__s_failed:__s
call fcn.00418f58
int3
Function at 0x447fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x268], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
movdqa xmmword [esp + 0x220], xmm0
lea ebx, [esp + 0x18]
push 0x3c3
push str....._base_files_file_util_win.cc
push 0x51e9e3
push ebx
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x220]
push 0
push ebx
call fcn.00455f50
lea eax, [esp + 0x1a]
push 0x206
push 0xff
push eax
call fcn.004e5eb0
add esp, 0xc
mov word [esp + 0x18], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x4480b1
push ebx
call fcn.004fb029
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.004400a0
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00440fc0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00440190
mov ecx, ebx
call fcn.00440150
mov ecx, edi
call fcn.00440150
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x220]
call fcn.00455fd0
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4480e0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4f8
mov ebx, edx
mov edi, ecx
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.004e5eb0
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x504], ebx
push ebx
push 3
push 0
push edi
call fcn.0044a390
mov dword [ebp - 0x500], 0xffffffff
mov dword [ebp - 0x4fc], 0xffffffff
mov dword [ebp - 0x4f8], 0xffffffff
lea eax, [ebp - 0x500]
mov ecx, esi
push eax
call fcn.0044a590
movzx eax, byte [ebp - 0x4f5]
test al, al
jns 0x448163
mov eax, dword [ebp - 0x4fc]
test eax, eax
je 0x4482e5
xor edi, edi
lea ebx, [ebp - 0x4f4]
jmp 0x44818a
mov edi, esi
test eax, eax
je 0x4482e7
push 0x250
push 0xff
push ebx
call fcn.004e5eb0
add esp, 0xc
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.0044a550
mov eax, dword [ebp - 0x4f4]
test al, 1
je 0x448200
cmp byte [ebp + 8], 0
jne 0x4481e0
mov ecx, ebx
call fcn.0044a300
test al, al
je 0x4481da
mov ecx, ebx
call fcn.0044a300
xor esi, esi
test al, al
je 0x448260
jmp 0x4482a0
mov eax, dword [ebp - 0x4f4]
and eax, 0xfffffffe
cmp byte [ebp - 0x4f5], 0
lea ecx, [ebp - 0x500]
jns 0x4481f8
mov ecx, dword [ebp - 0x500]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, ebx
call fcn.0044a300
test al, al
je 0x448260
xor esi, esi
cmp byte [ebp + 8], 0
je 0x4482a0
lea ecx, [ebp - 0x500]
mov edx, dword [ebp - 0x504]
push 1
call fcn.004480e0
add esp, 4
mov esi, eax
test eax, eax
jne 0x4482a0
cmp byte [ebp - 0x4f5], 0
lea eax, [ebp - 0x500]
jns 0x448248
mov eax, dword [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 0
test eax, eax
jne 0x4482a0
jmp 0x448282
cmp byte [ebp - 0x4f5], 0
lea eax, [ebp - 0x500]
jns 0x448275
mov eax, dword [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x4482a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor esi, esi
cmp ecx, 2
je 0x4482a0
mov esi, eax
nop word cs:[eax + eax]
test edi, edi
cmovne esi, edi
mov ecx, ebx
call fcn.00410790
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.0044a590
lea ecx, [ebp - 0x500]
push ebx
call fcn.00440190
mov ecx, ebx
call fcn.00440150
movzx eax, byte [ebp - 0x4f5]
test al, al
jns 0x448180
mov eax, dword [ebp - 0x4fc]
jmp 0x448180
xor esi, esi
lea ecx, [ebp - 0x500]
call fcn.00440150
lea ecx, [ebp - 0x2a4]
call fcn.0044a4e0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
mov eax, esi
add esp, 0x4f8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x448430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea ebx, [esp + 0x10]
push 0x5b
push str....._base_files_file_win.cc
push str.ReadAtCurrentPos
push ebx
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push ebx
call fcn.00455f50
test edi, edi
js 0x4484e9
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.0044fcd0
test al, al
je 0x4484bf
lea ecx, [esp + 0x10]
push 0
push edi
push esi
push str.File::ReadAtCurrentPos
call fcn.0044fde0
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4484f0
mov ebx, dword [esp + 0xc]
test ebx, ebx
jns 0x448500
int3
mov ebx, 0xffffffff
jmp 0x448509
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [esp + 0x10]
call fcn.0044fd70
lea ecx, [esp + 0x20]
call fcn.00455fd0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x448530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea ebx, [esp + 0x10]
push 0x93
push str....._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push ebx
call fcn.00455f50
test edi, edi
js 0x4485f1
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.0044fcd0
test al, al
je 0x4485c2
lea ecx, [esp + 0x10]
push 0
push edi
push esi
push str.File::WriteAtCurrentPos
call fcn.0044fde0
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.0044fd70
jmp 0x4485f6
mov esi, 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00455fd0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e3343
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x448620
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x6c], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea edi, [esp + 0x10]
push 0xa8
push str....._base_files_file_win.cc
push str.GetLength
push edi
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.00455f50
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.0044fcd0
test al, al
je 0x4486a8
lea ecx, [esp + 0x10]
push 0
push 0
push esi
push str.File::GetLength
call fcn.0044fde0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0xffffffff
lea eax, [esp + 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb esi, esi
mov edi, dword [esp + 0xc]
or edi, esi
or esi, dword [esp + 8]
lea ecx, [esp + 0x10]
call fcn.0044fd70
lea ecx, [esp + 0x20]
call fcn.00455fd0
mov ecx, dword [esp + 0x6c]
xor ecx, ebp
call fcn.004e3343
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x448700
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
lea edi, [esp + 0x20]
push 0xb5
push str....._base_files_file_win.cc
push str.SetLength
push edi
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push edi
mov edi, dword [ebp + 0xc]
call fcn.00455f50
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0
call fcn.0044fcd0
test al, al
je 0x448790
lea ecx, [esp + 0x20]
push edi
push ebx
push esi
push str.File::SetLength
call fcn.0044fde0
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [esi]
sub esp, 0x14
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x448864
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov eax, dword [esi]
sub esp, 0x14
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x448864
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x448864
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esi]
sub esp, 0x14
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
jmp 0x448866
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.0044fd70
lea ecx, [esp + 0x30]
call fcn.00455fd0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x448a70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea esi, [esp + 0x10]
push 0x16f
push str....._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push esi
call fcn.00455f50
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov ecx, 1
cmove ecx, eax
test bl, 4
mov edx, 4
cmovne ecx, edx
test bl, 8
mov esi, 2
cmove esi, ecx
test bl, 0x10
mov eax, 5
cmove eax, esi
test eax, eax
je 0x448c23
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, 0x80
cmove edx, ecx
mov ecx, ebx
rol ecx, 0x1a
mov esi, ebx
shl esi, 0xb
and esi, 0x20000000
mov edi, ebx
shr edi, 4
and edi, 0x10000
and ecx, 0x80000100
or ecx, esi
or ecx, edi
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
mov esi, ebx
and esi, 0x400
mov eax, ebx
mov dword [esp + 0xc], esi
mov ebx, esi
shl ebx, 0x14
mov esi, eax
shr esi, 3
and esi, 0x100
or esi, ebx
mov edi, eax
shr edi, 0xb
and edi, 2
or edi, esi
mov esi, eax
shl esi, 0xd
and esi, 0x4000000
or esi, edi
mov edi, eax
shl edi, 8
and edi, 0xa000000
or edi, esi
mov esi, dword [ebp + 8]
xor edx, 3
cmp byte [esi + 0xb], 0
jns 0x448baf
mov esi, dword [esi]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 4]
push 0
push edi
push eax
push 0
push edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp dword [ebx], eax
je 0x448c09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jb 0x448bf1
call fcn.00441920
push dword [ebx]
call fcn.0044a090
add esp, 4
mov dword [ebx], 0
mov eax, edi
inc eax
cmp eax, 2
jb 0x448c00
mov dword [ebx], edi
call fcn.00441920
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebx]
inc edi
cmp edi, 2
jae 0x448c34
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004489b0
add esp, 4
mov dword [ebx + 0x14], eax
jmp 0x448c65
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [edi + 0x14], 0xffffffff
jmp 0x448c65
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x19], al
mov eax, dword [ebp + 0xc]
test al, 4
jne 0x448c56
test al, 0xa
je 0x448c65
mov byte [ebx + 0x18], 1
jmp 0x448c65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [ebx + 0x18]
lea ecx, [esp + 0x20]
call fcn.00455fd0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e3343
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x449970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x4499c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x4499aa
call fcn.00441920
push dword [esi]
call fcn.0044a090
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4499b9
mov dword [esi], ebx
call fcn.00441920
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x4499d7
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x4499e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x449a02
cmp dword [esi], edi
jne 0x449a0b
jmp 0x449a25
call fcn.00441920
cmp dword [esi], edi
je 0x449a25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x449a5c
cmp ebx, 2
jae 0x449a7c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x449a50
call fcn.00441920
push dword [edi]
call fcn.0044a090
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.00441920
push dword [esi]
call fcn.0044a090
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x449a1e
mov dword [esi], edi
mov edi, eax
call fcn.00441920
mov eax, edi
jmp 0x449a1e
Function at 0x449b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x449b56
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x449b58
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x449b78
cmp byte [ebp + 0xc], 0
je 0x449bc8
cmp byte [esi + 4], 0
je 0x449bba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x449bbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x449b8c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x449b8e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x449ba5
xor ebx, ebx
jmp 0x449c36
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x449bf6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x449bf8
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x449bd6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x449bd8
mov eax, dword [esi]
push eax
call fcn.00457200
add esp, 4
mov ecx, dword [0x54313c]
mov bl, 1
test ecx, ecx
je 0x449c36
push edi
push eax
call fcn.00453740
jmp 0x449c36
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x449c0a
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x449c18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x449c1a
mov eax, dword [esi]
push eax
call fcn.00457200
add esp, 4
mov ecx, dword [0x54313c]
test ecx, ecx
je 0x449c34
push edi
push eax
call fcn.00453740
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x449c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
sete al
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
push 0
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], 0
test eax, eax
je 0x449cd2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x449ca7
call fcn.00441920
push dword [esi]
call fcn.0044a090
add esp, 4
mov dword [esi], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x449cb6
mov dword [esi], edi
call fcn.00441920
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x449cd9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov byte [esi + 4], 1
int3
int3
Function at 0x44b303
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.004e5eb0
add esp, 0xc
mov edi, 0xfffffff4
lea ebx, [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [edi + 0x51ed8c]
mov word [ebp - 0x218], 0
push 0x104
push ebx
push eax
call esi
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x44b377
push dword [ebp + 8]
push eax
push ebx
call fcn.0044b2a1
add esp, 0xc
test al, al
jne 0x44b380
add edi, 4
jne 0x44b343
xor ebx, ebx
jmp 0x44b382
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44de90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044dba0

Function at 0x44e320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x44e32f
pop ebp
jmp fcn.0044deb0
cmp dword [ebp + 0x10], 0
jne 0x44e33a
call fcn.00468e60
xor eax, eax
pop ebp
ret