Function at 0x421740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66faf8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x70d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00415320
mov ecx, eax
call fcn.004cbdd3
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004c9d50
add esp, 4
test eax, eax
jne 0x4217a3
push 1
push 0x6f4fb8
lea ecx, [ebp - 0x40]
call fcn.00408440
push 0xd
push str.winManage.exe
lea ecx, [ebp - 0x40]
call fcn.00408440
push 1
push 0x6f69e4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004064f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 8
push str.9082lnas
cmp eax, 8
jb 0x42180e
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x421825
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push 8
call fcn.00407130
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 2
push 0x6f6d84
cmp eax, 2
jb 0x42185f
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 2]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 2], 0
lea edi, [ebp - 0x28]
jmp 0x421878
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push 2
call fcn.00407130
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xa
jb 0x4218af
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x421896
mov eax, dword [edi]
push 0xa
lea esi, [eax + ecx]
push str.QWEIYORUFS
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x4218ce
push 0xa
push str.QWEIYORUFS
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 0xa
call fcn.00407130
mov edi, eax
mov esi, dword [edi + 0x14]
mov ecx, esi
mov edx, dword [edi + 0x10]
sub ecx, edx
cmp ecx, 2
jb 0x421903
lea eax, [edx + 2]
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x4218ea
mov edi, dword [edi]
push 2
lea esi, [edi + edx]
push 0x6f6e20
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x421920
push 2
push 0x6f6e20
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 2
call fcn.00407130
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x48], 0x10
lea ecx, [eax + 0x34]
jb 0x421932
mov ecx, dword [eax + 0x34]
mov edi, dword [eax + 0x44]
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x421967
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x42197d
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push edi
call fcn.00407130
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 3
push 0x6f6e04
cmp eax, 3
jb 0x4219b7
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 3], 0
lea edi, [ebp - 0x28]
jmp 0x4219d0
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push 3
call fcn.00407130
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xa
jb 0x421a07
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4219ee
mov eax, dword [edi]
push 0xa
lea esi, [eax + ecx]
push str.IUWPENSODF
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x421a26
push 0xa
push str.IUWPENSODF
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 0xa
call fcn.00407130
mov edi, eax
mov esi, dword [edi + 0x14]
mov ecx, esi
mov edx, dword [edi + 0x10]
sub ecx, edx
cmp ecx, 2
jb 0x421a5b
lea eax, [edx + 2]
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x421a42
mov edi, dword [edi]
push 2
lea esi, [edi + edx]
push 0x6f6e20
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x421a78
push 2
push 0x6f6e20
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 2
call fcn.00407130
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x78], 0x10
lea ecx, [eax + 0x64]
jb 0x421a8a
mov ecx, dword [eax + 0x64]
mov edi, dword [eax + 0x74]
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x421abf
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x421ad5
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push edi
call fcn.00407130
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 3
push 0x6f6e04
cmp eax, 3
jb 0x421b0f
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 3], 0
lea edi, [ebp - 0x28]
jmp 0x421b28
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push 3
call fcn.00407130
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xa
jb 0x421b5f
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x421b46
mov eax, dword [edi]
push 0xa
lea esi, [eax + ecx]
push str.FJOIWLKSDF
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x421b7e
push 0xa
push str.FJOIWLKSDF
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 0xa
call fcn.00407130
mov edi, eax
mov esi, dword [edi + 0x14]
mov ecx, esi
mov edx, dword [edi + 0x10]
sub ecx, edx
cmp ecx, 2
jb 0x421bb3
lea eax, [edx + 2]
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x421b9a
mov edi, dword [edi]
push 2
lea esi, [edi + edx]
push 0x6f6e20
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x421bd0
push 2
push 0x6f6e20
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 2
call fcn.00407130
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x2c], 0x10
lea ecx, [eax + 0x18]
jb 0x421be2
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 0x28]
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x421c17
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call fcn.005015c0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x421c2d
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push edi
call fcn.00407130
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 3
push 0x6f6e04
cmp eax, 3
jb 0x421c67
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 3], 0
lea edi, [ebp - 0x28]
jmp 0x421c80
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x84]
push 3
call fcn.00407130
mov edi, eax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xa
jb 0x421cb7
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x421c9e
mov eax, dword [edi]
push 0xa
lea esi, [eax + ecx]
push str.NEWFLASKJS
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x421cd6
push 0xa
push str.NEWFLASKJS
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 0xa
call fcn.00407130
mov edi, eax
mov esi, dword [edi + 0x14]
mov ecx, esi
mov edx, dword [edi + 0x10]
sub ecx, edx
cmp ecx, 2
jb 0x421d0b
lea eax, [edx + 2]
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x421cf2
mov edi, dword [edi]
push 2
lea esi, [edi + edx]
push 0x6f6e20
push esi
call fcn.005015c0
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x421d28
push 2
push 0x6f6e20
mov byte [ebp - 0x84], 0
mov ecx, edi
push dword [ebp - 0x84]
push 2
call fcn.00407130
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00406050
lea eax, [ebp - 0x58]
push eax
call fcn.004ca438
add esp, 0x20
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x90], 8
lea ecx, [eax + 0x7c]
jb 0x421d60
mov ecx, dword [eax + 0x7c]
push dword [eax + 0x8c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00408440
push 1
push 0x6f6e24
lea ecx, [ebp - 0x58]
call fcn.00408440
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
je 0x421df8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push 0
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004d0f6b
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], vtable.std::_Func_impl_no_alloc_class__lambda_599d1e8e251ea3abecf415d501649e21___void___.0
mov dword [ebp - 0x5c], eax
push 0
push 0
push eax
mov byte [ebp - 4], 3
call fcn.004d37ca
add esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x421ebe
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x421ebe
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x118]
mov ecx, dword [ebx + 0x20]
push 2
mov eax, dword [ecx]
call dword [eax + 0x21c]
mov ecx, dword [ebx + 0x24]
push 2
mov eax, dword [ecx]
call dword [eax + 0x21c]
mov ecx, dword [ebx + 0x1c]
push 0
push 0x71969c
push 0x718128
push 0
push str.target_soft_name
call fcn.0042f300
push eax
call fcn.00503b06
mov esi, eax
add esp, 0x14
test esi, esi
je 0x421ebe
mov ecx, dword [ebx + 0x18]
push 0x3a8
sub esp, 0x18
mov edx, esp
mov ecx, dword [ecx + 0x34]
add ecx, 0x34
push ecx
mov ecx, edx
call fcn.00406050
lea eax, [ebp - 0x70]
push eax
call fcn.004ca438
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 8
jb 0x421e7c
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x421ebe
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421eb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421fa0
push edx
push ecx
call fcn.00429d60
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x421ef8
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421eee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421fa5
push edx
push ecx
call fcn.00429d60
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 0x10
jb 0x421f3c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421f32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421faa
push edx
push ecx
call fcn.00429d60
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 8
jb 0x421f84
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421faf
push edx
push ecx
call fcn.00429d60
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004296e5
mov esp, ebp
pop ebp
ret
call fcn.005059c0
call fcn.005059c0
call fcn.005059c0
call fcn.005059c0
int3