Function at 0x458480
Capabilities:
Check if file exists
Hide graphical window
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f8
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [0x56a860]
mov eax, dword [0x56a868]
push ebx
add eax, edx
push esi
mov esi, dword [0x56a864]
mov dword [ebp - 0x79c], eax
mov eax, dword [0x56a86c]
add eax, esi
push edi
mov dword [ebp - 0x798], eax
push 2
lea eax, [ebp - 0x7a4]
push eax
mov dword [ebp - 0x7e0], ecx
mov dword [ebp - 0x7a4], edx
mov dword [ebp - 0x7a0], esi
call dword [sym.imp.USER32.dll_MonitorFromRect]
lea ecx, [ebp - 0x7cc]
push ecx
push eax
mov dword [ebp - 0x7cc], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [0x56792c]
cmp eax, 1
jne 0x45852b
mov edx, 0x80000000
mov esi, edx
mov edi, edx
mov dword [0x56a86c], edx
mov dword [0x56a868], esi
mov dword [0x56a864], edi
mov ecx, edx
mov dword [0x56a870], 0
jmp 0x458841
cmp eax, 4
jl 0x4586ad
push 0
lea eax, [ebp - 0x7a4]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [0x56792c]
mov esi, dword [ebp - 0x79c]
mov edi, dword [ebp - 0x7a4]
mov eax, ebx
and eax, 8
mov dword [ebp - 0x7f4], eax
je 0x458573
mov eax, esi
sub eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x458575
mov ecx, edi
sub esi, edi
mov eax, ebx
and eax, 0xc
mov dword [0x56a860], ecx
mov dword [ebp - 0x7f0], esi
mov dword [0x56a868], esi
mov dword [ebp - 0x10], eax
je 0x4585a2
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [0x56a868], esi
mov eax, ebx
and eax, 0x20
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x798]
je 0x4585d0
sub eax, dword [ebp - 0x7a0]
cdq
sub eax, edx
mov edx, dword [ebp - 0x7a0]
mov edi, eax
mov eax, dword [ebp - 0x798]
sar edi, 1
jmp 0x4585d8
mov edx, dword [ebp - 0x7a0]
mov edi, edx
sub eax, edx
mov edx, eax
mov dword [ebp - 0x7e4], ebx
and dword [ebp - 0x7e4], 0x30
mov dword [0x56a864], edi
mov dword [ebp - 0x7e8], eax
mov dword [0x56a86c], edx
je 0x458610
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x7e8]
sar edx, 1
mov dword [0x56a86c], edx
test bl, 0x40
je 0x458641
mov ecx, dword [ebp - 0x7a4]
mov edi, dword [ebp - 0x7a0]
mov esi, dword [ebp - 0x7f0]
mov edx, eax
mov dword [0x56a860], ecx
mov dword [0x56a864], edi
mov dword [0x56a868], esi
mov dword [0x56a86c], edx
test bl, bl
jns 0x458847
xor eax, eax
cmp dword [ebp - 0x7f4], eax
sete al
lea eax, [eax*4 + 4]
add ecx, eax
xor eax, eax
cmp dword [ebp - 0x10], eax
sete al
lea eax, [eax*4 + 0xc]
sub esi, eax
xor eax, eax
cmp dword [ebp - 0x7ec], eax
mov dword [0x56a868], esi
sete al
lea eax, [eax*4 + 4]
add edi, eax
xor eax, eax
cmp dword [ebp - 0x7e4], eax
mov dword [0x56a864], edi
sete al
lea eax, [eax*4 + 0xc]
sub edx, eax
mov dword [0x56a86c], edx
jmp 0x458841
cmp eax, 2
je 0x458929
cmp eax, 3
je 0x458929
mov edx, dword [0x56a860]
cmp edx, 0x80000000
je 0x458929
mov ecx, dword [0x56a864]
cmp ecx, 0x80000000
je 0x458929
mov edi, dword [0x56a868]
cmp edi, 0x80000000
je 0x458929
mov esi, dword [0x56a86c]
cmp esi, 0x80000000
je 0x458929
mov ebx, dword [ebp - 0x7b8]
mov eax, ebx
sub eax, dword [ebp - 0x7c8]
add edx, eax
mov eax, dword [ebp - 0x7b4]
sub eax, dword [ebp - 0x7c4]
mov dword [0x56a860], edx
add ecx, eax
mov dword [0x56a864], ecx
cmp edx, ebx
jge 0x45873d
mov edx, ebx
mov dword [0x56a860], edx
mov eax, dword [ebp - 0x7b4]
cmp ecx, eax
jge 0x45874f
mov ecx, eax
mov dword [0x56a864], ecx
lea eax, [edi + edx]
cmp eax, dword [ebp - 0x7b0]
jle 0x45878b
mov edx, dword [ebp - 0x7b0]
sub edx, edi
mov dword [0x56a860], edx
cmp edx, ebx
jge 0x458774
mov edx, ebx
mov dword [0x56a860], edx
mov ebx, dword [ebp - 0x7b0]
lea eax, [edi + edx]
cmp eax, ebx
jle 0x45878b
mov edi, ebx
sub edi, edx
mov dword [0x56a868], edi
mov ebx, dword [ebp - 0x7ac]
lea eax, [esi + ecx]
cmp eax, ebx
jle 0x4587c5
mov eax, dword [ebp - 0x7b4]
mov ecx, ebx
sub ecx, esi
mov dword [0x56a864], ecx
cmp ecx, eax
jge 0x4587b4
mov ecx, eax
mov dword [0x56a864], ecx
lea eax, [esi + ecx]
cmp eax, ebx
jle 0x4587c5
mov esi, ebx
sub esi, ecx
mov dword [0x56a86c], esi
lea eax, [esi + ecx]
push eax
lea eax, [edi + edx]
push eax
push ecx
push edx
lea eax, [ebp - 0x7a4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x7b8]
push eax
lea eax, [ebp - 0x7a4]
push eax
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x45890c
mov ecx, dword [ebp - 0x7b0]
mov eax, dword [ebp - 0x7b4]
mov edx, dword [ebp - 0x7ac]
mov esi, ecx
sub esi, dword [ebp - 0x7b8]
sub edx, eax
sub edx, 0x20
add esi, 0xffffffe0
lea edi, [eax + 0x10]
mov dword [0x56a864], edi
mov dword [0x56a86c], edx
cmp esi, edx
jl 0x458836
mov esi, edx
mov dword [0x56a868], esi
sub ecx, esi
sub ecx, 0x10
mov dword [0x56a860], ecx
push 0
push dword [ebp - 0x7e0]
push 0
push 0
push edx
push esi
push edi
push ecx
push 0x2cf0000
push 0x40a058
push 0x53d6c0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [0x56a870], 0
mov dword [0x56e928], eax
mov esi, 3
jne 0x458884
mov esi, dword [ebp + 8]
cmp dword [0x56d1e4], 0
mov ecx, dword [0x565d34]
jne 0x458898
cmp ecx, 2
jne 0x4588b5
cmp ecx, 1
je 0x4588b5
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x56e928]
cmp dword [0x56a874], 0
je 0x4588ca
mov edx, 1
mov ecx, eax
call fcn.00455010
push 0x407d38
push ecx
mov edx, 1
push 0
mov ecx, edx
call fcn.00466600
add esp, 0xc
cmp dword [0x56706c], 0
jne 0x458990
push esi
push dword [0x56e928]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x56e928]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4589ae
mov edx, dword [0x56a86c]
mov esi, dword [0x56a868]
mov edi, dword [0x56a864]
mov ecx, dword [0x56a860]
jmp 0x458847
push 0
lea eax, [ebp - 0x7a4]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x79c]
mov eax, dword [ebp - 0x7a0]
mov edx, dword [ebp - 0x798]
mov ebx, dword [ebp - 0x7a4]
mov esi, ecx
sub edx, eax
sub esi, ebx
sub edx, 0x20
add esi, 0xffffffe0
lea edi, [eax + 0x10]
mov dword [0x56a864], edi
mov dword [0x56a86c], edx
cmp esi, edx
jl 0x458975
mov esi, edx
cmp dword [0x56792c], 3
mov dword [0x56a868], esi
jne 0x45883c
lea ecx, [ebx + 0x10]
jmp 0x458841
push 0
push dword [0x56e928]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x56e928]
mov edx, 1
call fcn.00468250
mov eax, dword [0x567278]
test eax, eax
je 0x4589e6
push 0
push 0
push 0x100
lea ecx, [ebp - 0x794]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x794]
call fcn.00447cc0
mov dword [0x53d358], eax
jmp 0x4589eb
mov eax, dword [0x53d358]
mov ecx, dword [0x567930]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4590da
push ecx
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x458a45
push dword [0x567930]
lea edx, [ebp - 0x62c]
push ecx
call fcn.00467280
add esp, 8
test eax, eax
je 0x459085
lea eax, [ebp - 0x62c]
push eax
push ecx
push ebx
xor edx, edx
xor ecx, ecx
call fcn.00466600
add esp, 0xc
mov ebx, eax
jmp 0x459085
mov ebx, dword [0x567930]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call fcn.00518020
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00518020
add esp, 0xc
mov edx, 1
push 0
push 0
xor ecx, ecx
mov dword [ebp - 0x7e4], 0
mov dword [ebp - 0x7e8], 0
call fcn.00466da0
add esp, 8
test eax, eax
jne 0x458ab9
xor ebx, ebx
jmp 0x459085
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test ebx, ebx
je 0x458b93
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x458b93
push ebx
lea eax, [ebp - 0x424]
push eax
call esi
push 0x138
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x458b16
push 0x104
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458bb3
push 0x104
push 0x567298
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
jne 0x458bc3
push eax
lea eax, [ebp - 0x62c]
push eax
push 0x104
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x458bc3
lea eax, [ebp - 0x62c]
jmp 0x458bb9
push 0
push ecx
lea edx, [ebp - 0x424]
call fcn.00467280
add esp, 8
test eax, eax
jne 0x458ae0
xor ebx, ebx
jmp 0x459085
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
je 0x458beb
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
push 0x104
lea eax, [ebp - 0x21c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x458c23
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x458c23
push 1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea ecx, [ebp - 0x21c]
call fcn.004560c0
test eax, eax
je 0x458c47
lea edx, [ebp - 0x21c]
push 0x104
mov ecx, edx
call fcn.00456130
add esp, 4
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
jne 0x458d7b
cmp dword [0x567934], eax
jne 0x458c82
lea eax, [ebp - 0x21c]
push eax
push 0xc366
push 2
call fcn.004422f0
add esp, 0xc
cmp eax, 6
je 0x458c82
xor ebx, ebx
jmp 0x459085
push 0
push 0x80
push 1
push 0
push 3
push 0x40000000
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7e0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x56e220], eax
mov eax, dword [ebp - 0x7e0]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x459007
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x56e1c0
xor edx, edx
xor ecx, ecx
call fcn.00453cd0
mov ecx, dword [0x56e17c]
add esp, 4
mov edx, 0x408071
push 0
call fcn.004470f0
mov ecx, dword [0x56e17c]
add esp, 4
xor edx, edx
call fcn.0046a390
mov eax, dword [0x56e178]
push 0
mov eax, dword [eax*4 + 0x53d348]
push eax
push 0x7ef
push dword [0x56e17c]
mov dword [0x56a9ac], eax
call edi
mov eax, dword [0x53d358]
cmp eax, 0xffffffff
jne 0x458d32
mov eax, dword [0x56e1b8]
mov dword [0x56d448], eax
mov dword [0x56d450], eax
test eax, eax
mov eax, dword [0x56e1b4]
je 0x458d4a
mov eax, 0xfde9
push 0
push eax
push 0x7f5
push dword [0x56e17c]
call edi
mov ecx, dword [0x56e17c]
push 0
mov edx, 0x408071
mov dword [0x567b48], 0
call fcn.004470f0
add esp, 4
jmp 0x458da5
push 0
push 0
lea eax, [ebp - 0x7e8]
push eax
lea eax, [ebp - 0x7e4]
push eax
sub esp, 0xc
lea edx, [ebp - 0x21c]
mov ecx, 1
call fcn.00466490
add esp, 0x1c
mov ebx, eax
test ebx, ebx
je 0x458ffe
lea eax, [ebp - 0x21c]
push eax
push 0x56e260
call esi
push 0x56e260
push 0xfb05
push dword [0x56e928]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0xfb06
push dword [0x56e928]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
cmp dword [0x567280], 0
jne 0x458e00
push 0x407d38
push 0x565f48
call esi
cmp dword [0x567290], 0
jne 0x458e19
mov ecx, dword [0x56e17c]
mov edx, 0x56e260
call fcn.0046be30
call fcn.004663d0
mov eax, dword [0x56d450]
push 0
push dword [0x56a9ac]
mov dword [0x56d448], eax
push 0x7ef
push dword [0x56e17c]
mov dword [0x56d210], 0
call edi
push dword [0x5674b4]
mov ecx, dword [0x56e918]
push dword [0x567288]
lea edx, [ebp - 0x21c]
call fcn.00456c90
add esp, 8
cmp dword [0x565f3c], 2
jne 0x458e7f
lea eax, [ebp - 0x21c]
push eax
push 3
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
cmp dword [0x56d210], 0
jne 0x458e99
mov eax, dword [0x56d450]
cmp eax, dword [0x56d448]
jne 0x458e99
xor eax, eax
jmp 0x458e9e
mov eax, 1
mov edx, dword [0x53d35c]
sub esp, 0xc
push eax
push ecx
mov ecx, dword [0x56e928]
lea eax, [ebp - 0x21c]
push eax
sub esp, 8
call fcn.00454d10
mov eax, dword [0x56e914]
add esp, 0x20
neg eax
sbb eax, eax
not eax
and dword [0x56e240], eax
mov ecx, 0x56e260
call fcn.00468470
push 0
push 0
push 0x7d6
push dword [0x56e17c]
call edi
cmp eax, 4
jl 0x458fe4
mov al, byte [0x408071]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x10]
push eax
push 5
push 0x886
push dword [0x56e17c]
mov dword [ebp - 0xf], 0
call edi
push 0x40a06c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x458fe4
mov esi, dword [0x56e17c]
push eax
push eax
push 0x86a
push esi
call edi
push 0
push 0
push 0x90e
push esi
call edi
push 0
push 0
push 0x81e
push dword [0x56e17c]
call edi
push 0
push 0
push 0x919
push dword [0x56e17c]
call edi
push 0
push 0x19d9e
push 0x111
push dword [0x56e928]
call edi
mov esi, dword [0x56e17c]
push 0
push 0
push 0x86a
push esi
call edi
push 0
push 0
push 0x90e
push esi
call edi
push 0
push 0
push 0x919
push dword [0x56e17c]
call edi
push 0
push 0
push 0x81f
push dword [0x56e17c]
call edi
mov esi, dword [0x56e17c]
push 0
push 0
push 0x86a
push esi
call edi
push 0
push 0
push 0x90e
push esi
call edi
call fcn.0044f270
cmp dword [ebp - 0x7e4], 0
je 0x45901d
push 0xc35f
push 1
call fcn.004422f0
add esp, 8
jmp 0x45901d
cmp dword [ebp - 0x7e8], 0
jne 0x45901d
lea eax, [ebp - 0x21c]
push eax
push 0xc350
push 1
call fcn.004422f0
add esp, 0xc
test ebx, ebx
je 0x459085
cmp dword [0x5678d8], 0
je 0x459085
mov eax, dword [0x56e170]
mov esi, dword [0x56e17c]
push 0
push 0
mov dword [ebp - 0x7ec], eax
mov eax, dword [0x56df08]
push 0x86a
push esi
mov dword [ebp - 0x7e0], eax
call edi
mov ecx, eax
mov eax, dword [ebp - 0x7e0]
cmp eax, 0xffffffff
jne 0x45906d
push 0
push 0
push 0x90e
push esi
call edi
jmp 0x459080
push ecx
push dword [ebp - 0x7ec]
mov edx, eax
mov ecx, esi
call fcn.0044f030
add esp, 8
call fcn.0044f270
push dword [0x567930]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x459107
mov eax, dword [0x567068]
cmp eax, 1
jne 0x4590ba
mov ecx, 0x56e260
mov dword [0x56e240], 0
mov dword [0x56e914], eax
call fcn.00468470
jmp 0x459107
cmp eax, 2
jne 0x459107
mov ecx, 0x56e260
mov dword [0x56e240], eax
mov dword [0x56e914], 1
call fcn.00468470
jmp 0x459107
cmp eax, 0xffffffff
je 0x459107
mov dword [0x56d450], eax
mov dword [0x56d448], eax
test eax, eax
mov eax, dword [0x56e1b4]
je 0x4590f7
mov eax, 0xfde9
push 0
push eax
push 0x7f5
push dword [0x56e17c]
call edi
cmp dword [0x5678dc], 0
mov dword [0x53d358], 0xffffffff
mov dword [0x567934], 0
mov dword [0x567280], 0
je 0x459240
push 0
push 0
push 0x87d
push dword [0x56e17c]
call edi
test eax, eax
je 0x459240
mov esi, dword [0x56e17c]
mov ebx, dword [0x56d218]
push 0
push 0
push 0x86a
push esi
mov dword [0x56d218], 0
call edi
push 0
push 0
push 0x90e
push esi
call edi
push 0
push 0
push 0x81e
push dword [0x56e17c]
call edi
push 0
push 0
push 0x7d6
push dword [0x56e17c]
call edi
test eax, eax
jle 0x4591b0
push 0
push 0
push 0x919
push dword [0x56e17c]
call edi
push 0
push 0
push 0x883
push dword [0x56e17c]
call edi
push 0
push 0
push 0x919
push dword [0x56e17c]
call edi
push 0
push 0
push 0x81f
push dword [0x56e17c]
call edi
cmp dword [0x5678d8], 0
mov dword [0x56d218], ebx
je 0x45923b
mov esi, dword [0x56e17c]
mov eax, dword [0x56e170]
mov ebx, dword [0x56df08]
push 0
push 0
push 0x86a
push esi
mov dword [ebp - 0x7e0], eax
call edi
cmp ebx, 0xffffffff
jne 0x459228
push 0
push 0
push 0x90e
push esi
call edi
jmp 0x45923b
push eax
push dword [ebp - 0x7e0]
mov edx, ebx
mov ecx, esi
call fcn.0044f030
add esp, 8
call fcn.0044f270
mov eax, dword [0x567920]
test eax, eax
je 0x459270
add eax, 0xffff9ca3
movzx eax, ax
push 0
or eax, 0x10000
push eax
push 0x111
push dword [0x56e928]
call edi
mov dword [0x567920], 0
mov eax, dword [0x567940]
test eax, eax
je 0x4592a0
add eax, 0xffff9d07
movzx eax, ax
push 0
or eax, 0x10000
push eax
push 0x111
push dword [0x56e928]
call edi
mov dword [0x567940], 0
cmp dword [0x5674a8], 0
je 0x4593e4
mov eax, dword [0x5676d0]
test eax, eax
je 0x4593e4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4593d8
push 0
push 0
push 0x7d6
push dword [0x56e17c]
call edi
test eax, eax
je 0x4593d8
push 0
push 0
push 0x859
push dword [0x56e17c]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0x200
push 0x566048
push 0xffffffffffffffff
push dword [0x5676d0]
mov esi, eax
push 0
push esi
call ebx
push 0
push 0
push 0x600
push 0x566448
push 0xffffffffffffffff
push dword [0x5676d0]
push 0
push 0xfde9
call ebx
mov eax, dword [0x5674a8]
mov dword [0x565b1c], esi
test al, 4
je 0x459350
or dword [0x567048], 0x600000
jmp 0x45935e
test al, 8
je 0x45935e
mov dword [0x56704c], 1
test al, 2
je 0x4593a4
cmp dword [0x5678d8], 0
jne 0x459390
mov esi, dword [0x56e17c]
push 0
push 0
push 0x86a
push esi
call edi
push 0
push 0
push 0x90e
push esi
call edi
lea esp, [esp]
mov ecx, dword [0x56e17c]
push 0
mov edx, 0x566048
call fcn.00450cf0
jmp 0x4593d0
cmp dword [0x5678d8], 0
jne 0x4593be
push 0
push 0
push 0x90c
push dword [0x56e17c]
call edi
mov ecx, dword [0x56e17c]
push 0
mov edx, 0x566048
call fcn.00450af0
add esp, 4
call fcn.0044f270
push dword [0x5676d0]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x56793c], 0
je 0x459481
push dword [0x56e928]
mov dword [0x567924], 1
call dword [sym.imp.USER32.dll_SetClipboardViewer]
cmp dword [0x56d210], 0
mov dword [0x565f40], eax
mov dword [0x53d35c], 0x2712
jne 0x459430
mov eax, dword [0x56d450]
cmp eax, dword [0x56d448]
jne 0x459430
xor eax, eax
jmp 0x459435
mov eax, 1
sub esp, 0xc
mov edx, 0x2712
push eax
push ecx
mov ecx, dword [0x56e928]
push 0x56e260
sub esp, 8
call fcn.00454d10
add esp, 0x20
mov dword [0x567924], 0
push 0x468750
push 0x64
push 0xa001
push dword [0x56e928]
mov dword [0x56d1e0], 0
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x567290], 0
je 0x4594d6
mov eax, dword [0x56728c]
test eax, eax
je 0x4594af
push eax
mov edx, 0x56e260
call fcn.0046c1b0
add esp, 4
push dword [0x56728c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4594cc
mov edx, dword [0x56d200]
cmp edx, 0x26
ja 0x4594cc
mov edx, dword [edx*4 + 0x5581d0]
mov ecx, dword [0x56e17c]
call fcn.0046a390
mov dword [0x567290], 0
cmp dword [0x56706c], 0
je 0x4594ea
mov ecx, dword [0x56e928]
call fcn.00468320
call fcn.00465df0
call fcn.00465fd0
mov ecx, dword [ebp - 8]
mov eax, dword [0x56e928]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret