Function at 0x42c460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x458
mov esi, esp
mov ebx, edx
mov edi, ecx
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esi + 0x450], eax
lea eax, [esi + 0x50]
push 0x400
push 0xff
push eax
call fcn.004f0310
add esp, 0xc
cmp byte [edi + 0xb], 0
mov dword [esi], ebx
jns 0x42c4a2
mov edi, dword [edi]
sub esp, 0x1c
xor ebx, ebx
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [0x584590]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
lea eax, [esi + 0x4c]
mov dword [eax], 0xffffffff
push ebx
push eax
push 0x3ff
lea eax, [esi + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov ebx, 0
jne 0x42c50e
mov ecx, dword [esi + 0x450]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x4c]
mov byte [esi + eax + 0x50], 0
lea edi, [esi + 0x40]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
lea ebx, [esi + 0x34]
mov ecx, ebx
lea eax, [esi + 0x50]
push eax
call fcn.0051cfc0
push edi
push ebx
call fcn.0042c0e0
add esp, 8
cmp byte [ebx + 0xb], 0
jns 0x42c54a
push dword [esi + 0x34]
call fcn.004eca8e
add esp, 4
xor edi, edi
dec edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov ecx, ebx
push str.__subfolder_:
call fcn.0051d070
lea ecx, [esi + 0x28]
lea edx, [esi + 0x40]
push ebx
call fcn.0042c880
add esp, 4
mov ebx, dword [esi]
cmp byte [ebx + 0xb], 0
jns 0x42c583
push dword [ebx]
call fcn.004eca8e
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi + 0x28]
movsd qword [ebx], xmm0
movzx eax, byte [ebx + 0xb]
test al, al
js 0x42c5ae
cmp al, 2
jb 0x42c5c8
cmp word [ebx], 0x22
jne 0x42c5c8
cmp word [ebx + eax*2 - 2], 0x22
jne 0x42c5c8
jmp 0x42c5f5
mov eax, dword [ebx + 4]
cmp eax, 2
jb 0x42c5c8
mov ecx, dword [ebx]
cmp word [ecx], 0x22
jne 0x42c5c8
mov ecx, dword [ebx]
cmp word [ecx + eax*2 - 2], 0x22
je 0x42c5f5
xor ebx, ebx
cmp byte [esi + 0x3f], 0
jns 0x42c5db
push dword [esi + 0x34]
call fcn.004eca8e
add esp, 4
cmp byte [esi + 0x4b], 0
jns 0x42c4f7
push dword [esi + 0x40]
call fcn.004eca8e
add esp, 4
jmp 0x42c4f7
add eax, 0xfffffffe
lea edx, [ebx + 0xc]
lea ecx, [esi + 0x28]
push edx
push eax
push 1
push ebx
call fcn.00469330
cmp byte [ebx + 0xb], 0
jns 0x42c618
push dword [ebx]
call fcn.004eca8e
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi + 0x28]
movsd qword [ebx], xmm0
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x28]
push str.__all_users_:
call fcn.0051d070
lea ebx, [esi + 0x1c]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea edx, [esi + 0x40]
mov ecx, ebx
lea eax, [esi + 0x28]
push eax
call fcn.0042c880
add esp, 4
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x42c666
mov eax, dword [esi + 0x20]
jmp 0x42c669
and eax, 0x7f
test eax, eax
je 0x42c697
mov dword [esi], esp
push eax
sub esp, 8
mov ebx, esp
cmp byte [esi + 0x27], 0
js 0x42c6c4
mov eax, dword [esi + 0x24]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi + 0x1c]
movsd qword [ebx], xmm0
mov ecx, ebx
call fcn.0042cb70
mov esp, dword [esi]
test al, al
jne 0x42c6d3
xor ebx, ebx
cmp byte [esi + 0x27], 0
jns 0x42c6aa
push dword [esi + 0x1c]
call fcn.004eca8e
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x42c5ca
push dword [esi + 0x28]
call fcn.004eca8e
add esp, 4
jmp 0x42c5ca
mov ecx, ebx
push dword [esi + 0x20]
push dword [esi + 0x1c]
call fcn.00468b90
jmp 0x42c68a
movzx ecx, byte [esi + 0x27]
mov ebx, ecx
and ebx, 0x7f
test cl, cl
cmovs ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0x1c]
cmovs eax, edx
test ebx, ebx
je 0x42c6f7
test eax, eax
je 0x42c859
cmp ebx, 4
jne 0x42c732
cmp word [eax], 0x74
jne 0x42c732
test cl, cl
lea eax, [esi + 0x1c]
cmovs eax, edx
cmp word [eax + 2], 0x72
jne 0x42c732
test cl, cl
lea eax, [esi + 0x1c]
cmovs eax, edx
cmp word [eax + 4], 0x75
jne 0x42c732
test cl, cl
lea eax, [esi + 0x1c]
cmovs eax, edx
cmp word [eax + 6], 0x65
sete cl
jmp 0x42c734
xor ecx, ecx
mov eax, dword [ebp + 8]
mov byte [eax], cl
lea ecx, [esi + 0x10]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
push str.__launch_from_install_dir_:
call fcn.0051d070
lea ebx, [esi + 4]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea edx, [esi + 0x40]
mov ecx, ebx
lea eax, [esi + 0x10]
push eax
call fcn.0042c880
add esp, 4
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x42c777
mov eax, dword [esi + 8]
jmp 0x42c77c
mov eax, ecx
and eax, 0x7f
test eax, eax
je 0x42c811
mov edi, esp
push eax
sub esp, 8
mov ebx, esp
cmp byte [esi + 0xf], 0
js 0x42c847
mov eax, dword [esi + 0xc]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi + 4]
movsd qword [ebx], xmm0
mov ecx, ebx
call fcn.0042cb70
mov esp, edi
mov cl, byte [esi + 0xf]
test al, al
je 0x42c81c
movzx edx, cl
and edx, 0x7f
test cl, cl
cmovs edx, dword [esi + 8]
mov eax, dword [esi + 4]
lea edi, [esi + 4]
cmovs edi, eax
test edx, edx
je 0x42c7d6
test edi, edi
je 0x42c859
cmp edx, 4
jne 0x42c811
cmp word [edi], 0x74
jne 0x42c811
test cl, cl
lea edx, [esi + 4]
cmovs edx, eax
cmp word [edx + 2], 0x72
jne 0x42c811
test cl, cl
lea edx, [esi + 4]
cmovs edx, eax
cmp word [edx + 4], 0x75
jne 0x42c811
test cl, cl
lea edx, [esi + 4]
cmovs edx, eax
cmp word [edx + 6], 0x65
sete al
jmp 0x42c813
xor eax, eax
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov bl, 1
jmp 0x42c81e
xor ebx, ebx
test cl, cl
jns 0x42c82d
push dword [esi + 4]
call fcn.004eca8e
add esp, 4
cmp byte [esi + 0x1b], 0
jns 0x42c699
push dword [esi + 0x10]
call fcn.004eca8e
add esp, 4
jmp 0x42c699
mov ecx, ebx
push dword [esi + 8]
push dword [esi + 4]
call fcn.00468b90
jmp 0x42c7a5
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x129
push str....._buildtools_third_partylibc_trunkinclude_string_view
push str._s:_d:_assertion__s_failed:__s
call fcn.0051d7e0
int3