Function at 0x414820
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49233d
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x10], 0
je 0x414a93
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp - 0x14], eax
call esi
mov ecx, dword [edi + 0x14]
mov esi, eax
mov edx, edi
cmp ecx, 8
jb 0x41486a
mov edx, dword [edi]
test edx, edx
je 0x414a93
mov eax, edi
cmp ecx, 8
jb 0x41487b
mov eax, dword [edi]
cmp word [eax], 0
je 0x414a93
mov eax, edi
cmp ecx, 8
jb 0x41488e
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414a93
cmp byte [ebp + 0x18], 0
mov ecx, edi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], 0
je 0x4148cc
cmp eax, 8
jb 0x4148b6
mov ecx, dword [edi]
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
push ecx
call fcn.0044f660
add esp, 0x14
jmp 0x4148e5
cmp eax, 8
jb 0x4148d3
mov ecx, dword [edi]
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
push ecx
call fcn.0044f370
add esp, 0x10
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x414a93
push 0x1770
push 5
push edi
call fcn.004145b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x414a8c
push 0
push esi
push dword [ebp - 0x14]
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xff
push edi
call fcn.0042eef0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 8
push 0
push edi
call esi
push 3
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x41494d
mov ecx, dword [ecx]
mov esi, dword [ebp + 0xc]
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x41495a
mov edx, dword [esi]
cmp byte [ebp + 0x24], 0
mov eax, 0x4a0be0
mov ebx, 0x4977e0
cmove eax, ebx
push eax
push ecx
push edx
lea eax, [ebp - 0x2c]
push str.__s___s_r_n_s
push eax
call fcn.004215a0
add esp, 0x14
mov dword [ebp - 4], 0
call fcn.0042ada0
mov dword [ebp - 0x14], eax
call fcn.0042adb0
test eax, eax
jne 0x4149a4
call fcn.0042adc0
test eax, eax
jne 0x4149a4
xor ebx, ebx
jmp 0x4149a9
mov ebx, 1
push edi
mov dword [ebp + 0x10], 0
call fcn.0044e410
add esp, 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x14], 0
je 0x4149d8
cmp dword [ebp - 0x18], 8
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call fcn.0044e680
add esp, 0xc
jmp 0x4149ed
cmp dword [ebp - 0x18], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x2c]
push ebx
push eax
push edi
call fcn.0044e490
add esp, 0x10
cmp dword [esi + 0x10], 0
je 0x414a6e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4149fd
mov eax, dword [esi]
push 0x4974e8
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, dword [ebp + 0x20]
neg eax
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x14]
test ecx, ecx
mov ecx, esi
je 0x414a3b
cmp eax, 8
jb 0x414a24
mov ecx, dword [esi]
push 0x1fffff
lea eax, [ebp + 0x10]
push eax
push ecx
call fcn.004251a0
mov edi, dword [ebp + 0x10]
add esp, 0xc
jmp 0x414a55
cmp eax, 8
jb 0x414a42
mov ecx, dword [esi]
push 0x100401
push ecx
call fcn.00449390
mov edi, eax
add esp, 8
mov dword [ebp + 0x10], edi
test edi, edi
jne 0x414a71
mov eax, ebx
dec ebx
test eax, eax
jle 0x414a71
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
jmp 0x414a14
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.004011d0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret