joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x5a8564]
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
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea ebx, [esp + 0x10]
push 0x98
push str....._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.00451690
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push ebx
call fcn.00440b40
test edi, edi
js 0x43aa7b
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.00472540
test al, al
je 0x43aa4c
lea ecx, [esp + 0x10]
push 0
push edi
push esi
push str.File::WriteAtCurrentPos
call fcn.00472650
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.004725e0
jmp 0x43aa80
mov esi, 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00440ba0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x43aaa0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x5c], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea edi, [esp + 0x10]
push 0xad
push str....._base_files_file_win.cc
push str.GetLength
push edi
call fcn.00451690
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.00440b40
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.00472540
test al, al
je 0x43ab32
lea ecx, [esp + 0x10]
push 0
push 0
push esi
push str.File::GetLength
call fcn.00472650
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.004725e0
lea ecx, [esp + 0x20]
call fcn.00440ba0
mov ecx, dword [esp + 0x5c]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x43af50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x43af9a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x43af84
call fcn.004516c0
push dword [esi]
call fcn.00433080
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43af93
mov dword [esi], ebx
call fcn.004516c0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x43b0a0
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]
xor edx, edx
pop ebp
jmp fcn.0043b0b0

Function at 0x43b2e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x460
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x458], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x440], xmm0
movdqa xmmword [esp + 0x430], xmm0
movdqa xmmword [esp + 0x420], xmm0
mov dword [esp + 0x454], 0xffffffff
mov dword [esp + 0x450], 0xffffffff
lea ebx, [esp + 0x218]
push 0x1d8
push str....._base_files_file_util_win.cc
push 0x5680b7
push ebx
call fcn.00451690
add esp, 0x10
lea ecx, [esp + 0x420]
push 0
push ebx
call fcn.00440b40
push 0x208
push 0xff
push ebx
call fcn.00536680
add esp, 0xc
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x43b383
mov eax, dword [esi]
push 0x104
push eax
push ebx
call fcn.00444380
add esp, 0xc
push ebx
call fcn.00403610
add esp, 4
lea ebx, [esp + 0x10]
push 0x208
push 0xff
push ebx
call fcn.00536680
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x43b3bc
mov eax, dword [edi]
push 0x104
push eax
push ebx
call fcn.00444380
add esp, 0xc
push ebx
call fcn.00403610
add esp, 4
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x43b3de
mov eax, dword [esi]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x43b3e8
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x562930]
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 0x43b457
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043abb0
add esp, 4
cmp byte [edi + 0xb], 0
jns 0x43b421
mov edi, dword [edi]
cmp byte [esi + 0xb], 0
mov dword [esp + 0xc], eax
jns 0x43b42d
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 0x43b457
test eax, eax
jne 0x43b457
mov eax, dword [esp + 0xc]
cmp eax, 0xfffffffc
jne 0x43b453
call fcn.0043ab90
mov dword [esi], eax
xor ebx, ebx
lea ecx, [esp + 0x420]
call fcn.00440ba0
mov ecx, dword [esp + 0x458]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43b480
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, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov ebx, esp
push 0x20b
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00451690
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.00440b40
cmp byte [edi + 0xb], 0
jns 0x43b4f0
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00440ba0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43b520
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, 0x50
mov esi, edx
mov edi, ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov ebx, esp
push 0x214
push str....._base_files_file_util_win.cc
push str.PathHasAccess
push ebx
call fcn.00451690
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push ebx
call fcn.00440b40
cmp byte [edi + 0xb], 0
jns 0x43b58f
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x43b5dd
test al, 0x10
cmove esi, dword [ebp + 8]
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
push 0
push ecx
push 3
push 0
push 7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x43b5ea
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x43b5e1
call fcn.004516c0
mov ebx, esi
jmp 0x43b5e3
xor ebx, ebx
jmp 0x43b609
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
setne al
mov esi, eax
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43b607
call fcn.004516c0
push ebx
call fcn.00433080
add esp, 4
mov ebx, esi
lea ecx, [esp + 0x10]
call fcn.00440ba0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43b630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00536680
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x43b6b3
push ebx
call fcn.0054c5c4
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.00452ad0
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.004542c0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00452be0
mov ecx, ebx
call fcn.00452ba0
mov ecx, edi
call fcn.00452ba0
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43b6e0
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 [0x5a8564]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00536680
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x568050]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43b748
cmp word [ebp - 0x214], 0
je 0x43b748
push edi
call fcn.0054c5c4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00452ad0
jmp 0x43b7a1
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.00452a70
push edi
call fcn.0043b630
add esp, 4
mov ecx, esi
test al, al
je 0x43b78a
push edi
call fcn.00452aa0
jmp 0x43b796
push 3
push 0x5680d0
call fcn.00452ad0
lea ecx, [ebp - 0x220]
call fcn.00452ba0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x43bf30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x258], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
movdqa xmmword [esp + 0x220], xmm0
mov dword [esp + 0x254], 0xffffffff
mov dword [esp + 0x250], 0xffffffff
lea ebx, [esp + 0x18]
push 0x469
push str....._base_files_file_util_win.cc
push 0x568140
push ebx
call fcn.00451690
add esp, 0x10
lea ecx, [esp + 0x220]
push 0
push ebx
call fcn.00440b40
lea eax, [esp + 0x1a]
push 0x206
push 0xff
push eax
call fcn.00536680
add esp, 0xc
mov word [esp + 0x18], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
dec esi
cmp esi, 0x103
ja 0x43c019
push ebx
call fcn.0054c5c4
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.00452ad0
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004542c0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00452be0
mov ecx, ebx
call fcn.00452ba0
mov ecx, edi
call fcn.00452ba0
cmp esi, 0x104
setb bl
lea ecx, [esp + 0x220]
call fcn.00440ba0
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43c050
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov ebx, esp
push 0x479
push str....._base_files_file_util_win.cc
push 0x568155
push ebx
call fcn.00451690
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.00440b40
cmp byte [edi + 0xb], 0
jns 0x43c0c0
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov ecx, esi
call fcn.00440ba0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c580
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 [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.00536680
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x504], ebx
push ebx
push 3
push 0
push edi
call fcn.004727e0
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.00472910
movzx eax, byte [ebp - 0x4f5]
test al, al
jns 0x43c603
mov eax, dword [ebp - 0x4fc]
test eax, eax
je 0x43c785
xor edi, edi
lea ebx, [ebp - 0x4f4]
jmp 0x43c62a
mov edi, esi
test eax, eax
je 0x43c787
push 0x250
push 0xff
push ebx
call fcn.00536680
add esp, 0xc
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.00472880
mov eax, dword [ebp - 0x4f4]
test al, 1
je 0x43c6a0
cmp byte [ebp + 8], 0
jne 0x43c680
mov ecx, ebx
call fcn.00472700
test al, al
je 0x43c67a
mov ecx, ebx
call fcn.00472700
xor esi, esi
test al, al
je 0x43c700
jmp 0x43c740
mov eax, dword [ebp - 0x4f4]
and eax, 0xfffffffe
cmp byte [ebp - 0x4f5], 0
lea ecx, [ebp - 0x500]
jns 0x43c698
mov ecx, dword [ebp - 0x500]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, ebx
call fcn.00472700
test al, al
je 0x43c700
xor esi, esi
cmp byte [ebp + 8], 0
je 0x43c740
lea ecx, [ebp - 0x500]
mov edx, dword [ebp - 0x504]
push 1
call fcn.0043c580
add esp, 4
mov esi, eax
test eax, eax
jne 0x43c740
cmp byte [ebp - 0x4f5], 0
lea eax, [ebp - 0x500]
jns 0x43c6e8
mov eax, dword [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 0
test eax, eax
jne 0x43c740
jmp 0x43c722
cmp byte [ebp - 0x4f5], 0
lea eax, [ebp - 0x500]
jns 0x43c715
mov eax, dword [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x43c740
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor esi, esi
cmp ecx, 2
je 0x43c740
mov esi, eax
nop word cs:[eax + eax]
test edi, edi
cmovne esi, edi
mov ecx, ebx
call fcn.00403610
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.00472910
lea ecx, [ebp - 0x500]
push ebx
call fcn.00452be0
mov ecx, ebx
call fcn.00452ba0
movzx eax, byte [ebp - 0x4f5]
test al, al
jns 0x43c620
mov eax, dword [ebp - 0x4fc]
jmp 0x43c620
xor esi, esi
lea ecx, [ebp - 0x500]
call fcn.00452ba0
lea ecx, [ebp - 0x2a4]
call fcn.00472810
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x4f8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44eb30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
call fcn.0044ec00
mov eax, dword [esi]
mov dword [0x5a74a8], eax
test al, 1
jne 0x44eb4c
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [0x5aa910]
test eax, eax
je 0x44eb79
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5aa910], 0
mov ecx, dword [0x5aa8fc]
test ecx, ecx
jne 0x44eba8
and byte [0x5a74a8], 0xfe
jmp 0x44eb83
mov ecx, dword [0x5aa8fc]
test ecx, ecx
jne 0x44eba8
push 0xc
call fcn.00532780
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x5aa8fc], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x44ebd6
push eax
call fcn.004296bc
cmp dword [esi + 0xc], 0
jne 0x44ebcf
mov eax, dword [0x5aa8fc]
cmp byte [eax + 0xb], 0
jns 0x44ebc8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
jmp fcn.0044ed10
push str.string::assign_received_nullptr
push str.__s___nullptr
push 0x9dc
push str.P:chromiumM115xpout_release...._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.00404fa4
int3
Function at 0x454990
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.0043a440
mov dword [esi], 0
test eax, eax
je 0x4549f2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jb 0x4549d8
mov dword [ebp - 0x10], eax
call fcn.004516c0
push dword [esi]
call fcn.00433080
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
lea ecx, [ebx + 1]
cmp ecx, 2
jb 0x4549eb
mov dword [esi], ebx
mov ebx, eax
call fcn.004516c0
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.00452a90
lea ecx, [esi + 0x10]
call fcn.00472570
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
movzx eax, 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 0x455ac0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [0x5aa97c]
test ebx, ebx
jne 0x455bad
push 0x28
call fcn.00532780
add esp, 4
mov esi, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 8], 0
push 0xc
call fcn.00532780
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x455bc6
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x5aa97c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
test eax, eax
je 0x455b6a
push edi
call fcn.0054c5c4
add esp, 4
jmp 0x455ba4
lea eax, [ebp - 0x24]
push 0x86
push str....._base_strings_string_piece.h
push str.BasicStringPiece
push eax
call fcn.00451690
add esp, 0x10
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push ecx
push 0x561302
push eax
call fcn.00458b50
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00458cb0
xor eax, eax
mov ecx, esi
push eax
push edi
call fcn.00455bf0
test ebx, ebx
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str.P:chromiumM115xpout_release...._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00404fa4
int3
Function at 0x455bf0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x5a8564]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x20]
push 3
push ecx
push eax
push edx
call fcn.004354c0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x455d43
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [ebp - 0x14], 0
push 0x800
push 0
push 0x5693d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x455c70
push 0x569420
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x455c80
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
jmp 0x455c7b
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x24], eax
jmp 0x455c87
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test esi, esi
je 0x455cf7
mov dword [ebp - 0x2c], edi
shl esi, 2
cmp esi, 0x55555555
jae 0x455d97
lea edi, [esi + esi*2]
push edi
call fcn.00532780
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], eax
add eax, edi
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x455d7c
mov ecx, ebx
mov eax, dword [ebp - 0x24]
push dword [eax + edi]
call fcn.00401ce0
add ebx, 0xc
add edi, 4
cmp esi, edi
jne 0x455cd0
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp - 0x2c]
jmp 0x455d00
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
call fcn.00455770
mov dword [edi], 0
mov dword [edi + 4], 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x455d2f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x455d43
cmp ebx, edi
jne 0x455d66
push edi
call fcn.005327b0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, esi
cmp esi, edi
je 0x455d3a
lea esi, [ebx - 0xc]
cmp byte [ebx - 1], 0
jns 0x455d60
push dword [ebx - 0xc]
call fcn.005327b0
add esp, 4
jmp 0x455d60
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str.P:chromiumM115xpout_release...._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00404fa4
lea ecx, [ebp - 0x20]
call fcn.00403480
int3
Function at 0x456950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
xor ecx, ecx
jmp 0x456990
cmp byte [ebp - 0x19], 0
js 0x456a10
mov ecx, dword [ebp - 0x30]
inc ecx
movzx eax, byte [0x5aa984]
xor eax, 3
cmp ecx, eax
jae 0x456a38
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x30], ecx
lea eax, [ecx*8 + 0x5693b4]
lea ecx, [ebp - 0x24]
push eax
call fcn.00436740
movzx ebx, byte [ebp - 0x19]
mov edi, ebx
test bl, bl
jns 0x4569c5
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
push edi
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004361c0
cmp dword [ebp - 0x28], edi
jne 0x456970
test edi, edi
je 0x456a20
test bl, bl
lea eax, [ebp - 0x24]
cmovns esi, eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
nop dword [eax]
movzx edx, word [ecx + eax*2]
cmp dx, word [esi + eax*2]
jne 0x456970
inc eax
cmp edi, eax
jne 0x4569f0
jmp 0x456a20
push dword [ebp - 0x24]
call fcn.005327b0
add esp, 4
jmp 0x45697a
movzx ebx, byte [ebp - 0x19]
test bl, bl
jns 0x456a3a
mov ebx, dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.005327b0
add esp, 4
jmp 0x456a3a
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45a1c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x5aa99c], 0
je 0x45a1eb
mov ecx, dword [0x5aa998]
jmp 0x45a210
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x5aa998], eax
mov byte [0x5aa99c], 1
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x45a244
mov ebx, dword [ebp + 0x10]
call dword [section..00cfg]
push edi
push ebx
push dword [ebp + 0xc]
push esi
call ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [ebp - 0x218]
push 0x208
push 0
push ebx
call fcn.00536680
add esp, 0xc
movdqu xmm0, xmmword [0x570c70]
movdqu xmm1, xmmword [esi]
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
je 0x45a290
movdqu xmm0, xmmword [0x570c60]
movdqu xmm1, xmmword [esi]
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
je 0x45a2e1
sub esp, 0x14
mov dword [esp + 0x10], ebx
movdqa xmm0, xmmword [0x569780]
movdqu xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45a22b
push 0x104
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [edi], eax
test eax, eax
je 0x45a2eb
push ebx
push 0x104
push eax
call fcn.0054cf08
add esp, 0xc
test eax, eax
mov esi, 0x80004003
cmove esi, eax
jmp 0x45a22d
mov esi, 0x80004001
jmp 0x45a22d
mov esi, 0x80004003
jmp 0x45a22d