Function at 0x415c20
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb58a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x505070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x415c83
mov eax, dword [ecx]
jmp 0x415c85
mov eax, ecx
push 0xf
push str.KzxRecommendWnd
mov byte [eax], 0
call fcn.004084c0
mov dword [ebp - 4], 0
mov esi, str._recommendkzx_recommend_wnd1.xml
cmp dword [edi + 0x118], 0
mov eax, str._recommendkzx_recommend_wnd2.xml
cmovne esi, eax
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x415ccc
mov eax, dword [edx]
jmp 0x415cce
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [esi], cx
je 0x415cf0
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x30], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415ce0
sub ecx, dword [ebp - 0x30]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00408360
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.004309c0
mov ecx, dword [edi + 0x58]
add esp, 0x30
test ecx, ecx
jne 0x415d1d
mov eax, 0x80004005
jmp 0x41612c
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
mov eax, dword [ecx]
push edx
push str.BtnClose
mov eax, dword [eax + 0x20]
call eax
test eax, eax
mov eax, dword [ebp - 0x28]
js 0x415d91
cmp dword [edi + 0x110], eax
je 0x415d72
mov esi, eax
test eax, eax
je 0x415d59
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x110]
mov dword [edi + 0x110], esi
test ecx, ecx
je 0x415d72
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x415d91
lea edx, [edi + 0xf0]
test edx, edx
je 0x415d91
push edx
push 0
call fcn.00428480
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415da2
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x28]
push edx
push str.InstallLink
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
mov eax, dword [ebp - 0x28]
js 0x415e0e
cmp dword [edi + 0x114], eax
je 0x415dec
mov esi, eax
test eax, eax
je 0x415dd3
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x114]
mov dword [edi + 0x114], esi
test ecx, ecx
je 0x415dec
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x114]
test ecx, ecx
je 0x415e0e
lea edx, [edi + 0xf0]
test edx, edx
je 0x415e0e
push edx
push 0x384
call fcn.00428480
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415e1f
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x28]
push edx
push 0x4e5cd4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
js 0x415e5f
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
push ecx
mov esi, esp
mov dword [ebp - 0x34], esi
mov ecx, dword [eax + 0x11c]
sub ecx, 0x10
call fcn.00405420
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00438d80
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415e73
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x28]
push edx
push str.Content
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
js 0x415eb3
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
push ecx
mov esi, esp
mov dword [ebp - 0x34], esi
mov ecx, dword [eax + 0x120]
sub ecx, 0x10
call fcn.00405420
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00438d80
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x118], 1
jne 0x41608f
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415ed4
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x28]
push edx
push str.IconRegion
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
js 0x41608f
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x44], esi
test esi, esi
je 0x415eff
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x164
mov byte [ebp - 4], 2
call fcn.0049f1e8
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004025a0
mov edx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x48], edx
test edx, edx
je 0x415f37
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 4
mov ecx, edx
mov eax, dword [edx]
push esi
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x38]
movaps xmm0, xmmword [0x4eefb0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov ecx, dword [ebp - 0x38]
movaps xmm0, xmmword [0x4eee90]
push 1
sub esp, 0x10
mov dword [ecx + 0xa4], 0
mov eax, esp
mov dword [ecx + 0xf0], 0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
push dword [edi + 0x128]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405360
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 0xc], 0
jne 0x415fb8
push str..png
lea ecx, [ebp - 0x3c]
call fcn.00405630
lea ecx, [ebp - 0x34]
call fcn.0046d970
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
add eax, 0x13c
push dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [edi]
push str._s_d_s
push dword [ebp - 0x30]
call fcn.00408f50
mov byte [ebp - 4], 5
add esp, 0x14
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41600c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
push ecx
mov edi, esp
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x40], edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00405420
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 7
mov edi, esp
mov dword [ebp - 0x40], edi
mov ecx, dword [eax + 0x128]
sub ecx, 0x10
call fcn.00405420
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x38]
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00402da0
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416074
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x41608c
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
movups xmm1, xmmword [edi + 0x7c]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffffe
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 8
mov edx, edi
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
psrldq xmm1, 4
sub ecx, eax
movd esi, xmm0
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x30]
add ecx, 0xffffffe2
movd eax, xmm1
sub edi, edx
push 1
sub esi, eax
mov eax, ecx
sub eax, esi
mov esi, dword [ebp - 0x2c]
sub ecx, eax
push ecx
push edi
push eax
push edx
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41612a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
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.0049f1b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret