joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ca50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov edi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], edx
movzx ecx, byte [0x8fd524]
xor ecx, 3
xor eax, eax
mov dword [esp + 0x10], ecx
mov ebx, dword [eax*8 + 0x6518ac]
mov dword [esp + 0x14], eax
mov eax, dword [eax*8 + 0x6518a8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x2b], bl
lea ecx, [ebx + ebx]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.006025b0
add esp, 0xc
mov word [esp + ebx*2 + 0x20], 0
movzx eax, byte [esp + 0x2b]
test al, al
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0xc], ecx
cmovs edx, ecx
cmp edx, dword [esp + 8]
jbe 0x46caf0
test al, al
js 0x46cb30
mov ecx, dword [esp + 0x10]
jmp 0x46cb46
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
test edx, edx
je 0x46cb5a
test al, al
lea esi, [esp + 0x20]
cmovs esi, dword [esp + 4]
xor ebx, ebx
nop dword [eax]
movzx ecx, word [edi + ebx*2]
cmp cx, word [esi + ebx*2]
jne 0x46cae6
add ebx, 1
cmp edx, ebx
jne 0x46cb10
jmp 0x46cb5a
push dword [esp + 0x20]
call fcn.00517bd6
add esp, 4
movzx ecx, byte [0x8fd524]
xor ecx, 3
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, ecx
jb 0x46ca81
jmp 0x46cbe6
test al, al
js 0x46cb68
mov ecx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jmp 0x46cb7e
push dword [esp + 4]
call fcn.00517bd6
add esp, 4
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
xor ebx, ebx
test ecx, ecx
je 0x46cbec
cmp ecx, dword [esp + 8]
je 0x46cbec
lea eax, [esp + 0x18]
push 0
push 0x651960
push eax
mov ebx, ecx
call fcn.00478740
mov edx, ebx
add esp, 0xc
sub eax, ebx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
cmovb edx, ecx
sub ecx, edx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, esi
jne 0x46cbe6
test esi, esi
je 0x46cbea
add edx, edx
add edx, dword [esp + 0x18]
xor eax, eax
nop word cs:[eax + eax]
nop
movzx ecx, word [edx + eax*2]
cmp cx, word [edi + eax*2]
sete bl
jne 0x46cbec
add eax, 1
cmp esi, eax
jne 0x46cbd0
jmp 0x46cbec
xor ebx, ebx
jmp 0x46cbec
mov bl, 1
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46ebf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00483a10
mov dword [esi], 0
test eax, eax
je 0x46ec54
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jb 0x46ec3a
mov dword [ebp - 0x10], eax
call fcn.00472f20
push dword [esi]
call fcn.00485d50
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
lea ecx, [ebx + 1]
cmp ecx, 2
jb 0x46ec4d
mov dword [esi], ebx
mov ebx, eax
call fcn.00472f20
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.0046ed40
lea ecx, [esi + 0x10]
call fcn.004ab250
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov al, byte [edi + 0x18]
mov byte [esi + 0x18], al
mov al, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004707c0
test al, al
jne 0x470c7e
mov ecx, esi
call fcn.004707c0
test al, al
je 0x470c83
xor eax, eax
pop esi
pop ebp
ret
pop esi
pop ebp
jmp fcn.00483680
Function at 0x471110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x47114f
cmp byte [ecx + 0xb], 0
js 0x471143
mov byte [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x47114f
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push 0
push 0
mov edi, dword [ebp + 8]
push edi
call fcn.0061375d
add esp, 0xc
lea esi, [esp + 0x20]
push 0xa6
push str..._.._base_files_file_util.cc
push str.ReadStreamToStringWithMaxSize
push esi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x60]
push 0
push esi
call fcn.0047d4a0
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x50], 0
push edi
call fcn.0061361f
add esp, 4
push eax
call fcn.0061411a
add esp, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
xor esi, esi
test eax, eax
je 0x4711ea
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
xor eax, eax
mov edi, edx
neg edi
mov edi, 0
sbb edi, ecx
cmovl eax, ecx
mov ebx, 0xffff
cmovl ebx, edx
jmp 0x4711f1
mov ebx, 0xffff
xor eax, eax
mov edx, dword [ebp + 0xc]
cmp edx, ebx
mov ecx, 0
sbb ecx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
cmovb ebx, edx
add ebx, 1
lea edi, [esp + 0x10]
mov ecx, edi
push 0
push ebx
call fcn.00467f7c
cmp byte [esp + 0x1b], 0
jns 0x471234
mov edi, dword [esp + 0x10]
push dword [ebp + 8]
push ebx
push 1
push edi
call fcn.0061e677
add esp, 0x10
test eax, eax
je 0x4712a5
xor esi, esi
lea edi, [esp + 0x10]
jmp 0x471265
add eax, esi
push dword [ebp + 8]
push ebx
push 1
push eax
call fcn.0061e677
add esp, 0x10
test eax, eax
je 0x4712a5
mov ecx, dword [ebp + 0xc]
sub ecx, esi
cmp ecx, eax
jb 0x4712bb
test esi, esi
mov ecx, 0x10000
cmove ebx, ecx
add esi, eax
push dword [ebp + 8]
call fcn.0061e12b
add esp, 4
test eax, eax
jne 0x4712a5
lea eax, [esi + ebx]
mov ecx, edi
push 0
push eax
call fcn.00467f7c
cmp byte [esp + 0x1b], 0
mov eax, edi
jns 0x471250
mov eax, dword [esp + 0x10]
jmp 0x471250
push dword [ebp + 8]
call fcn.0061e157
add esp, 4
test eax, eax
sete bl
mov dword [esp + 0xc], esi
jmp 0x4712bd
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x471311
mov eax, dword [ecx + 8]
mov dword [esp + 0xa0], eax
movsd xmm0, qword [ecx]
movsd qword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [ecx], xmm0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 0x10], xmm0
push 0
push dword [esp + 0x10]
call fcn.00467f7c
cmp byte [esp + 0x1b], 0
jns 0x471324
push dword [esp + 0x10]
call fcn.00517bd6
add esp, 4
lea ecx, [esp + 0x60]
call fcn.0047d5c0
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4719a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x40], 0
je 0x471ae8
mov esi, ecx
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x471b29
mov eax, dword [esi + 0x5c]
test al, 0x10
jne 0x4719f8
test al, 8
je 0x471ae8
movsd xmm0, qword [esi + 0x50]
movsd qword [ebp - 0x18], xmm0
cmp byte [esi + 0x62], 0
je 0x471a7c
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
jmp 0x471a98
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x14]
je 0x471a12
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0x30]
cmp eax, 0xffffffff
je 0x471aae
lea eax, [esi + 0x48]
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x34]
add edx, eax
mov edi, dword [ecx]
lea ebx, [ebp - 0x18]
push ebx
push edx
push eax
push dword [ebp - 0x1c]
call dword [edi + 0x10]
mov ebx, eax
mov ecx, esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx + 0x20]
sub esi, eax
mov edi, ecx
push dword [ecx + 0x40]
push esi
push 1
push eax
call fcn.0061e87a
add esp, 0x10
cmp eax, esi
jne 0x471aae
cmp ebx, 1
mov esi, edi
je 0x471a20
cmp ebx, 2
je 0x471aae
push dword [esi + 0x40]
call fcn.0061e183
add esp, 4
test eax, eax
mov esi, 0xffffffff
jne 0x471aea
jmp 0x471ae8
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
sub edi, edx
test eax, eax
jle 0x471afe
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx, eax
add edi, ecx
xor ebx, ebx
neg edi
push 1
push edi
push dword [esi + 0x40]
call fcn.0061375d
add esp, 0xc
test eax, eax
je 0x471ab5
mov esi, 0xffffffff
jmp 0x471aea
test bl, bl
je 0x471ac3
movsd xmm0, qword [ebp - 0x18]
movsd qword [esi + 0x48], xmm0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x5c], 0
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x471a98
mov ecx, dword [esi + 0x44]
sub eax, dword [esi + 8]
mov ebx, dword [ecx]
push eax
push edx
push dword [esi + 0x20]
lea eax, [ebp - 0x18]
push eax
call dword [ebx + 0x1c]
add edi, dword [esi + 0x24]
add eax, dword [esi + 0x20]
sub edi, eax
mov bl, 1
jmp 0x471a9a
call fcn.004636c4
int3
Function at 0x472f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0046b890
mov esi, eax
mov ecx, eax
push 0x69c5b4
call fcn.0046bdb0
test al, al
jne 0x472f6e
mov ecx, esi
push str.vmodule
call fcn.0046bdb0
test al, al
je 0x473000
cmp dword [0x8fd528], 0
jne 0x4730cb
mov eax, dword [0x8fd52c]
mov dword [0x8fd528], eax
push 0x10
call fcn.00517b56
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], str.vmodule
push str.vmodule
call fcn.0061fdf0
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.0046be20
mov dword [ebp - 0x38], 0x69c5b4
push 0x69c5b4
call fcn.0061fdf0
add esp, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov ecx, esi
push eax
push ebx
call fcn.0046be20
mov ecx, edi
push 0x8fd530
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004af610
mov dword [0x8fd52c], edi
cmp byte [ebp - 0x25], 0
js 0x473041
cmp byte [ebp - 0x11], 0
js 0x473052
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x6f3520], eax
mov bl, 1
test al, 1
je 0x4730b7
mov eax, dword [0x8fd544]
test eax, eax
je 0x47305f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x8fd544], 0
mov ecx, dword [0x8fd534]
test ecx, ecx
jne 0x47308e
and byte [0x6f3520], 0xfe
jmp 0x473069
push dword [ebp - 0x30]
call fcn.00517bd6
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x473000
push dword [ebp - 0x1c]
call fcn.00517bd6
add esp, 4
jmp 0x473000
mov ecx, dword [0x8fd534]
test ecx, ecx
jne 0x47308e
push 0xc
call fcn.00517b56
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x8fd534], eax
push dword [esi + 4]
call fcn.0046930c
cmp dword [esi + 0xc], 0
jne 0x4730b0
mov eax, dword [0x8fd534]
cmp byte [eax + 0xb], 0
jns 0x4730a9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004730d0
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x4730d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0046b890
mov ecx, eax
push str.enable_logging
call fcn.0046bdb0
test al, al
je 0x473317
mov bl, 1
cmp dword [0x8fd544], 0
jne 0x473319
mov esi, dword [0x8fd534]
test esi, esi
jne 0x47320a
push 0xc
call fcn.00517b56
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.006208d5
add esp, 4
cmp eax, 0x7ffffff0
jae 0x473330
cmp eax, 5
jae 0x473174
mov byte [esi + 0xb], al
mov ecx, esi
test eax, eax
jne 0x4731a8
jmp 0x4731cb
lea edi, [eax + 8]
and edi, 0xfffffff8
mov dword [ebp - 0x21c], eax
js 0x473337
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov ecx, eax
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
mov eax, dword [ebp - 0x21c]
mov dword [esi + 4], eax
mov dword [ebp - 0x21c], ecx
mov edi, eax
add eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
push ecx
call fcn.006025b0
mov ecx, dword [ebp - 0x21c]
mov eax, edi
add esp, 0xc
mov word [ecx + eax*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4731dc
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.004698fa
cmp eax, 0xffffffff
je 0x4731f8
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00469526
mov ecx, esi
push 0x651bec
call fcn.00469188
mov dword [0x8fd534], esi
test byte [0x6f3520], 1
je 0x473319
cmp byte [esi + 0xb], 0
jns 0x47321f
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x651b70]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x8fd544], eax
add eax, 1
cmp eax, 1
ja 0x473319
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x473317
cmp eax, 0x104
ja 0x473317
mov ecx, dword [0x8fd534]
push esi
call fcn.0046930c
mov ecx, dword [0x8fd534]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x4732a4
mov edx, ecx
jmp 0x4732a9
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4732c1
push 0x6391f0
call fcn.00469188
mov ecx, dword [0x8fd534]
push 0x651bec
call fcn.00469188
mov eax, dword [0x8fd534]
cmp byte [eax + 0xb], 0
jns 0x4732d8
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x651b70]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x8fd544], eax
add eax, 1
cmp eax, 1
ja 0x473319
mov dword [0x8fd544], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00467d64
call fcn.0061842c
int3
Function at 0x4815a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x58], eax
lea edi, [esp + 8]
push 0x69
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x18]
push 0
push edi
call fcn.0047d4a0
cmp byte [ebx + 0xb], 0
jns 0x4815e7
mov ebx, dword [ebx]
mov edi, dword [ebp + 8]
lea eax, [esp + 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x481718
mov esi, eax
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
test eax, eax
js 0x48173c
push esi
call fcn.00517b56
add esp, 4
mov ebx, eax
mov dword [esp + 8], eax
mov edi, esi
add edi, eax
mov dword [esp + 0x10], edi
push esi
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov dword [esp + 0xc], edi
push ebx
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
xor edi, edi
test eax, eax
je 0x4816fa
mov eax, dword [esp + 8]
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x50]
lea ebx, [esp + 0x54]
push ecx
push ebx
push str.VarFileInfoTranslation
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4816fa
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4816fa
push 0x1c
call fcn.00517b56
add esp, 4
mov edi, eax
mov eax, dword [esi]
mov dword [edi], 0x6520b0
mov ecx, dword [esp + 8]
mov dword [edi + 4], ecx
mov edx, dword [esp + 0xc]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov dword [esp + 0x54], 0
lea eax, [esp + 0x50]
push eax
push ebx
push 0x6522a6
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x481745
mov eax, dword [esp + 0x54]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov edi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x48171e
mov dword [esp + 0xc], eax
push eax
call fcn.00517bd6
add esp, 4
jmp 0x48171e
mov dword [edi], 0
lea ecx, [esp + 0x18]
call fcn.0047d5c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 8]
call fcn.00469ffc
int3
Function at 0x481930
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x230], eax
movzx ebx, word [ecx + 0x16]
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call edi
mov word [ebp - 0x224], ax
movzx eax, word [esi + 0x16]
mov dword [ebp - 0x22c], eax
movzx eax, word [esi + 0x14]
mov dword [ebp - 0x228], eax
call edi
mov word [ebp - 0x222], ax
lea edi, [ebp - 0x218]
push dword [ebp + 8]
push ebx
push dword [ebp - 0x230]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00401af6
add esp, 0x1c
mov dword [ebp - 0x21c], 0
lea ebx, [ebp - 0x220]
lea eax, [ebp - 0x21c]
push ebx
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4819e7
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x4819e7
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x481afb
movzx eax, word [ebp - 0x224]
push dword [ebp + 8]
push dword [ebp - 0x22c]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00401af6
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x481a47
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x481a47
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x481afb
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x228]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00401af6
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x481aa0
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x481aa0
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x481afb
movzx eax, word [ebp - 0x222]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00401af6
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x481b23
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x481b23
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x481b23
mov ecx, dword [ebp + 0xc]
add edx, 0xffffffff
push edx
push eax
call fcn.00468c54
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x481b0a

Function at 0x481cb0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
pop ebp
jmp fcn.00481cc0
Function at 0x482020
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 1
pop ebp
jmp fcn.00481cc0

Function at 0x482040
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x48], eax
mov edi, esp
push 0x18a
push str..._.._base_files_file_util_win.cc
push str.DeleteFileAfterReboot
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.0047d4a0
cmp byte [esi + 0xb], 0
jns 0x482095
cmp dword [esi + 4], 0x103
jbe 0x482093
xor ebx, ebx
jmp 0x4820a5
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
lea ecx, [esp + 0x10]
call fcn.0047d5c0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4820d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x458
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x450], eax
lea ebx, [esp + 0x248]
push 0x196
push str..._.._base_files_file_util_win.cc
push 0x65231d
push ebx
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 8]
push 0
push ebx
call fcn.0047d4a0
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x482128
mov eax, dword [esi]
push 0x104
push eax
push ebx
call fcn.0047bc80
add esp, 0xc
push ebx
call fcn.00401e20
add esp, 4
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x48214a
mov eax, dword [edi]
lea ebx, [esp + 0x40]
push 0x104
push eax
push ebx
call fcn.0047bc80
add esp, 0xc
push ebx
call fcn.00401e20
add esp, 4
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x482170
mov eax, dword [esi]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x48217a
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x64e320]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov bl, 1
test eax, eax
jne 0x4821e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00483f80
add esp, 4
cmp byte [edi + 0xb], 0
jns 0x4821b3
mov edi, dword [edi]
cmp byte [esi + 0xb], 0
mov dword [esp + 4], eax
jns 0x4821bf
mov esi, dword [esi]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4821e9
test eax, eax
jne 0x4821e9
mov eax, dword [esp + 4]
cmp eax, 0xfffffffc
jne 0x4821e5
call fcn.00483f60
mov dword [esi], eax
xor ebx, ebx
lea ecx, [esp + 8]
call fcn.0047d5c0
mov ecx, dword [esp + 0x450]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret