Function at 0x1001d080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100865bc
mov eax, dword fs:[0]
push eax
mov eax, 0x1264
call fcn.10053770
mov eax, dword [0x100bc1b4]
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 edi, ecx
cmp dword [edi + 0xc], 0
jne 0x1001d92c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100bdfa8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100592a0
mov eax, dword [0x100bd884]
add esp, 0xc
test al, 1
jne 0x1001d143
or eax, 1
mov dword [0x100bd884], eax
mov dword [ebp - 4], 0
mov dword [0x100bd880], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x1001a440
push 0x100bd880
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d9d7
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 4
push 0x100bd888
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
jne 0x1001d281
mov eax, dword [0x100bd8a4]
test al, 1
jne 0x1001d207
or eax, 1
mov dword [0x100bd8a4], eax
mov dword [ebp - 4], 3
mov dword [0x100bd8a0], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 4
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x10019230
push 0x100bd8a0
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d2d3
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
add esp, 4
lea eax, [ebp - 0x218]
push 0x100bd8a8
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x1001d2ef
lea ecx, [ebp - 0x1259]
call fcn.1001b9c0
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001ce60
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001b8d0
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x5033
jmp 0x1001d921
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
je 0x1001da32
jmp 0x1001da0e
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100592a0
mov eax, dword [0x100bd968]
add esp, 0xc
test al, 1
jne 0x1001d32e
or eax, 1
mov dword [0x100bd968], eax
mov dword [ebp - 4], 6
mov dword [0x100bd964], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 7
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x100190e0
push 0x100bd964
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d9be
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
add esp, 4
lea eax, [ebp - 0x218]
push 0x100bd96c
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
je 0x1001d3fe
lea ecx, [ebp - 0x1259]
call fcn.1001c7d0
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c8c0
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001caa0
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x5033
jmp 0x1001d921
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.YingyanPhoto.exe
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
je 0x1001d47b
lea ecx, [ebp - 0x1259]
call fcn.1001c500
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001bf60
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001bc90
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x6f73
jmp 0x1001d921
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.HaokanViewer.exe
push eax
lea eax, [ebp - 0xa38]
push eax
call ebx
lea eax, [ebp - 0xa38]
push eax
call esi
test eax, eax
je 0x1001d4f8
lea ecx, [ebp - 0x1259]
call fcn.1001c050
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c5f0
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001be70
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x735b
jmp 0x1001d921
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.100592a0
mov eax, dword [0x100bdb60]
add esp, 0xc
test al, 1
jne 0x1001d537
or eax, 1
mov dword [0x100bdb60], eax
mov dword [ebp - 4], 9
mov dword [0x100bdb5c], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x10019030
push 0x100bdb5c
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d9a5
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
add esp, 4
lea eax, [ebp - 0x218]
push 0x100bdb64
push eax
lea eax, [ebp - 0xc40]
push eax
call ebx
lea eax, [ebp - 0xc40]
push eax
call esi
test eax, eax
je 0x1001d607
lea ecx, [ebp - 0x1259]
call fcn.1001cd70
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c320
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c230
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x7743
jmp 0x1001d921
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.100592a0
mov eax, dword [0x100bdc4c]
add esp, 0xc
test al, 1
jne 0x1001d646
or eax, 1
mov dword [0x100bdc4c], eax
mov dword [ebp - 4], 0xc
mov dword [0x100bdc48], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x1001a5a0
push 0x100bdc48
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d989
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
add esp, 4
lea eax, [ebp - 0x218]
push 0x100bdc50
push eax
lea eax, [ebp - 0xe48]
push eax
call ebx
lea eax, [ebp - 0xe48]
push eax
call esi
test eax, eax
je 0x1001d716
lea ecx, [ebp - 0x1259]
call fcn.1001bab0
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c9b0
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001cb90
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x7743
jmp 0x1001d921
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.100592a0
mov eax, dword [0x100bdd2c]
add esp, 0xc
test al, 1
jne 0x1001d755
or eax, 1
mov dword [0x100bdd2c], eax
mov dword [ebp - 4], 0xf
mov dword [0x100bdd28], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x10019390
push 0x100bdd28
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d96d
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
add esp, 4
lea eax, [ebp - 0x218]
push 0x100bdd30
push eax
lea eax, [ebp - 0x1050]
push eax
call ebx
lea eax, [ebp - 0x1050]
push eax
call esi
test eax, eax
je 0x1001d817
lea ecx, [ebp - 0x1259]
call fcn.1001bba0
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c410
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001bd80
jmp 0x1001d913
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.100592a0
mov eax, dword [0x100bddf8]
add esp, 0xc
test al, 1
jne 0x1001d856
or eax, 1
mov dword [0x100bddf8], eax
mov dword [ebp - 4], 0x12
mov dword [0x100bddf4], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
mov byte [ebp - 0x1259], 0
push eax
call fcn.10039eb9
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x1264]
mov dword [ebp - 0x126c], eax
lea eax, [ebp - 0x1259]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x126c]
push eax
push 0x1001a020
push 0x100bddf4
call fcn.1003ab81
add esp, 0x10
test eax, eax
je 0x1001d951
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1264]
push eax
call fcn.10039ef3
add esp, 4
lea eax, [ebp - 0x218]
push 0x100bddfc
push eax
lea eax, [ebp - 0x1258]
push eax
call ebx
lea eax, [ebp - 0x1258]
push eax
call esi
test eax, eax
je 0x1001d94d
lea ecx, [ebp - 0x1259]
call fcn.1001c140
push eax
mov ecx, edi
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001c6e0
push eax
lea ecx, [edi + 4]
call fcn.1001b880
lea ecx, [ebp - 0x1259]
call fcn.1001cc80
push eax
lea ecx, [edi + 8]
call fcn.1001b880
mov eax, 0x7b2b
mov word [edi + 0x10], ax
mov dword [edi + 0xc], 1
mov eax, 1
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.100536aa
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x1001d931
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
jne 0x1001da37
jmp 0x1001da32
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
jne 0x1001da5b
jmp 0x1001da32
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
jne 0x1001da7f
jmp 0x1001da32
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
jne 0x1001daa3
jmp 0x1001da32
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
jne 0x1001dac7
jmp 0x1001da32
lea eax, [ebp - 0x1264]
push eax
call fcn.10039f14
add esp, 4
test al, al
je 0x1001da32
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
call fcn.10015930
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.10015930
call fcn.1003ab99
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x13
call fcn.10015930
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x10
call fcn.10015930
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
call fcn.10015930
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
call fcn.10015930
sub esp, 8
lea eax, [ebp - 0x1264]
mov ecx, esp
mov dword [ebp - 0x1270], esp
push eax
call fcn.10008970
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
call fcn.10015930
int3