Function at 0x435b90
Capabilities:
Check if file exists
Delete file
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x4d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x4f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x504]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x508]
mov esi, dword [eax + 0x18]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x1c], ecx
je 0x435c08
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x435f20
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x435bf0
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4364b2
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebp, 7
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00406cc0
mov dword [esp + 0x4fc], ebx
mov eax, dword [esp + 0x58]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x435c4f
call fcn.0043f7bb
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x435c5e
lea eax, [esp + 0x48]
cmp word [eax + esi*2], 0x5c
je 0x435cbc
lea ecx, [esp + 0x44]
push ecx
mov ebx, 0x46042c
lea esi, [esp + 0x9c]
call fcn.00408750
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x504], 1
call fcn.00406cc0
mov byte [esp + 0x4fc], 0
cmp dword [esp + 0xb0], 8
jb 0x435cb5
mov edx, dword [esp + 0x9c]
push edx
call fcn.0043ef40
add esp, 4
xor ebx, ebx
mov ebp, 7
push 4
push str.name
lea esi, [esp + 0x84]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
call fcn.00406f20
mov ecx, dword [esp + 0x18]
mov eax, esi
push eax
mov byte [esp + 0x500], 2
call fcn.0042d0e0
mov edi, 8
mov byte [esp + 0x4fc], bl
cmp dword [esp + 0x94], edi
mov esi, eax
jb 0x435d20
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0043ef40
add esp, 4
cmp esi, ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
je 0x436459
mov eax, esi
lea ecx, [esp + 0x60]
call fcn.004270b0
push eax
lea edx, [esp + 0x48]
push edx
lea edi, [esp + 0xa0]
mov byte [esp + 0x504], 3
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x504], 4
call fcn.00406cc0
cmp dword [esp + 0xb0], 8
jb 0x435d94
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043ef40
add esp, 4
mov byte [esp + 0x4fc], bl
cmp dword [esp + 0x78], 8
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
jb 0x435dc5
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x20
push ebx
mov edi, 0xf
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00419320
lea eax, [esp + 0x60]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x4fc], 5
call fcn.004270b0
mov byte [esp + 0x4fc], 7
cmp dword [esp + 0x78], 0x10
jb 0x435e24
mov edx, dword [esp + 0x64]
push edx
call fcn.0043ef40
add esp, 4
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x78], edi
push str.folder
mov edi, 6
lea ecx, [esp + 0xb8]
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00411e60
neg eax
sbb eax, eax
inc eax
je 0x4360f9
mov eax, esi
lea ecx, [esp + 0x98]
call fcn.004270b0
mov byte [esp + 0x4fc], 8
call fcn.00428680
test eax, eax
jne 0x435f2e
lea edi, [eax + 5]
mov eax, dword [esp + 0xac]
push 0x463604
lea ecx, [esp + 0x9c]
call fcn.00411e60
test eax, eax
jne 0x435f2e
mov esi, 8
cmp dword [esp + 0xb0], esi
jb 0x435ebc
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xcc], esi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
jb 0x435eeb
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x4fc], 0xffffffff
cmp dword [esp + 0x5c], esi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
jb 0x436477
mov edx, dword [esp + 0x48]
push edx
jmp 0x43646f
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x435c0a
mov eax, dword [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00435b90
push 0xd
push str.QTInstall.xml
lea esi, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.00406f20
mov edx, esi
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x500], 9
call fcn.00420570
mov edi, 8
add esp, 4
mov byte [esp + 0x4fc], 8
cmp dword [esp + 0x78], edi
mov esi, eax
jb 0x435f9b
mov eax, dword [esp + 0x64]
push eax
call fcn.0043ef40
add esp, 4
cmp esi, ebx
je 0x4360d6
lea ecx, [esp + 0x44]
call fcn.0041f7a0
cmp eax, ebx
jne 0x4360d6
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x435fc2
lea eax, [esp + 0x48]
push eax
push 0x464eb4
push 0x400
lea ecx, [esp + 0xf8]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x7c]
call fcn.0042a750
mov byte [esp + 0x4fc], 0xa
lea eax, [esp + 0xec]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436010
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xf0]
push edx
lea esi, [esp + 0x68]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x84]
mov byte [esp + 0x504], 0xb
call fcn.00406d90
cmp dword [esp + 0x78], edi
jb 0x43605f
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x94], edi
mov edx, dword [esp + 0x80]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jae 0x436083
lea edx, [esp + 0x80]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x4360bc
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436092
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x94], 8
jb 0x4360d6
mov edx, dword [esp + 0x80]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb0], 8
jb 0x436338
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043ef40
add esp, 4
jmp 0x436338
mov eax, dword [esp + 0x48]
mov edi, 8
cmp dword [esp + 0x5c], edi
jae 0x43610c
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43639d
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x436129
lea eax, [esp + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp eax, ebx
jne 0x436398
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x436149
lea eax, [esp + 0x48]
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
mov ebx, str..rename
lea esi, [esp + 0x80]
call fcn.00408750
add esp, 4
mov byte [esp + 0x4fc], 0xc
mov eax, dword [esp + 0x80]
mov ebp, 8
cmp dword [esp + 0x94], ebp
jae 0x436189
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4361ae
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x4361ab
lea eax, [esp + 0x80]
push eax
call edi
cmp dword [esp + 0x94], ebp
mov ecx, dword [esp + 0x80]
jae 0x4361c5
lea ecx, [esp + 0x80]
cmp dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x48]
jae 0x4361d3
lea eax, [esp + 0x48]
push ecx
push eax
call fcn.0044065e
add esp, 8
test eax, eax
je 0x43631d
cmp dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x48]
jae 0x4361f3
lea eax, [esp + 0x48]
push eax
push 0x464ee0
push 0x400
lea edx, [esp + 0xf8]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x60]
call fcn.0042a750
mov byte [esp + 0x4fc], 0xd
xor edi, edi
mov ebx, 7
lea eax, [esp + 0xec]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
lea edx, [eax + 2]
jmp 0x436250
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x436250
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xf0]
push eax
lea esi, [esp + 0xa0]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x68]
mov byte [esp + 0x504], 0xe
call fcn.00406d90
cmp dword [esp + 0xb0], ebp
jb 0x4362a5
mov edx, dword [esp + 0x9c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x78], ebp
mov edx, dword [esp + 0x64]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
jae 0x4362c9
lea edx, [esp + 0x64]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x43630a
mov eax, edx
lea esi, [eax + 2]
jmp 0x4362e0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4362e0
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x78], ebp
jb 0x43631d
mov edx, dword [esp + 0x64]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x94], ebp
jb 0x436336
mov eax, dword [esp + 0x80]
push eax
call fcn.0043ef40
add esp, 4
xor ebx, ebx
mov edi, 8
cmp dword [esp + 0xcc], edi
jb 0x436356
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0043ef40
add esp, 4
mov esi, 7
mov dword [esp + 0x4fc], 0xffffffff
cmp dword [esp + 0x5c], edi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
jb 0x43638f
mov edx, dword [esp + 0x48]
push edx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x5c], esi
jmp 0x43647b
mov edi, 8
push 4
push str.size
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00406f20
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x500], 0xf
call fcn.0042d0e0
mov byte [esp + 0x4fc], 7
cmp dword [esp + 0x3c], edi
mov esi, eax
jb 0x4363eb
mov edx, dword [esp + 0x28]
push edx
call fcn.0043ef40
add esp, 4
mov eax, esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.004270b0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x4fc], 0x10
call fcn.00426e60
mov ecx, dword [esp + 0x1c]
cdq
add dword [ecx + 0x10], eax
adc dword [ecx + 0x14], edx
cmp dword [esp + 0xe8], edi
jb 0x43643e
mov eax, dword [esp + 0xd4]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], bx
jmp 0x436338
mov dword [esp + 0x4fc], 0xffffffff
cmp dword [esp + 0x5c], edi
jb 0x436477
mov eax, dword [esp + 0x48]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x40]
cmp esi, ebx
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
je 0x4364a4
nop
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x4364e1
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x436490
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x435c16
mov eax, 1
mov ecx, dword [esp + 0x4f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.0043ef12
add esp, 0x4ec
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x4364a6