Function at 0x452c00
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x4b0238
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x70]
mov edi, ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp + 4], edi
mov dword [ebp], eax
call fcn.0047a2c0
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.00451770
mov eax, 0xf
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x30], bl
push 0xffffffffffffffff
push ebx
push 0x4d2280
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x4c], bl
call fcn.0040bc90
cmp dword [ebp + 0x5c], ebx
mov byte [ebp - 4], 3
je 0x452d2a
push 1
push ebx
lea ecx, [ebp + 0x28]
push ecx
lea ecx, [ebp + 0x48]
mov byte [ebp + 0x28], 0x2c
call fcn.004075d0
mov esi, eax
cmp esi, 0xffffffff
je 0x452d2a
push esi
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp + 0x48]
call fcn.004147f0
cmp dword [eax + 0x18], 0x10
jb 0x452cbf
mov eax, dword [eax + 4]
jmp 0x452cc2
add eax, 4
push eax
call fcn.00481ce0
add esp, 4
cmp dword [ebp + 0x20], 0x10
mov dword [edi + 0x60c], eax
jb 0x452ce3
mov eax, dword [ebp + 0xc]
push eax
call fcn.004803bd
add esp, 4
push 0xffffffffffffffff
add esi, 1
push esi
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x48]
call fcn.004147f0
cmp dword [eax + 0x18], 0x10
jb 0x452d00
mov eax, dword [eax + 4]
jmp 0x452d03
add eax, 4
push eax
call fcn.00481ce0
mov dword [edi + 0x610], eax
mov edi, 0x10
add esp, 4
cmp dword [ebp + 0x20], edi
jb 0x452d2f
mov edx, dword [ebp + 0xc]
push edx
call fcn.004803bd
add esp, 4
jmp 0x452d2f
mov edi, 0x10
push 0xffffffffffffffff
push ebx
push 0x4d2248
lea ecx, [ebp + 0x2c]
call fcn.0040bc90
lea eax, [ebp + 8]
push eax
call fcn.004717a0
push 0x4b7fa0
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 4
call fcn.00415930
lea edx, [ebp + 0x2c]
push edx
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 5
call fcn.00415ab0
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x452d7a
mov eax, dword [eax + 4]
jmp 0x452d7d
add eax, 4
cmp eax, ebx
mov dword [ebp + 0x24], eax
jne 0x452d89
mov dword [ebp + 0x24], ebx
jmp 0x452dd4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x452dca
lea eax, [esi + esi]
call fcn.00480be0
mov edi, esp
cmp edi, ebx
je 0x452dca
mov ecx, dword [ebp + 0x24]
push esi
push edi
push 0xffffffffffffffff
push ecx
push ebx
push 0x3a8
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x452dcc
xor eax, eax
mov dword [ebp + 0x24], eax
mov edi, 0x10
cmp dword [ebp - 0x2c], edi
jb 0x452de5
mov edx, dword [ebp - 0x40]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x10], edi
mov esi, 0xf
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
jb 0x452e04
mov eax, dword [ebp - 0x24]
push eax
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x20], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 4], 3
jb 0x452e22
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x40], ebx
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
je 0x452fb6
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452fb6
lea eax, [ebp - 0x44]
push eax
call fcn.004717a0
push 0x4b7fa0
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 6
call fcn.00415930
lea edx, [ebp + 0x2c]
push edx
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 7
call fcn.00415ab0
add esp, 0x1c
cmp dword [eax + 0x18], 0x10
jb 0x452e82
mov edi, dword [eax + 4]
jmp 0x452e85
lea edi, [eax + 4]
cmp edi, ebx
jne 0x452e8d
xor esi, esi
jmp 0x452ebe
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x452ea5
xor esi, esi
jmp 0x452ebe
lea eax, [esi + esi]
call fcn.00480be0
mov eax, esp
push 0x3a8
push esi
push edi
push eax
call fcn.004010f0
mov esi, eax
cmp dword [ebp + 0x20], 0x10
jb 0x452ed0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x10], 0x10
mov edi, 0xf
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x452ef0
mov edx, dword [ebp - 0x24]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 4], 3
jb 0x452f0f
mov eax, dword [ebp - 0x40]
push eax
call fcn.004803bd
add esp, 4
push 0x10
push ebx
push ebx
push ebx
push esi
push ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [ebp]
mov esi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x452f3b
cmp eax, esi
je 0x452f3b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
mov dword [edi], esi
je 0x452fb6
mov ecx, dword [ebp + 4]
push 0xffffffffffffffff
push ebx
push 0x4d2264
add ecx, 0x61c
call fcn.0040bc90
mov esi, 0x10
cmp dword [ebp + 0x60], esi
jb 0x452f6d
mov ecx, dword [ebp + 0x4c]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x44], esi
mov edi, 0xf
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x4c], bl
jb 0x452f8c
mov edx, dword [ebp + 0x30]
push edx
call fcn.004803bd
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x30], bl
mov byte [ebp - 4], bl
call fcn.004517f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0047a2d0
mov al, 1
jmp 0x45351d
lea eax, [ebp - 0x28]
push eax
call fcn.004717a0
push 0x4b6cf4
push eax
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 8
call fcn.00415930
add esp, 0x10
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0047b010
mov edi, 0x10
cmp dword [ebp + 0x20], edi
jb 0x452ff8
mov edx, dword [ebp + 0xc]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x10], edi
mov esi, 0xf
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
mov byte [ebp - 4], 3
jb 0x45301b
mov eax, dword [ebp - 0x24]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x24], esp
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00479ab0
lea ecx, [ebp - 0x78]
call fcn.00474ef0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x24], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b674f
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 4
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.path
mov byte [ebp - 4], 0xa
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x48], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.XunYouLog
mov byte [ebp - 4], 0xb
mov byte [ecx + 4], bl
call fcn.0040bd70
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00475130
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xc
call fcn.0040bc90
cmp dword [ebp + 0x20], edi
mov byte [ebp - 4], 3
jb 0x4530c7
mov eax, dword [ebp + 0xc]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x48], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b674f
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0xa
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.positionXY
mov byte [ebp - 4], 0xd
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x24], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.XunYouLog
mov byte [ebp - 4], 0xe
mov byte [ecx + 4], bl
call fcn.0040bd70
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00475130
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xf
call fcn.0040bc90
cmp dword [ebp + 0x20], edi
mov byte [ebp - 4], 3
jb 0x45315a
mov edx, dword [ebp + 0xc]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x5c], ebx
je 0x453201
push 1
push ebx
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp + 0x48]
mov byte [ebp + 0x28], 0x2c
call fcn.004075d0
mov esi, eax
cmp esi, 0xffffffff
je 0x453201
push esi
push ebx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x48]
call fcn.004147f0
cmp dword [eax + 0x18], edi
jb 0x453199
mov eax, dword [eax + 4]
jmp 0x45319c
add eax, 4
push eax
call fcn.00481ce0
mov edx, dword [ebp + 4]
add esp, 4
cmp dword [ebp + 0x20], edi
mov dword [edx + 0x60c], eax
jb 0x4531bf
mov eax, dword [ebp + 0xc]
push eax
call fcn.004803bd
add esp, 4
push 0xffffffffffffffff
add esi, 1
push esi
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x48]
call fcn.004147f0
cmp dword [eax + 0x18], edi
jb 0x4531db
mov eax, dword [eax + 4]
jmp 0x4531de
add eax, 4
push eax
call fcn.00481ce0
mov edx, dword [ebp + 4]
add esp, 4
cmp dword [ebp + 0x20], edi
mov dword [edx + 0x610], eax
jb 0x453201
mov eax, dword [ebp + 0xc]
push eax
call fcn.004803bd
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
call fcn.004717a0
push 0x4b7fa0
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0x10
call fcn.00415930
lea ecx, [ebp + 0x2c]
push ecx
push eax
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x11
call fcn.00415ab0
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x45323c
mov edi, dword [eax + 4]
jmp 0x45323f
lea edi, [eax + 4]
cmp edi, ebx
jne 0x453247
xor esi, esi
jmp 0x453278
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x45325f
xor esi, esi
jmp 0x453278
lea eax, [esi + esi]
call fcn.00480be0
mov eax, esp
push 0x3a8
push esi
push edi
push eax
call fcn.004010f0
mov esi, eax
cmp dword [ebp + 0x20], 0x10
jb 0x45328a
mov eax, dword [ebp + 0xc]
push eax
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x10], 0x10
mov edi, 0xf
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x4532aa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 4], 3
jb 0x4532c9
mov edx, dword [ebp - 0x40]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x40], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
je 0x4534c3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4534c3
lea eax, [ebp - 0x44]
push eax
call fcn.004717a0
push 0x4b7fa0
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0x12
call fcn.00415930
lea edx, [ebp + 0x2c]
push edx
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x13
call fcn.00415ab0
add esp, 0x1c
cmp dword [eax + 0x18], 0x10
jb 0x453326
mov edi, dword [eax + 4]
jmp 0x453329
lea edi, [eax + 4]
cmp edi, ebx
jne 0x453331
xor esi, esi
jmp 0x453362
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x453349
xor esi, esi
jmp 0x453362
lea eax, [esi + esi]
call fcn.00480be0
mov eax, esp
push 0x3a8
push esi
push edi
push eax
call fcn.004010f0
mov esi, eax
cmp dword [ebp + 0x20], 0x10
jb 0x453374
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x10], 0x10
mov edi, 0xf
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x453394
mov edx, dword [ebp - 0x24]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 4], 3
jb 0x4533b3
mov eax, dword [ebp - 0x40]
push eax
call fcn.004803bd
add esp, 4
push 0x10
push ebx
push ebx
push ebx
push esi
push ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [ebp]
mov esi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x4533df
cmp eax, esi
je 0x4533df
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
mov dword [edi], esi
je 0x4534c3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x4b674f
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x4b7f7c
mov byte [ebp - 4], 0x14
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push str.XunYouLog
mov byte [ebp - 4], 0x15
call fcn.004146e0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00475130
mov ecx, dword [ebp + 4]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x61c
mov byte [ebp - 4], 0x16
call fcn.0040bc90
mov esi, 0x10
cmp dword [ebp + 0x20], esi
jb 0x453463
mov edx, dword [ebp + 0xc]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x60], esi
mov edi, 0xf
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x453482
mov eax, dword [ebp + 0x4c]
push eax
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x44], esi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x4c], bl
jb 0x45349c
mov ecx, dword [ebp + 0x30]
push ecx
call fcn.004803bd
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x30], bl
mov byte [ebp - 4], bl
call fcn.004517f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0047a2d0
mov al, 1
jmp 0x45351d
mov edi, 0x10
cmp dword [ebp + 0x60], edi
jb 0x4534d9
mov edx, dword [ebp + 0x4c]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x44], edi
mov esi, 0xf
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x4c], bl
jb 0x4534f8
mov eax, dword [ebp + 0x30]
push eax
call fcn.004803bd
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x30], bl
mov byte [ebp - 4], bl
call fcn.004517f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0047a2d0
xor al, al
lea esp, [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x68
mov esp, ebp
pop ebp
ret 4