joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ea40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x68], eax
call fcn.00412c40
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x100]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ea85
push 0
push dword [esi + 0x100]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x10]
mov ecx, edi
push 0x268
push str.OnCloseWindow
push 0
call fcn.004b83c0
lea ecx, [esp + 0x4c]
push 0x50623a
push str.____Installer___MainWindow::OnCloseWindow
call fcn.004b45d0
mov ecx, edi
call fcn.004374c0
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x42eac9
call fcn.0041a910
test al, al
je 0x42eb13
lea ecx, [esi + 0x108]
call fcn.00412c40
xor edi, edi
inc edi
mov ebx, dword [sym.imp.USER32.dll_EndDialog]
push edi
push eax
call ebx
mov ecx, esi
call fcn.00412c40
push edi
push eax
call ebx
mov ecx, esi
call fcn.00412c40
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048a678
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.004b86f0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0x26c
push str.OnCloseWindow
push 1
call fcn.004b84f0
lea ecx, [esp + 0x4c]
push 0x506281
push str.____Installer___MainWindow::OnCloseWindow:_WaitForInstallAsync_timeout
call fcn.004b45d0
mov ecx, edi
call fcn.004b8530
cmp byte [ebx + 0xb], 0
jns 0x42eac9
push dword [esp + 4]
call fcn.00489982
add esp, 4
jmp 0x42eac9

Function at 0x42eb80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x68], eax
call fcn.00412c40
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x100]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ebc5
push 0
push dword [esi + 0x100]
call dword [sym.imp.USER32.dll_ShowWindow]
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 4]
push ebx
call fcn.00428360
add esp, 4
mov eax, dword [esi + 0x10]
mov ecx, edi
push ebx
push dword [eax + 0x64]
call fcn.00427eb0
mov ecx, edi
push 0
call fcn.00424070
mov ecx, esi
call fcn.00412c40
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, edi
call fcn.004284c0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048a678
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42eef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [0x520014]
xor ecx, ebp
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
cmp eax, 0x3f6
je 0x42ef61
cmp ax, 0x7b
je 0x42ef61
cmp ax, 0x76
jne 0x42f0ab
mov ebx, dword [esi + 0x10]
xor eax, eax
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp byte [ebx + 0x7f], 0
js 0x42ef97
lea eax, [ebx + 0x74]
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
jmp 0x42efa6
lea eax, [esp + 0x28]
push dword [esi + 0x10]
push eax
call fcn.0042a2d0
add esp, 8
cmp byte [esp + 0x23], 0
jns 0x42ef84
push dword [esp + 0x18]
call fcn.00489982
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x28]
jmp 0x42f081
lea ecx, [esp + 0x28]
push dword [ebx + 0x78]
push dword [ebx + 0x74]
call fcn.0046ba90
lea edi, [esp + 0x28]
mov ecx, edi
push str._lang
call fcn.0046c900
movzx eax, byte [ebx + 0x63]
test al, al
jns 0x42efc6
mov eax, dword [ebx + 0x5c]
mov ebx, dword [ebx + 0x58]
jmp 0x42efc9
add ebx, 0x58
mov ecx, edi
push eax
push ebx
call fcn.0046bf20
movzx ecx, byte [esp + 0x33]
mov eax, dword [esp + 0x28]
mov ebx, ecx
test cl, cl
jns 0x42efe7
mov ebx, dword [esp + 0x2c]
mov edi, eax
cmp ebx, 0x7ffffff0
jae 0x42f0e4
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
cmp ebx, 5
jae 0x42f00d
lea eax, [esp + 0xc]
mov byte [eax + 0xb], bl
test ebx, ebx
jne 0x42f037
jmp 0x42f048
mov dword [esp], esi
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.00489952
add esp, 4
mov dword [esp + 0xc], eax
or esi, 0x80000000
mov dword [esp + 0x14], esi
mov esi, dword [esp]
mov dword [esp + 0x10], ebx
xor ecx, ecx
movsx edx, byte [edi + ecx]
mov word [eax], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x42f039
mov word [eax], 0
cmp byte [esp + 8], 0
jns 0x42f060
push dword [esp + 4]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x23], 0
jns 0x42f073
push dword [esp + 0x18]
call fcn.00489982
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0xc]
movsd qword [esp + 0x18], xmm0
cmp byte [esp + 0x23], 0
jns 0x42f094
mov eax, dword [esp + 0x18]
jmp 0x42f098
lea eax, [esp + 0x18]
xor ecx, ecx
push 5
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x80]
lea esi, [esp + 0x18]
push esi
call fcn.00420e90
cmp byte [esi + 0xb], 0
jns 0x42f0cd
push dword [esp + 0x18]
call fcn.00489982
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.0048a678
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [esp + 0xc]
call fcn.004c9f10
int3
Function at 0x433630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x520014]
xor ecx, ebp
mov esi, 0x7fffffff
cmp eax, esi
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], 0xffffffff
push 0
push eax
push esi
push edx
mov edi, ebx
push ebx
call ecx
test eax, eax
je 0x4336a8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x433695
cmp ebx, 0xffffffff
je 0x4336ba
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x4336bd
mov ebx, dword [ebp - 0x14]
jmp 0x433681
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x433681
int3
mov edx, dword [ebp + 0xc]
jmp 0x433657

Function at 0x433860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 8]
inc eax
cmp eax, 2
jae 0x4338df
mov esi, ecx
push dword [ebp + 8]
call fcn.004336d0
add esp, 4
mov edi, eax
cmp dword [esi + 8], eax
je 0x4338ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 8]
inc eax
cmp eax, 2
jae 0x4338c6
mov eax, edi
inc eax
cmp eax, 2
jb 0x4338a4
mov dword [esi + 8], edi
call fcn.0046e410
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 8]
lea eax, [edi + 1]
cmp eax, 2
jb 0x4338b9
mov dword [esi + 0x14], edi
cmp eax, 1
seta al
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0046e410
push dword [esi + 8]
call fcn.00470b40
add esp, 4
mov dword [esi + 8], 0
jmp 0x433894
int3
Function at 0x435e70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc4
mov ebx, dword [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x435e93
mov eax, dword [ebx]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x435f1e
mov edi, eax
push eax
call fcn.004899b3
add esp, 4
mov esi, eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x435eb6
mov eax, dword [ebx]
push esi
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x435f25
xor eax, eax
dec eax
lea ecx, [ebp - 0xc8]
mov dword [ecx], eax
lea edx, [ebp - 0xcc]
mov dword [edx], eax
push edx
push ecx
push 0x503808
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test eax, eax
je 0x435fd5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc8]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm1
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
movups xmm1, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm1
movups xmmword [eax], xmm0
mov ecx, dword [eax + 0x18]
and dword [eax + 0x1c], ecx
jmp 0x43601c
xor ebx, ebx
jmp 0x43602e
push 1
call fcn.0046e420
add esp, 4
test al, al
je 0x435fd1
call fcn.004cbd80
lea ecx, [ebp - 0xbc]
push eax
push 1
push 0x23
push str..._.._chrome_installer_lite_util_crash_reporter_module_version.cc
call fcn.004cbeb0
lea eax, [ebp - 0xb4]
push 0x14
push str.GetFileVersionInfo:
push eax
call fcn.00466fc0
add esp, 0xc
movzx ecx, byte [ebx + 0xb]
test cl, cl
mov dword [ebp - 0xd0], eax
jns 0x435f7a
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
lea edi, [ebp - 0xc8]
push ecx
push ebx
push edi
call fcn.0046fff0
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x435f9f
mov eax, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xc8]
push eax
push edi
push dword [ebp - 0xd0]
call fcn.00466fc0
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x435fc6
push dword [ebp - 0xc8]
call fcn.00489982
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.004cbf10
xor ebx, ebx
jmp 0x436021
push 1
call fcn.0046e420
add esp, 4
test al, al
je 0x43601c
call fcn.004cbd80
lea ebx, [ebp - 0xbc]
mov ecx, ebx
push eax
push 1
push 0x2e
push str..._.._chrome_installer_lite_util_crash_reporter_module_version.cc
call fcn.004cbeb0
lea eax, [ebp - 0xb4]
push 0xd
push str.VerQueryValue
push eax
call fcn.00466fc0
add esp, 0xc
mov ecx, ebx
call fcn.004cbf10
test edi, edi
setne bl
test esi, esi
je 0x43602e
push esi
call fcn.004899bc
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
add esp, 0xc4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x437030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x280
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x278], eax
lea edi, [esp + 0x70]
push 0x208
push 0xff
push edi
call fcn.0048d770
add esp, 0xc
call fcn.004b7650
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x437074
mov ecx, dword [eax + 4]
mov bl, byte [ebp + 0xc]
test ecx, ecx
jne 0x437137
xor edx, edx
mov ecx, eax
push edx
push 0x505f0e
push 0xffffffffffffffff
push edx
call fcn.0043f840
test eax, eax
jne 0x437137
movzx eax, bl
push eax
push 0x1a
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x437158
xor eax, eax
dec eax
lea esi, [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
call fcn.004a3276
add esp, 4
mov edx, edi
lea edi, [esp + 0x18]
mov ecx, edi
push eax
push edx
call fcn.00440530
mov ecx, edi
push 6
push 0x5073d8
push esi
call fcn.0046dd10
mov ecx, edi
call fcn.0046d580
test bl, bl
je 0x437102
push esi
call fcn.00441d40
add esp, 4
test al, al
je 0x4371bc
lea ecx, [esp + 0xc]
push 2
push 0x507400
mov esi, dword [ebp + 8]
push esi
call fcn.0046dd10
lea ecx, [esp + 0xc]
call fcn.0046d580
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004b7650
cmp byte [eax + 0xb], 0
jns 0x437144
mov eax, dword [eax]
push 0x104
push eax
push edi
call fcn.004a36aa
add esp, 0xc
jmp 0x4370b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0xc]
push eax
push esi
call fcn.004b86f0
add esp, 8
lea edi, [esp + 0x18]
mov ecx, edi
push esi
push 0x4b
push str.GetUserIdFilePath
push 1
call fcn.004b84f0
lea ecx, [esp + 0x54]
push 0x5073d7
push str.Cant_get_path_to_AppData_folder
call fcn.004b45d0
mov ecx, edi
call fcn.004b8530
cmp byte [esi + 0xb], 0
jns 0x4371ad
push dword [esp + 0xc]
call fcn.00489982
add esp, 4
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004404a0
jmp 0x43711f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, esp
push eax
push ebx
call fcn.004b86f0
add esp, 8
lea edi, [esp + 0x18]
mov ecx, edi
push ebx
push 0x52
push str.GetUserIdFilePath
push 1
call fcn.004b84f0
lea ecx, [esp + 0x54]
push 0x5073fe
push str.Cant_create_directory:
call fcn.004b45d0
lea ecx, [esp + 0x20]
push esi
call fcn.004b4550
mov ecx, edi
call fcn.004b8530
cmp byte [ebx + 0xb], 0
jns 0x437218
push dword [esp]
call fcn.00489982
add esp, 4
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004404a0
jmp 0x437116
Function at 0x437eb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x437f19
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x437f19
mov eax, dword [esi + 0x3c]
cmp dword [esi + eax], 0x4550
jne 0x437f19
mov edx, dword [esi + eax + 0x98]
xor eax, eax
test edx, edx
je 0x437f1b
add edx, esi
je 0x437f1b
cmp byte [edx + 8], 0x30
jne 0x437f19
cmp byte [edx + 9], 0x82
jne 0x437f19
movzx eax, word [edx + 0xa]
shl eax, 0x10
bswap eax
add eax, 0x13
and eax, 0x1fff8
je 0x437f19
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
add edx, eax
add esi, dword [ecx + 0x10]
cmp edx, esi
jae 0x437f19
cmp dword [edx], 0x74636159
je 0x437f21
xor eax, eax
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
movzx esi, word [edx + 4]
shl esi, 0x10
bswap esi
test edi, edi
je 0x437f4c
cmp dword [eax], esi
jle 0x437f19
add edx, 6
push esi
push edx
push edi
call fcn.0048cc70
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x437f4f
inc esi
mov dword [eax], esi
mov al, 1
jmp 0x437f1b

Function at 0x440370
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.00444310
mov dword [esi], 0
test eax, eax
je 0x4403b8
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4403ea
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4403af
mov dword [esi], ebx
call fcn.0046e410
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.004404c0
lea ecx, [esi + 0x10]
call fcn.0044c050
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
call fcn.0046e410
push dword [esi]
call fcn.00470b40
add esp, 4
mov dword [esi], 0
jmp 0x4403a0
Function at 0x441ac0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x441af5
cmp byte [ecx + 0xb], 0
js 0x441c8f
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
xor esi, esi
push esi
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.004a0f4d
add esp, 0xc
xor eax, eax
dec eax
lea edi, [esp + 0x60]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x20]
push 0xc6
push str..._.._base_files_file_util.cc
push str.ReadStreamToStringWithMaxSize
push ebx
call fcn.0046e3e0
add esp, 0x10
mov ecx, edi
push esi
push ebx
call fcn.004735a0
mov dword [ebx + 0x30], esi
pxor xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
push dword [ebp + 8]
call fcn.0049b950
add esp, 4
push eax
call fcn.0049b9aa
add esp, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x441ca0
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
mov edx, dword [ebp + 0xc]
cmp edx, ebx
mov ecx, 0
sbb ecx, eax
lea edi, [esp + 0x10]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
cmovb ebx, edx
inc ebx
mov ecx, edi
push esi
push ebx
call fcn.0046ca80
cmp byte [esp + 0x1b], 0
mov eax, edi
jns 0x441bdb
mov eax, dword [esp + 0x10]
add eax, esi
push dword [ebp + 8]
push ebx
push 1
push eax
call fcn.004a0d4a
add esp, 0x10
test eax, eax
je 0x441c1c
mov ecx, dword [ebp + 0xc]
sub ecx, esi
cmp ecx, eax
jb 0x441cac
test esi, esi
mov ecx, 0x10000
cmove ebx, ecx
add esi, eax
push dword [ebp + 8]
call fcn.004a07be
add esp, 4
test eax, eax
je 0x441cb0
push dword [ebp + 8]
call fcn.004a07ea
add esp, 4
test eax, eax
sete bl
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x441c67
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + 8], esi
movq xmm0, qword [esp + 0x10]
movq qword [ecx], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
push 0
push dword [esp + 0x10]
call fcn.0046ca80
cmp byte [esp + 0x1b], 0
js 0x441cbf
lea ecx, [esp + 0x60]
call fcn.004735e0
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
jmp 0x441af5
mov ebx, 0xffff
xor eax, eax
jmp 0x441ba9
xor ebx, ebx
jmp 0x441c30
lea eax, [esi + ebx]
lea ecx, [esp + 0x10]
push 0
push eax
jmp 0x441bc9
push dword [esp + 0x10]
call fcn.00489982
add esp, 4
jmp 0x441c6e
Function at 0x4431d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x521ba8]
cmp eax, 0xffffffff
je 0x4431f0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
jmp 0x4431ee

Function at 0x443200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x521ba8]
cmp eax, 0xffffffff
je 0x4432c7
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4432c7
mov eax, dword [0x5259b4]
mov ecx, dword [0x5231ac]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4432d1
mov edi, dword [0x5259b0]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x443316
mov ecx, dword [0x524dac]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x524db0], 0
jne 0x443322
lea eax, [eax*4 + 0x524db0]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x524db4], ecx
mov dword [0x524dac], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x524db8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x443334
cmp eax, 0x100
jge 0x443337
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00443340
jmp 0x443225
push 0x5259b4
call fcn.004899f7
add esp, 4
cmp dword [0x5259b4], 0xffffffff
jne 0x443246
push 4
call fcn.00489952
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00470620
mov dword [0x5259b0], edi
push 0x5259b4
call fcn.00489a6d
add esp, 4
jmp 0x443246
mov ecx, edi
call fcn.00470630
jmp 0x44325b
inc edx
cmp edx, 0x100
jne 0x443264
jmp 0x4432ab
int3
int3
Function at 0x443340
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x521ba8]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x4433ed
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x443436
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.0048d770
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.0044eb30
add esp, 8
push edi
call fcn.004899b3
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.0048cc70
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.0044eb30
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.0044eb10
add esp, 4
test al, al
je 0x443439
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x44343c
xor eax, eax
dec eax
lock cmpxchg dword [0x521ba8], ecx
je 0x443371
push ecx
call fcn.004dcb50
add esp, 4
mov ecx, dword [0x521ba8]
mov dword [ebp - 0x814], ecx
jmp 0x443371
int3
int3
push esi
call fcn.0044eb10
add esp, 4
test al, al
je 0x443464
cmp dword [ebp - 0x814], 0xffffffff
je 0x443464
push 0xffffffffffffffff
call fcn.004dcb50
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x44340b
int3

Function at 0x4435d0
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.004435e0
Function at 0x443a40
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 ebx, dword [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x458], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x250]
push 0x1b5
push str..._.._base_files_file_util_win.cc
push 0x50a328
push eax
call fcn.0046e3e0
add esp, 0x10
mov ecx, esi
lea esi, [esp + 0x250]
push 0
push esi
call fcn.004735a0
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push esi
call fcn.0048d770
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x443ad1
mov eax, dword [ebx]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.0044cfe0
add esp, 0xc
push esi
call fcn.004649a0
add esp, 4
lea esi, [esp + 0x48]
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push esi
call fcn.0048d770
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x443b0d
mov eax, dword [edi]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.0044cfe0
add esp, 0xc
push esi
call fcn.004649a0
add esp, 4
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x443b30
mov eax, dword [ebx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x443b3a
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x507860]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x443bb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004445d0
add esp, 4
mov dword [esp + 0xc], eax
cmp byte [edi + 0xb], 0
jns 0x443b75
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
cmp byte [ebx + 0xb], 0
jns 0x443b80
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test esi, esi
je 0x443b95
test eax, eax
je 0x443bba
lea ecx, [esp + 0x10]
call fcn.004735e0
mov ecx, dword [esp + 0x458]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x443b95
cmp dword [esp + 0xc], 0xfffffffc
jne 0x443bca
call fcn.004cf7b0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
xor ebx, ebx
jmp 0x443b95