Function at 0x45b550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592589
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x45b591
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b598
xor al, al
jmp 0x45bcb4
mov ecx, dword [0x5b2058]
mov dword [ebp - 0x21c], ecx
push 0x204
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.004011a0
add esp, 4
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0041d9b0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041d9b0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
call fcn.004563c0
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x45bc89
mov ecx, dword [ebp - 0x220]
cmp dword [ecx + 0x414], 1
ja 0x45b6d5
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x280]
push eax
call fcn.00552dca
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2b8]
mov dx, word [ecx]
mov word [ebp - 0x2c2], dx
mov eax, dword [ebp - 0x2bc]
mov cx, word [ebp - 0x2c2]
mov word [eax], cx
mov edx, dword [ebp - 0x2b8]
add edx, 2
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x2bc]
add eax, 2
mov dword [ebp - 0x2bc], eax
cmp word [ebp - 0x2c2], 0
jne 0x45b65d
mov byte [ebp - 0x281], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x281]
jmp 0x45bcb4
mov dword [ebp - 0x260], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x414]
mov dword [ecx], eax
mov dword [ebp - 0x26c], 0
jmp 0x45b70b
mov ecx, dword [ebp - 0x26c]
add ecx, 1
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x26c]
cmp eax, dword [edx]
jge 0x45b777
mov ecx, dword [ebp - 0x26c]
shl ecx, 5
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + ecx + 0x41c]
cmp eax, dword [ebp - 0x260]
jbe 0x45b775
mov ecx, dword [ebp - 0x26c]
shl ecx, 5
mov edx, dword [ebp - 0x220]
lea esi, [edx + ecx + 0x418]
mov ecx, 8
lea edi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x26c]
shl eax, 5
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + eax + 0x41c]
mov dword [ebp - 0x260], edx
jmp 0x45b6fc
push str.dataicon_
lea ecx, [ebp - 0x224]
call fcn.0041db30
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.0041dcb0
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x45b7ea
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041de70
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041dad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.0041dab0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041dcb0
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.0041e2f0
sub eax, dword [ebp - 0x268]
sub eax, 1
push eax
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041dde0
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041db10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.0041dab0
push 0x5b2074
lea ecx, [ebp - 0x224]
call fcn.0041db30
lea ecx, [ebp - 0x234]
push ecx
push 0x5b2080
call fcn.0045f770
add esp, 8
mov edx, dword [ebp - 0x248]
mov al, byte [edx]
mov byte [ebp - 0x261], al
mov ecx, dword [ebp - 0x248]
mov dx, word [ecx + 1]
mov word [ebp - 0x25c], dx
mov dword [ebp - 0x258], 0
mov al, byte [ebp - 0x261]
mov byte [ebp - 0x2d8], al
cmp byte [ebp - 0x2d8], 0x28
je 0x45b8c2
cmp byte [ebp - 0x2d8], 0x89
je 0x45b921
jmp 0x45bb96
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
push edx
call fcn.00552dca
add esp, 4
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x291], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x291]
jmp 0x45bcb4
movsx eax, word [ebp - 0x25c]
cmp eax, 0x4e50
jne 0x45bb94
mov ecx, dword [ebp - 0x244]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x45b981
mov byte [ebp - 0x292], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x292]
jmp 0x45bcb4
mov dword [ebp - 0x270], 0
lea edx, [ebp - 0x270]
push edx
push 0
mov eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x270], 0
jne 0x45b9e7
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 0x293], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x293]
jmp 0x45bcb4
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x27c]
push edx
call fcn.005544b0
add esp, 0xc
push 0
mov eax, dword [ebp - 0x270]
push eax
call fcn.00456110
add esp, 8
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
je 0x45ba71
mov ecx, dword [ebp - 0x258]
call fcn.004275f0
test eax, eax
jne 0x45ba71
push 0
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0045c4f0
push eax
mov ecx, dword [ebp - 0x258]
call fcn.004165f0
mov dword [ebp - 0x274], eax
jmp 0x45bb16
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x270]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x29c], edx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x45badc
push 1
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x298]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2dc], eax
jmp 0x45bae6
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 0x29d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x29d]
jmp 0x45bcb4
cmp dword [ebp - 0x258], 0
je 0x45bb66
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a4], edx
cmp dword [ebp - 0x2a4], 0
je 0x45bb5c
push 1
mov eax, dword [ebp - 0x2a4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2a4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2e0], eax
jmp 0x45bb66
mov dword [ebp - 0x2e0], 0
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x45bbc6
mov byte [ebp - 0x2a9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x2a9]
jmp 0x45bcb4
lea ecx, [ebp - 0x224]
call fcn.0041e290
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2e4]
mov cx, word [eax]
mov word [ebp - 0x2ee], cx
mov edx, dword [ebp - 0x2e8]
mov ax, word [ebp - 0x2ee]
mov word [edx], ax
mov ecx, dword [ebp - 0x2e4]
add ecx, 2
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2e8]
add edx, 2
mov dword [ebp - 0x2e8], edx
cmp word [ebp - 0x2ee], 0
jne 0x45bbec
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00552dca
add esp, 4
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.0041e330
mov byte [ebp - 0x2b1], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x2b1]
jmp 0x45bcb4
mov byte [ebp - 0x2b2], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov al, byte [ebp - 0x2b2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret