Function at 0x4393a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573c99
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x5dbcc8]
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
mov dword [ebp - 0x32c], ebx
mov edi, edx
mov dword [ebp - 4], 0
mov ecx, dword [0x5e5028]
mov esi, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.searchEdit
call esi
mov dword [ebp - 0x338], eax
test eax, eax
jne 0x43941b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x439bd1
lea ecx, [ebx + 0x2c]
push str.searchboxlist
call esi
mov esi, eax
test esi, esi
je 0x4393fc
lea ecx, [ebp + 8]
push str.searchdefault
push ecx
call fcn.0040c950
add esp, 8
test al, al
je 0x439482
mov ecx, dword [ebp - 0x338]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x94]
push eax
call edx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
test al, al
jne 0x43947a
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
jmp 0x4393fc
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
jmp 0x43949d
add ebx, 0x278
lea ecx, [ebp + 8]
push ebx
push ecx
call fcn.00438a10
add esp, 8
test al, al
jne 0x439bb7
mov edx, dword [esi + 0x4a0]
mov eax, dword [edx + 0x20]
lea ecx, [esi + 0x4a0]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x33c], ecx
call eax
push edi
lea ecx, [ebp - 0x39c]
call fcn.005627e0
push 0
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 2
call fcn.00563740
test al, al
je 0x439b88
lea ecx, [ebp - 0x39c]
call fcn.00561e40
mov ecx, eax
call fcn.00561e40
mov ebx, eax
mov dword [ebp - 0x340], ebx
test ebx, ebx
je 0x439afc
mov eax, dword [ebx + 0x20]
mov ecx, str.data
add eax, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x439530
test dl, dl
je 0x43952c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x439530
add eax, 2
add ecx, 2
test dl, dl
jne 0x439510
xor eax, eax
jmp 0x439535
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x439ae5
mov ecx, ebx
call fcn.00561e40
mov edi, eax
mov dword [ebp - 0x344], edi
test edi, edi
je 0x439ae5
mov eax, dword [edi + 0x20]
mov ecx, str.film
add eax, 8
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x439580
test dl, dl
je 0x43957c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x439580
add eax, 2
add ecx, 2
test dl, dl
jne 0x439560
xor eax, eax
jmp 0x439585
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x439ace
mov ecx, edi
call fcn.00561e40
mov esi, eax
mov dword [ebp - 0x334], esi
test esi, esi
je 0x439ace
mov eax, dword [esi + 0x20]
mov ecx, str.item
add eax, 8
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4395d0
test dl, dl
je 0x4395cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4395d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4395b0
xor eax, eax
jmp 0x4395d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x439ab7
inc dword [ebp - 0x330]
lea ecx, [ebp - 0x450]
push ecx
call fcn.0040c1a0
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00561e40
mov dword [ebp - 0x328], eax
test eax, eax
je 0x43975f
mov esi, eax
mov eax, dword [esi + 0x20]
mov ecx, str.title
add eax, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x439635
test dl, dl
je 0x439631
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x439635
add eax, 2
add ecx, 2
test dl, dl
jne 0x439615
xor eax, eax
jmp 0x43963a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x439748
mov ecx, dword [ebp - 0x328]
call fcn.00561f30
lea edx, [ebp - 0x350]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov edi, dword [ebp - 0x42c]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x43971c
cmp dword [edi + 0xc], 0
jl 0x43970c
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x43970c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4396ad
cmp eax, dword [esi]
jne 0x4396ad
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4396e8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x439bfb
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054703f
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x439701
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x42c], ebx
jmp 0x43971c
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040d560
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x350]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x328]
mov ecx, esi
call fcn.00561e70
mov esi, eax
mov dword [ebp - 0x328], esi
test esi, esi
jne 0x43960a
mov eax, dword [ebp + 8]
mov ecx, str.searchdefault
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43978d
test dx, dx
je 0x439789
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43978d
add eax, 4
add ecx, 4
test dx, dx
jne 0x439767
xor eax, eax
jmp 0x439792
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4399f4
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 0x4c]
add eax, 0x2c
cmp ecx, eax
je 0x4398e5
mov edi, ecx
mov dword [ebp - 0x328], edi
test edi, edi
je 0x4398e5
mov eax, dword [edi + 0x18]
mov ecx, 0x5ae064
add eax, 8
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4397f0
test dl, dl
je 0x4397ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4397f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4397d0
xor eax, eax
jmp 0x4397f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4398ce
mov ecx, dword [ebp - 0x32c]
mov edx, dword [ebp - 0x42c]
mov ebx, dword [ecx + 0x27c]
add ecx, 0x27c
lea esi, [edx - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x4398ce
cmp dword [ebx + 0xc], eax
jl 0x4398c4
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x4398c4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x439859
cmp eax, dword [esi]
jne 0x439859
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x439894
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x439bfb
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054703f
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4398ad
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x32c]
add edi, 0x10
mov dword [eax + 0x27c], edi
mov edi, dword [ebp - 0x328]
jmp 0x4398ce
mov eax, dword [edx - 0xc]
push eax
push edx
call fcn.0040d560
mov ecx, edi
call fcn.005620f0
mov edi, eax
mov dword [ebp - 0x328], eax
test edi, edi
jne 0x4397c3
cmp dword [ebp + 0xc], 0
je 0x439c00
lea ecx, [ebp - 0x1dc]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
push 0
push 0
push 0
push 0
push ecx
mov eax, esp
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x328], esp
mov dword [eax], 0x5ae068
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov ebx, eax
test ebx, ebx
je 0x4399e9
mov esi, dword [ebp - 0x32c]
push str.sorttext
add esi, 0x2c
push ebx
mov ecx, esi
mov dword [ebp - 0x328], esi
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
mov edi, eax
test edi, edi
je 0x4399b9
mov esi, dword [ebp - 0x330]
cmp esi, 3
jle 0x439967
push 0xffadadad
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkColor_unsigned_long_int_]
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
push esi
lea ecx, [ebp - 0x94]
push 0x5a55b0
push ecx
mov byte [ebp - 4], 6
call dword [sym.imp.DuiLib_u.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
mov esi, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edx, dword [esi + 0x2c]
push eax
mov ecx, edi
call edx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov esi, dword [ebp - 0x328]
push str.searchrestext
push ebx
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
test eax, eax
je 0x4399db
mov ecx, dword [ebp - 0x42c]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push ecx
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x33c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
call edx
lea ecx, [ebp - 0x1dc]
jmp 0x439a8c
lea ecx, [ebp - 0x324]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov edi, dword [ebp - 0x32c]
push 0
add edi, 0x2c
push edi
lea eax, [ebp - 0x354]
push eax
push 0
push ecx
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x354], 0x5ae1c0
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x328], esp
mov dword [eax], str.SearchSkinSearchResultItemXML.xml
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov esi, eax
test esi, esi
je 0x439a86
push str.searchrestext
push esi
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
mov edi, eax
test edi, edi
je 0x439a78
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [edi + 0xa50]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov edx, dword [edi]
mov eax, dword [ebp - 0x42c]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp - 0x33c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
call edx
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 3
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.00406a80
mov esi, dword [ebp - 0x334]
mov edi, dword [ebp - 0x344]
mov ebx, dword [ebp - 0x340]
mov ecx, esi
call fcn.00561e70
mov esi, eax
mov dword [ebp - 0x334], eax
test esi, esi
jne 0x4395a4
mov ecx, edi
call fcn.00561e70
mov edi, eax
mov dword [ebp - 0x344], eax
test edi, edi
jne 0x439554
mov ecx, ebx
call fcn.00561e70
mov ebx, eax
mov dword [ebp - 0x340], eax
test ebx, ebx
jne 0x439505
mov esi, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x338]
imul esi, esi, 0x23
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
add esi, 5
call eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x32c]
mov dword [ebp - 0x3a8], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add eax, 5
mov dword [ebp - 0x348], eax
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], ecx
mov ecx, dword [edi + 0x274]
push eax
push ecx
mov dword [ebp - 0x3a4], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [ebp - 0x348]
mov eax, dword [ebp - 0x34c]
push 0x54
push esi
push 0x13f
push edx
push eax
push 0
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x368]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x5e4810
je 0x439bac
push eax
call fcn.00444c84
add esp, 4
lea ecx, [ebp - 0x39c]
call fcn.005624c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.00545eb2
mov esp, ebp
pop ebp
ret 8
call fcn.0040d700
mov eax, dword [ebp - 0x32c]
mov eax, dword [eax + 0x27c]
mov ecx, dword [ebp - 0x338]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
call eax
lea eax, [ebp - 0x450]
call fcn.00406a80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x368]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x5e4810
je 0x439c49
push eax
call fcn.00444c84
add esp, 4
lea ecx, [ebp - 0x39c]
call fcn.005624c0
jmp 0x4393fc