joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43af10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x58fd94]
test ebx, ebx
jne 0x43af92
push 0x28
call fcn.004ba1be
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.004ba1be
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x43af9c
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x58fd94], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x43afb7
mov edi, eax
push eax
call fcn.004d43b4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0043afc0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.004e9750
int3
Function at 0x43afc0
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 [0x58a014]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.00448cf0
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x43b116
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x575190
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
je 0x43b153
push 0x5751e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b04c
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x43b0b6
shl ebx, 2
cmp ebx, 0x55555555
jae 0x43b163
lea esi, [ebx + ebx*2]
push esi
call fcn.004ba1be
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x28], edi
test edi, edi
je 0x43b12a
mov ecx, edi
mov eax, dword [ebp - 0x24]
push dword [eax + esi]
call fcn.004e8ff0
add edi, 0xc
add esi, 4
cmp ebx, esi
jne 0x43b094
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x30]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
call fcn.0043acc0
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43b0e2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x43b116
cmp edi, esi
je 0x43b10d
add edi, 0xfffffff4
test edi, edi
je 0x43b145
cmp byte [edi + 0xb], 0
jns 0x43b104
push dword [edi]
call fcn.004ba1ee
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
jne 0x43b0f0
push esi
call fcn.004ba1ee
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.004e9750
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x3f
jmp 0x43b136
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x43b049
call fcn.004cc3d0
int3
Function at 0x43d340
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.004454e0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x43d36e
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x43d38c
push dword [ebp - 0x1c]
call fcn.004ba1ee
add esp, 4
cmp dword [ebp + 8], 0
je 0x43d425
test esi, esi
je 0x43d425
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.004ba223
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.004454e0
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x43d3cf
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x43d3e9
push dword [ebp - 0x1c]
call fcn.004ba1ee
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x43d43e
push edi
call fcn.004d43b4
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.0049bff0
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x43d441
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.004ba22c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.004ba1ee
add esp, 4
jmp 0x43d40d

Function at 0x43d590
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.004482e0
mov dword [esi], 0
test eax, eax
je 0x43d5d8
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 0x43d60a
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43d5cf
mov dword [esi], ebx
call fcn.00495270
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.00494290
lea ecx, [esi + 0x10]
call fcn.004a2bd0
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.00495270
push dword [esi]
call fcn.0049e730
add esp, 4
mov dword [esi], 0
jmp 0x43d5c0
Function at 0x43e840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov dword [esp + 0xc], edx
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [esp + 0xb8], eax
xor ebx, ebx
test ecx, ecx
je 0x43e9ba
push ebx
push ebx
push ecx
mov dword [esp + 0x1c], ecx
call fcn.004d1bea
add esp, 0xc
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x70]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x30]
push 0x48
push str....._base_files_file_util.cc
push str.ReadStreamToSpanWithMaxSize
push edi
call fcn.00495240
add esp, 0x10
mov ecx, esi
push ebx
push edi
call fcn.0049ca20
mov dword [edi + 0x30], ebx
pxor xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
push dword [esp + 0x10]
call fcn.004ca0fc
add esp, 4
push eax
call fcn.004ca8fd
add esp, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x43e9d2
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, eax
neg edx
sbb ecx, dword [esp + 0x50]
mov edi, 0xffff
cmovl edi, eax
mov eax, dword [esp + 0xc]
cmp edi, eax
cmovae edi, eax
inc edi
xor eax, eax
dec eax
lea ebx, [esp + 0x28]
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
call dword [section..00cfg]
mov eax, dword [esp + 0x20]
push edi
push eax
push ebx
mov dword [esp + 0x24], ecx
call ecx
add esp, 0xc
xor esi, esi
mov eax, dword [ebx + 4]
add eax, esi
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.004d19e7
add esp, 0x10
test eax, eax
je 0x43e97e
mov ebx, eax
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x43e9dc
add ebx, esi
push dword [esp + 0x10]
call fcn.004d157e
add esp, 4
test eax, eax
je 0x43e9e4
mov esi, ebx
push dword [esp + 0x10]
call fcn.004d15aa
add esp, 4
test eax, eax
sete bl
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x18]
call dword [section..00cfg]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x20]
push esi
push eax
push edx
call ecx
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0049caa0
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xffff
jmp 0x43e907
xor ebx, ebx
mov esi, dword [esp + 0xc]
jmp 0x43e98f
test esi, esi
mov eax, 0x10000
cmove edi, eax
lea eax, [ebx + edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x18]
call dword [section..00cfg]
mov eax, dword [esp + 0x6c]
lea esi, [esp + 0x20]
push dword [esp + 0x1c]
push eax
push esi
call ecx
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov esi, ebx
jmp 0x43e948
Function at 0x43f830
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
call fcn.0043f8d0
mov eax, dword [esi]
mov dword [0x58bb30], eax
test al, 1
jne 0x43f84c
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [0x58fde4]
test eax, eax
jne 0x43f861
mov ecx, dword [0x58fdd0]
test ecx, ecx
je 0x43f883
jmp 0x43f89f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x58fde4], 0
mov ecx, dword [0x58fdd0]
test ecx, ecx
jne 0x43f89f
and byte [0x58bb30], 0xfe
push 0xc
call fcn.004ba1be
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x58fdd0], ecx
push dword [esi + 4]
call fcn.004402d0
cmp dword [esi + 0xc], 0
jne 0x43f8c1
mov eax, dword [0x58fdd0]
cmp byte [eax + 0xb], 0
jns 0x43f8ba
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
jmp fcn.00502ad0
Function at 0x4427f0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x44280e
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x442811
and eax, 0x7f
mov esi, eax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x18], eax
cmp eax, 4
jb 0x44284c
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, ebx
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x442826
cmp edx, 1
je 0x44286d
cmp edx, 2
je 0x442864
cmp edx, 3
jne 0x442878
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
xor ecx, ecx
mov dword [ebp - 0x10], edx
test edx, edx
je 0x442996
mov dword [ebp - 0x1c], ebx
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 1
and edx, 0x55555555
sub eax, edx
mov edx, 0x33333333
mov ebx, eax
and ebx, edx
shr eax, 2
and eax, edx
add eax, ebx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
jbe 0x4429a9
mov edx, esi
cmp esi, dword [ebp - 0x10]
jb 0x4428f1
mov eax, esi
xor edx, edx
div dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x442996
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x442996
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x44295d
movzx edx, byte [ebx + 0x13]
mov eax, edx
and eax, 0x7f
mov ecx, eax
test dl, dl
jns 0x442935
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x442974
lea ecx, [ebx + 8]
test dl, dl
jns 0x442943
mov ecx, dword [ecx]
js 0x44297c
test al, al
je 0x442994
xor ecx, ecx
mov dl, byte [ebx + ecx + 8]
mov edi, eax
cmp dl, byte [esi + ecx]
jne 0x442974
inc ecx
cmp eax, ecx
jne 0x44294b
jmp 0x442994
cmp dword [ebp - 0x28], 1
jbe 0x4429b6
cmp eax, dword [ebp - 0x10]
jb 0x44296f
xor edx, edx
div dword [ebp - 0x10]
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x4429a5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x44291b
jmp 0x4429a5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x442994
push eax
push dword [ebp - 0x1c]
push ecx
call fcn.004bc3dd
add esp, 0xc
test eax, eax
jne 0x442974
mov ecx, ebx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ecx, ecx
jmp 0x442996
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
and edx, esi
jmp 0x4428f1
and eax, dword [ebp - 0x20]
jmp 0x44296f
Function at 0x4456d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x58bb50]
cmp eax, 0xffffffff
je 0x4456f0
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 0x4456ee

Function at 0x445700
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x58bb50]
cmp eax, 0xffffffff
je 0x4457c1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4457c1
mov eax, dword [0x590abc]
mov ecx, dword [0x58e4fc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4457cb
mov edi, dword [0x590ab8]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x445810
mov ecx, dword [0x58feb4]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x58feb8], 0
jne 0x44581c
lea eax, [eax*4 + 0x58feb8]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x58febc], ecx
mov dword [0x58feb4], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x58fec0]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x44582b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00445830
jmp 0x445725
push 0x590abc
call fcn.004ba267
add esp, 4
cmp dword [0x590abc], 0xffffffff
jne 0x445746
push 4
call fcn.004ba1be
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.0049e6a0
mov dword [0x590ab8], edi
push 0x590abc
call fcn.004ba2dd
add esp, 4
jmp 0x445746
mov ecx, edi
call fcn.0049e6b0
jmp 0x44575b
inc edx
cmp edx, 0x100
jne 0x445764
jmp 0x4457ab
int3

Function at 0x445830
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x58bb50]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x4458dd
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x445926
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.004bd870
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.0045c790
add esp, 8
push edi
call fcn.004ba223
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.004bd2f0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.0045c790
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.0045c770
add esp, 4
test al, al
je 0x445929
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x44592c
xor eax, eax
dec eax
lock cmpxchg dword [0x58bb50], ecx
je 0x445861
push ecx
call fcn.0050fea0
add esp, 4
mov ecx, dword [0x58bb50]
mov dword [ebp - 0x814], ecx
jmp 0x445861
int3
int3
push esi
call fcn.0045c770
add esp, 4
test al, al
je 0x445954
cmp dword [ebp - 0x814], 0xffffffff
je 0x445954
push 0xffffffffffffffff
call fcn.0050fea0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x4458fb
int3
Function at 0x445a20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, ecx
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [esp + 0x1c], eax
push dword [0x58bb50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x445a93
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x11e1a300
mov esi, esp
push 0x1db
push str....._base_threading_thread_local_storage.cc
push 0x575d14
push esi
call fcn.00495240
add esp, 4
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.005023f0
add esp, 0xc
xor esi, esi
jmp 0x445aa8
xor esi, esi
and eax, 0xfffffffc
je 0x445aa8
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
jne 0x445aa8
mov esi, dword [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret

Function at 0x447270
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.00447280
Function at 0x4474f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x470
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [esp + 0x468], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x420]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x218]
push 0x196
push str....._base_files_file_util_win.cc
push 0x575ed7
push eax
call fcn.00495240
add esp, 0x10
mov ecx, esi
lea esi, [esp + 0x218]
push 0
push esi
call fcn.0049ca20
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push esi
call fcn.004bd870
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x447580
mov eax, dword [ebx]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.0049aff0
add esp, 0xc
push esi
call fcn.0048bdd0
add esp, 4
lea esi, [esp + 0x10]
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push esi
call fcn.004bd870
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4475bc
mov eax, dword [edi]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.0049aff0
add esp, 0xc
push esi
call fcn.0048bdd0
add esp, 4
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x4475df
mov eax, dword [ebx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x4475e9
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x575e80]
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 0x44765e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00448880
add esp, 4
mov dword [esp + 0xc], eax
cmp byte [edi + 0xb], 0
jns 0x447624
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
cmp byte [ebx + 0xb], 0
jns 0x44762f
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test esi, esi
je 0x447660
test eax, eax
jne 0x447660
cmp dword [esp + 0xc], 0xfffffffc
jne 0x447654
call fcn.00507650
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
xor ebx, ebx
jmp 0x447660
mov bl, 1
lea ecx, [esp + 0x420]
call fcn.0049caa0
mov ecx, dword [esp + 0x468]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x447690
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 [0x58a014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1c9
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00495240
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.0049ca20
cmp byte [edi + 0xb], 0
jns 0x4476f1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.0049caa0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x447720
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 [0x58a014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1f1
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.00495240
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.0049ca20
cmp byte [edi + 0xb], 0
jns 0x447781
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.0049caa0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4477c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.004bd870
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x447848
push ebx
call fcn.004d43b4
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.00494380
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.0043e4e0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0043d6e0
mov ecx, ebx
call fcn.004944b0
mov ecx, edi
call fcn.004944b0
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x447870
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 [0x58a014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.004bd870
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x575e90]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4478ec
cmp word [ebp - 0x214], 0
je 0x4478ec
push edi
call fcn.004d43b4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00494380
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.00494270
push edi
call fcn.004477c0
add esp, 4
mov ecx, esi
test al, al
je 0x44791b
push edi
call fcn.00494350
jmp 0x447927
push 3
push 0x575f00
call fcn.00494380
lea ecx, [ebp - 0x220]
call fcn.004944b0
jmp 0x4478d6