Function at 0x484bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
cmp word [ebp - 0x218], ax
jne 0x484c2e
xor ecx, ecx
jmp 0x484c46
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484c37
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.00470470
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x4a0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x4a0], 0x5c
call fcn.00476c80
push eax
push 0
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x480]
call fcn.00476d40
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.0052f1e0
sub esp, 0xc
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x4a0], esp
push 8
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.softname
mov word [ecx], ax
call fcn.00470470
cmp dword [0x6ef800], 0
mov byte [ebp - 4], 2
jne 0x484d17
push 0x50
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x484d0c
mov ecx, eax
call fcn.0049c6d0
jmp 0x484d0e
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x6ef800], eax
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
mov ecx, dword [0x6ef800]
push eax
call fcn.0049cfd0
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x420]
push str._s___Viewer
push eax
call fcn.0047b670
add esp, 0xc
lea eax, [ebx + 0x8a8]
mov ecx, ebx
push eax
call dword [0x693af0]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0x80
mov ecx, ebx
call dword [0x693a78]
mov ecx, dword [ebx + 0x828]
test ecx, ecx
je 0x484dcf
call fcn.004adb60
mov eax, dword [ebx + 0x828]
test eax, eax
je 0x484d9d
add eax, 0x714
jmp 0x484d9f
xor eax, eax
push eax
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.DefalutView
call dword [0x693a68]
lea ecx, [ebx + 0x10]
call dword [0x693aec]
mov ecx, dword [ebx + 0x828]
push str.DefalutView
call dword [0x693b20]
mov esi, dword [sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ecx, [ebx + 0x2c]
push str.background
call esi
push str.viewBackground
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x864], eax
call esi
push str.OnMax
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x868], eax
call esi
push str.viewTitle
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x86c], eax
call esi
push str.OnClose
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x888], eax
call esi
push str.OnMin
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x874], eax
call esi
push str.OnMax
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x878], eax
call esi
push str.OnMenu
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x880], eax
call esi
push str.OnFullScreen
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x87c], eax
call esi
push str.title_name
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x884], eax
call esi
mov ecx, dword [ebx + 0x864]
lea edx, [ebp - 0x430]
mov dword [ebx + 0x870], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
push 0xa40
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebx + 0x88c], xmm0
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x484ec3
push dword [ebx + 0x868]
mov ecx, eax
push dword [ebx + 4]
call fcn.004883a0
jmp 0x484ec5
xor eax, eax
mov ecx, dword [ebx + 0x888]
mov dword [ebx + 0x824], eax
mov eax, dword [ebx + 0x88c]
mov dword [ebp - 0x430], eax
mov eax, dword [ecx]
mov byte [ebp - 4], 4
call dword [eax + 0x60]
add eax, dword [ebx + 0x890]
sub esp, 0x10
mov ecx, dword [ebx + 0x824]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebx + 0x894]
mov dword [ebp - 0x428], eax
mov eax, dword [ebx + 0x898]
mov dword [ebp - 0x424], eax
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x430]
movdqu xmmword [eax], xmm0
call fcn.004906b0
push dword [0x6f06b8]
call dword [sym.imp.ImageDraw.dll_public:_static_void___cdecl_DrawUtils::LoadResImage_struct_HINSTANCE____]
add esp, 4
lea eax, [ebx + 0x858]
push eax
push 0
push ebx
push 0x483df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, ebx
mov dword [ebx + 0x854], eax
call fcn.00486e30
push 0xb
push str.normal_skin
lea esi, [ebx + 0x8e0]
mov byte [ebx + 0x89d], 1
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.004766b0
test eax, eax
jne 0x484f86
push 0xeeeeee
jmp 0x484fa2
push 0xa
push str.black_skin
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.004766b0
test eax, eax
jne 0x484fae
push 0x1c1c1c
mov ecx, dword [ebx + 0x868]
call dword [0x693b1c]
mov ecx, dword [ebx + 0x824]
push esi
call fcn.00491560
mov ecx, dword [0x6f0680]
test ecx, ecx
jne 0x484ff3
push 4
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x484fe7
mov ecx, eax
call fcn.004a3e90
mov ecx, eax
jmp 0x484fe9
xor ecx, ecx
mov byte [ebp - 4], 4
mov dword [0x6f0680], ecx
mov eax, dword [ecx]
push 0x3b
call dword [eax + 0xc]
mov edx, eax
mov dword [ebp - 0x43c], 7
xor eax, eax
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
cmp word [edx], ax
jne 0x485022
xor ecx, ecx
jmp 0x485036
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485027
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00470470
cmp dword [ebp - 0x43c], 8
lea edx, [ebp - 0x450]
mov dword [ebp - 0x424], 7
cmovae edx, dword [ebp - 0x450]
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov byte [ebp - 4], 7
cmp word [edx], ax
jne 0x485081
xor ecx, ecx
jmp 0x485095
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485086
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00470470
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.00487a80
cmp dword [ebp - 0x424], 8
mov byte [ebp - 4], 7
jb 0x4850cf
push dword [ebp - 0x438]
call fcn.0052d900
add esp, 4
push dword [ebx + 4]
call fcn.0049aba0
add esp, 4
mov ecx, ebx
call fcn.004874e0
push 1
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, dword [ebx + 0x824]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x824]
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CChartItem::destructor_void_
cmp dword [ebp - 0x43c], 8
jb 0x48511d
push dword [ebp - 0x450]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x43c], 7
cmp dword [ebp - 0x454], 8
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
jb 0x485151
push dword [ebp - 0x468]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x454], 7
cmp dword [ebp - 0x484], 8
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
jb 0x485185
push dword [ebp - 0x498]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x484], 7
cmp dword [ebp - 0x46c], 8
mov dword [ebp - 0x488], 0
mov word [ebp - 0x498], ax
jb 0x4851b9
push dword [ebp - 0x480]
call fcn.0052d900
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret