Function at 0x4adc50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588156
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4adc8b
xor eax, eax
jmp 0x4ae1fe
push 0
push 0
push 0x811
mov ecx, dword [0x5e24a8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x48]
mov byte [edx + 0x159a], 1
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x1d54], ecx
mov edx, dword [ebp - 0x48]
mov byte [edx + 0x159c], 1
mov ecx, dword [ebp - 0x2c]
call fcn.00428cc0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea ecx, [ebp - 0x24]
call fcn.004a6d40
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x107
call fcn.004b0190
lea ecx, [ebp - 0x24]
call fcn.004b0560
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004b0610
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
call fcn.004b0240
push eax
lea ecx, [ebp - 0x10]
call fcn.004a6d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004b0220
push 0
lea ecx, [ebp - 0x28]
call fcn.004a6d40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004a6da0
push 0x59843c
push 0x440
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x598458
push 0x43f
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x598470
push 0x3ee
push 0xc00
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x598474
push 0x441
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x598484
push 0x442
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x598494
push 0x444
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x5984ac
push 0x446
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x5984c8
push 0x43e
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
push 0x5984e4
push 0x447
push 0x400
push 0
lea ecx, [ebp - 0x28]
call fcn.004b0650
mov ecx, dword [ebp - 0x2c]
call fcn.00428d00
push eax
lea ecx, [ebp - 0x34]
call fcn.0041d9b0
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea eax, [ebp - 0x34]
push eax
call fcn.0041d990
mov dword [ebp - 0x54], eax
call fcn.00417e80
add esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jne 0x4ade86
push 0
push 0x43e
lea ecx, [ebp - 0x28]
call fcn.004b0680
push 0
push 0x446
lea ecx, [ebp - 0x28]
call fcn.004b0680
jmp 0x4adeb7
lea ecx, [ebp - 0x34]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4adeb7
push 0
push 0x43e
lea ecx, [ebp - 0x28]
call fcn.004b0680
push 0
push 0x446
lea ecx, [ebp - 0x28]
call fcn.004b0680
cmp dword [ebp - 0x1c], 0
je 0x4adee3
cmp dword [ebp - 0x1c], 0x11
je 0x4adee1
push 0
push 0x441
lea ecx, [ebp - 0x28]
call fcn.004b0680
push 0
push 0x442
lea ecx, [ebp - 0x28]
call fcn.004b0680
jmp 0x4adf01
push 0
push 0x441
lea ecx, [ebp - 0x28]
call fcn.004b0680
push 0
push 0x442
lea ecx, [ebp - 0x28]
call fcn.004b0680
push 0x5984f4
mov ecx, dword [ebp - 0x28]
push ecx
push 0x410
push 0
lea ecx, [ebp - 0x10]
call fcn.004b0650
lea ecx, [ebp - 0x28]
call fcn.004b0530
push 0x598504
push 0x445
push 0x400
push 0
lea ecx, [ebp - 0x10]
call fcn.004b0650
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 4
jne 0x4adff0
push 0x598514
push 0x443
push 0x400
push 0
lea ecx, [ebp - 0x10]
call fcn.004b0650
call fcn.0042eb50
movzx eax, al
test eax, eax
jne 0x4adf97
mov ecx, dword [ebp - 0x48]
call fcn.004a4160
movzx ecx, al
test ecx, ecx
je 0x4adf97
push 0x13d
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x4adfa7
push 0x13c
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0x443
lea ecx, [ebp - 0x10]
call fcn.004a6e60
cmp dword [ebp - 0x1c], 0xa
je 0x4adfd5
push 0
push 0x443
lea ecx, [ebp - 0x10]
call fcn.004b0680
jmp 0x4adff0
call fcn.0045f310
movzx ecx, al
test ecx, ecx
je 0x4adff0
push 1
push 0x443
lea ecx, [ebp - 0x10]
call fcn.004b05e0
call fcn.00416be0
cmp eax, 0x13
jl 0x4ae01b
mov ecx, dword [ebp - 0x48]
call fcn.004a4160
movzx edx, al
test edx, edx
je 0x4ae01b
push 0x139
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x4ae02b
push 0x10f
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0x429
lea ecx, [ebp - 0x10]
call fcn.004a6e60
call fcn.0042eb50
movzx edx, al
test edx, edx
jne 0x4ae06f
mov ecx, dword [ebp - 0x48]
call fcn.004a4160
movzx eax, al
test eax, eax
je 0x4ae06f
push 0x245
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x4ae07f
push 0x246
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0x446
lea ecx, [ebp - 0x10]
call fcn.004a6e60
call fcn.0042eb50
movzx eax, al
test eax, eax
jne 0x4ae0c3
mov ecx, dword [ebp - 0x48]
call fcn.004a4160
movzx ecx, al
test ecx, ecx
je 0x4ae0c3
push 0x1bb
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x4ae0d3
push 0x1be
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0x801b
lea ecx, [ebp - 0x10]
call fcn.004a6e60
call fcn.0042eb50
movzx ecx, al
test ecx, ecx
jne 0x4ae117
mov ecx, dword [ebp - 0x48]
call fcn.004a4160
movzx edx, al
test edx, edx
je 0x4ae117
push 0x1ba
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x4ae127
push 0x1bc
call fcn.0045b430
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0x445
lea ecx, [ebp - 0x10]
call fcn.004a6e60
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004a4b60
push 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004b0590
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x111
mov ecx, dword [ebp - 0x48]
add ecx, 4
call fcn.00416350
push 0
push 0
push 0x808
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0x811
mov ecx, dword [0x5e24a8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x48]
mov byte [edx + 0x159a], 0
mov eax, dword [ebp - 0x48]
mov byte [eax + 0x159c], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004a6d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004a6d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004a6d60
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10