Function at 0x41f540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da4ad
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x66f33c]
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
mov dword [ebp - 0xe0], ebx
call fcn.0045469c
test al, al
je 0x41f59a
pop esp
push esp
pop esi
pop esi
pop edx
push ebx
push esi
pop esi
push esp
pop eax
pop edx
pop esi
push ebx
pop ecx
pop ecx
pop edx
push eax
pop ebp
push edx
pop eax
pop edx
pop eax
push ecx
pop edx
pop ecx
pop edi
pop ecx
push 0xc
xor eax, eax
mov dword [ebp - 0x74], 7
push str.WinShost.exe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00403000
cmp dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
jne 0x41f5d7
xor esi, esi
jmp 0x41ffb4
mov ecx, ebx
call fcn.00420790
call fcn.004544b9
test al, al
je 0x41f604
pop esi
push ebx
pop edi
push esi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ecx
pop ecx
pop edx
pop edx
pop esp
push ebx
push ebx
push esp
pop eax
pop ebp
push esi
pop eax
pop edx
pop edi
push eax
pop ebx
push ebp
push eax
pop esi
push eax
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x5e266c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403000
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5e266c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403000
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x5e266c
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00403000
push 6
xor eax, eax
mov byte [ebp - 4], 3
push str.Peryue
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00403000
mov byte [ebp - 4], 4
call fcn.004544b9
test al, al
je 0x41f6c3
pop esi
push ebx
pop edi
push esi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ecx
pop ecx
pop edx
pop edx
pop esp
push ebx
push ebx
push esp
pop eax
pop ebp
push esi
pop eax
pop edx
pop edi
push eax
pop ebx
push ebp
push eax
pop esi
push eax
mov eax, dword [0x6743e0]
test eax, eax
jne 0x41f6fb
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41f6f0
mov ecx, eax
call fcn.00443700
jmp 0x41f6f2
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d910
mov edx, eax
cmp word [edx], 0
jne 0x41f70e
xor ecx, ecx
jmp 0x41f722
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f713
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403000
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x41f7b4
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419070
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41f792
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41f775
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405110
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x41f7b4
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403100
call fcn.00454588
test al, al
je 0x41f7dc
pop esp
pop edx
push ecx
push esi
pop edx
pop ebx
pop edi
push esi
pop ebp
pop ecx
pop esp
push eax
pop ebp
pop edx
push ebp
pop ecx
push ebx
pop esi
pop eax
pop edx
push ebx
push esi
pop ecx
push ebp
push ebx
pop ebp
pop ecx
push edx
push edx
pop edi
push eax
call fcn.0045469c
test al, al
je 0x41f802
pop ebx
push ecx
push ebp
pop edi
push edx
pop ecx
push esp
pop ebx
pop ecx
pop edi
push ebx
push ebx
push esp
pop edi
pop edx
push ebx
push ebx
pop edi
pop eax
pop ebp
pop esi
pop edi
pop ebx
push esp
pop ebp
pop eax
pop esi
pop edi
pop ecx
mov dword [ebp - 0xe4], 0x5c
mov dword [ebp - 0xdc], 2
call fcn.00454588
test al, al
je 0x41f831
pop edx
pop edi
push edx
pop ebx
pop ebp
pop edx
push esp
pop edx
push esp
push ebp
pop ebp
pop edi
push eax
push esp
push esp
push ebx
pop edi
pop edi
call fcn.004547b0
test al, al
je 0x41f855
push edi
push edi
push eax
push edi
pop ecx
push ebp
push esp
pop ebp
push ebp
push ebp
pop edi
pop ebp
push ebp
pop esp
pop ecx
push esp
push eax
pop esp
push esi
pop esp
push ebp
push esi
push eax
push edi
pop edx
push edx
push esp
call fcn.00454612
test al, al
je 0x41f870
pop edi
push edi
push ebx
push edx
pop esi
pop edi
push ebx
pop ebx
push esp
push eax
pop eax
push ebx
pop esi
push ebx
push ebx
push esp
pop ecx
pop ebx
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e530
cmp eax, 0xffffffff
je 0x41f8f7
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419070
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41f8d5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41f8b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405110
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x41f8f7
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403100
sub dword [ebp - 0xdc], 1
jne 0x41f816
push 1
push 0x5e283c
lea ecx, [ebp - 0x28]
call fcn.00405290
push 0xffffffffffffffff
push 0
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x28]
call fcn.00405180
push 1
push 0x5e283c
lea ecx, [ebp - 0x28]
call fcn.00405290
call fcn.004543ea
test al, al
je 0x41f95c
push ebx
push ecx
pop edx
pop ecx
pop edx
push eax
pop ecx
push edi
push ebx
push edx
push edx
push edi
pop esi
pop ebx
push esp
push esi
push eax
pop edi
pop eax
push esp
push edx
pop edi
pop esi
push ebp
pop eax
pop edx
pop esi
push ebx
push ebp
pop ebp
push esi
call fcn.00454726
test al, al
je 0x41f983
pop esi
pop ebp
pop ebx
pop ecx
push ecx
push ebp
pop eax
push esi
pop ecx
pop eax
pop edx
push ebp
pop eax
push esp
pop esi
pop esi
push edi
pop ecx
pop ebx
push eax
push esi
pop edi
pop ecx
push ecx
pop eax
push esi
push ebp
pop eax
push edi
pop ecx
call fcn.00454909
test al, al
je 0x41f9ab
push esp
pop eax
push ecx
pop edi
push ecx
pop ecx
pop eax
push esp
pop ecx
pop edi
pop edi
push ebx
pop ecx
pop edx
pop ecx
push eax
pop esp
pop eax
push edx
pop ecx
pop eax
pop ebx
pop eax
pop ecx
pop edx
push ebp
push ecx
pop eax
push edi
push esp
pop edx
mov ebx, dword [ebp - 0xe0]
lea eax, [ebp - 0x28]
lea esi, [ebx + 0xa8]
cmp esi, eax
je 0x41f9ca
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402ee0
push 0xc
push str.Qemonyer.ini
mov ecx, esi
call fcn.00405290
lea esi, [ebx + 0xc0]
lea eax, [ebp - 0x28]
mov dword [ebp - 0xdc], esi
cmp esi, eax
je 0x41f9f7
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402ee0
push 0xc
push str.WinShost.exe
mov ecx, esi
call fcn.00405290
call fcn.00454543
test al, al
je 0x41fa29
pop esp
pop ecx
pop ecx
push edx
pop esp
pop edx
push ecx
pop edi
push esi
pop ecx
pop ecx
pop ecx
push esi
pop ebp
push edx
push ebx
pop edx
push ecx
pop edx
push ebx
pop esi
push edi
push ebp
pop edx
push ebp
push esi
pop ecx
lea esi, [ebx + 0xd8]
lea eax, [ebp - 0x28]
mov dword [ebp - 0xec], esi
cmp esi, eax
je 0x41fa48
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402ee0
push 0xd
push str.WinShostD.dll
mov ecx, esi
call fcn.00405290
call fcn.004544b9
test al, al
je 0x41fa79
push edx
pop edi
push esi
push ebp
pop esp
push edx
push ebp
push eax
pop edx
push ebp
pop edx
pop ebp
push ebp
pop esp
pop edi
pop edx
pop edx
push edi
pop esi
push ecx
mov esi, dword [ebp - 0xec]
call fcn.004547b0
test al, al
je 0x41fa93
pop edi
push ebx
pop edi
push ebp
push ebp
pop eax
pop ebp
push edx
pop ebp
pop edx
pop ecx
push esi
push ebp
pop ebx
push ebx
pop ecx
push ebx
call fcn.00406870
mov ecx, eax
call fcn.0045d928
mov edx, eax
cmp word [edx], 0
jne 0x41faab
xor ecx, ecx
jmp 0x41fabf
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fab0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403000
push 0xc
push str.WinShost.exe
lea ecx, [ebp - 0x40]
call fcn.00405290
call fcn.00406870
mov ecx, eax
call fcn.0045d928
mov edx, eax
cmp word [edx], 0
jne 0x41faf0
xor ecx, ecx
jmp 0x41fb04
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41faf5
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00403000
push 0xd
push str.WinShostD.dll
lea ecx, [ebp - 0x70]
call fcn.00405290
call fcn.00454a62
test al, al
je 0x41fb39
push edx
push ecx
pop ecx
pop ecx
push ecx
push esp
push esi
pop ebp
pop ebp
push ebp
pop ecx
pop eax
push ecx
push eax
push edi
push eax
pop ebx
pop ebx
push esp
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fb56
xor esi, esi
jmp 0x41ff10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0045fcde
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.00415f70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403740
lea ecx, [ebp - 0xf0]
call fcn.00416140
mov ebx, dword [ebp - 0xdc]
cmp dword [ebx + 0x14], 8
jb 0x41fbaa
mov ecx, dword [ebx]
jmp 0x41fbac
mov ecx, ebx
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004567f1
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x41fbcb
mov ecx, dword [esi]
jmp 0x41fbcd
mov ecx, esi
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004567f1
add esp, 8
call fcn.00454a62
test al, al
je 0x41fc04
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
mov ebx, dword [ebp - 0xdc]
cmp dword [esi + 0x14], 8
jb 0x41fc0c
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x41fc14
mov ebx, dword [ebx]
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x5c], 8
lea ecx, [eax + 0x48]
mov dword [ebp - 0xf4], ecx
jb 0x41fc2d
mov edi, dword [ecx]
jmp 0x41fc2f
mov edi, ecx
cmp dword [eax + 0x44], 8
lea ecx, [eax + 0x30]
mov dword [ebp - 0xe8], ecx
jb 0x41fc42
mov edx, dword [ecx]
jmp 0x41fc44
mov edx, ecx
add eax, 0x18
mov dword [ebp - 0xe4], eax
cmp dword [eax + 0x14], 8
jb 0x41fc57
mov ecx, dword [eax]
jmp 0x41fc59
mov ecx, eax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push esi
cmovae eax, dword [ebp - 0x58]
push ebx
push edi
push edx
push ecx
push eax
push 0x77
call fcn.0045bdc5
add esp, 0x1c
call fcn.00454993
test al, al
je 0x41fc94
push esi
push edi
push ecx
pop edi
push eax
pop ebx
pop esp
push esp
pop esp
pop edi
push ebx
pop edx
push esi
pop esp
push eax
push eax
pop ebx
pop ecx
push esp
pop ebp
pop esi
pop edx
push ecx
call fcn.004547b0
test al, al
je 0x41fcbc
push ebx
push edx
pop edx
push ebx
pop ebx
pop ecx
push eax
pop eax
pop esp
push edx
pop edx
pop ecx
push eax
pop esp
pop esp
push esp
push ebx
push esi
pop ebx
push edx
pop ebp
push ecx
push esp
push edx
pop edx
pop esp
pop edx
push ebx
push edx
pop esp
push ecx
call fcn.0045483a
test al, al
je 0x41fcd5
push eax
push esp
pop edi
push esi
push edi
pop ebp
push ebx
push edx
pop ecx
push edi
push esp
pop esi
pop edx
pop ebx
pop esi
pop ebp
call fcn.0045494e
test al, al
je 0x41fcf1
push esp
push edi
push ebx
pop ebp
pop esi
pop eax
pop ebx
push esi
pop ebx
push esi
push edx
push edi
push ebp
pop ebx
pop edx
pop ebx
pop esp
pop esp
push edi
mov ecx, dword [ebp - 0xe0]
call fcn.00420320
call fcn.00454360
test al, al
je 0x41fd25
push ebx
push ebx
pop ebp
push esi
pop edx
pop esp
push edi
push ebx
pop edx
push edi
push edi
push ebp
pop eax
pop edi
push esp
pop edi
push ebx
push ebx
push ebx
push ebp
pop ecx
pop ebx
pop esi
push esi
push esi
push esp
pop esp
push esi
pop edi
push ecx
push esp
pop ebx
call fcn.0045442f
test al, al
je 0x41fd41
pop eax
pop eax
push ebx
pop edx
pop ecx
push edi
pop esp
pop ebp
push eax
pop edi
pop edi
pop eax
push esi
push esp
push eax
push eax
push esp
pop eax
pop ebp
call fcn.004544fe
test al, al
je 0x41fd5e
pop edi
pop ebx
push ebp
push eax
pop edx
pop ecx
push ecx
push esi
pop edi
push esp
push ebp
push esp
pop edi
push edi
pop esp
push esi
pop esp
push edx
push edx
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00413650
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 4], 9
cmp dword [ecx + 0x14], 8
jb 0x41fd7b
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xe8]
cmp dword [edx + 0x14], 8
jb 0x41fd89
mov edx, dword [edx]
mov ebx, dword [ebp - 0xe4]
cmp dword [ebx + 0x14], 8
jb 0x41fd99
mov esi, dword [ebx]
jmp 0x41fd9b
mov esi, ebx
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
mov eax, dword [ebp - 0xec]
cmovae edi, dword [ebp - 0x58]
cmp dword [eax + 0x14], 8
jb 0x41fdb4
mov eax, dword [eax]
push ecx
push edx
push esi
push edi
push eax
lea ecx, [ebp - 0xd8]
call fcn.00413910
call fcn.00454a62
test al, al
je 0x41fde6
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
mov ebx, dword [ebp - 0xe4]
lea ecx, [ebp - 0xb8]
call fcn.00412260
mov edi, dword [ebp - 0xe0]
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
mov byte [ebp - 4], 0xa
jb 0x41fe0c
mov eax, dword [eax]
cmp dword [edi + 0x74], 8
lea ecx, [edi + 0x60]
jb 0x41fe17
mov ecx, dword [ecx]
cmp dword [edi + 0x8c], 8
lea edx, [edi + 0x78]
jb 0x41fe25
mov edx, dword [edx]
cmp dword [edi + 0xbc], 8
lea esi, [edi + 0xa8]
jb 0x41fe36
mov esi, dword [esi]
push eax
push ecx
push edx
push esi
lea ecx, [ebp - 0xb8]
call fcn.004122c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
push str.8f3b1c
call fcn.00420600
mov esi, dword [ebp - 0xdc]
cmp dword [esi + 0x14], 8
jb 0x41fe6b
mov esi, dword [esi]
push esi
push str.5a12f4
mov ecx, edi
call fcn.00420600
cmp dword [ebx + 0x14], 8
jb 0x41fe80
mov ebx, dword [ebx]
push ebx
push str.88b6e8
mov ecx, edi
call fcn.00420600
call fcn.00454543
test al, al
je 0x41fead
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
call fcn.004544b9
test al, al
je 0x41fec7
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x41feea
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
lea ecx, [ebp - 0xb8]
mov esi, 1
call fcn.00412280
lea ecx, [ebp - 0xd8]
call fcn.00413760
lea ecx, [ebp - 0xf0]
call fcn.00416070
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41ff25
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x41ff4e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x41ff77
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x41ffa0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x41ffcf
inc ecx
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
call fcn.00403100
mov eax, esi
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.0045132d
mov esp, ebp
pop ebp
ret