Function at 0x47e7c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 1
mov esi, ecx
push 2
lea ecx, [ebp - 0x340]
call fcn.00474950
push str.skin.html
lea eax, [ebp - 0x340]
push edi
push eax
call fcn.00474e20
add esp, 8
push eax
call fcn.00474e20
mov eax, edi
add esp, 8
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x47e810
sub eax, ecx
sar eax, 1
push eax
push edi
lea ecx, [esi + 0xc4]
call fcn.00403060
xor ebx, ebx
lea edi, [esi + 4]
push ebx
push 0xda
mov ecx, edi
mov dword [esi + 0x80], ebx
mov dword [ebp - 0x22c], edi
call fcn.004610f0
mov edx, dword [edi]
lea ecx, [ebp - 0x208]
push ecx
push edx
mov dword [ebp - 0x208], ebx
call dword [sym.imp.htmlayout.dll_HTMLayoutGetRootElement]
mov eax, dword [ebp - 0x208]
mov edi, dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
push eax
mov ebx, eax
call edi
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x240]
push str.body
push eax
call fcn.00462720
add esp, 8
mov ebx, eax
push ebx
call edi
mov edi, eax
neg edi
sbb edi, edi
push 0x5104a0
not edi
and edi, ebx
mov ebx, dword [sym.imp.htmlayout.dll_HTMLayoutSetStyleAttribute]
push str.margin
push edi
call ebx
push 0x5104a0
push str.padding
push edi
call ebx
push 0x50e758
push str.overflow_x
push edi
call ebx
push 0x50e758
push str.overflow_y
push edi
call ebx
push 0
lea ecx, [ebp - 0x208]
push ecx
push edi
mov dword [ebp - 0x208], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutGetElementHwnd]
lea eax, [esi + 0x120]
push eax
push 0xd7
call fcn.004bc830
lea edx, [esi + 0x128]
push edx
push 0xd6
call fcn.004bc830
lea eax, [esi + 0x130]
push eax
push 0xd3
call fcn.004bc830
lea ecx, [esi + 0x138]
push ecx
push 0xd3
call fcn.004bc830
lea edx, [esi + 0x148]
push edx
push 0xd5
call fcn.004bc830
lea eax, [esi + 0x150]
push eax
push 0xd5
call fcn.004bc830
lea ecx, [esi + 0x158]
push ecx
push 0x148
call fcn.004bc830
lea edx, [esi + 0x160]
push edx
push 0x149
call fcn.004bc830
add esp, 0x40
lea eax, [esi + 0x168]
push eax
push 0x14c
call fcn.004bc830
lea ecx, [esi + 0x170]
push ecx
push 0x140
call fcn.004bc830
lea edx, [esi + 0x178]
push edx
push 0x160
call fcn.004bc830
lea eax, [esi + 0x180]
push eax
push 0xd2
call fcn.004bc830
lea eax, [esi + 0x188]
push eax
push 0xd1
call fcn.004bc830
lea ecx, [esi + 0x190]
push ecx
push 0xd0
call fcn.004bc830
lea edx, [esi + 0x198]
push edx
push 0x155
call fcn.004bc830
lea eax, [esi + 0x1a0]
push eax
push 0x159
call fcn.004bc830
add esp, 0x40
lea ecx, [esi + 0x1a8]
push ecx
push 0x142
call fcn.004bc830
lea eax, [esi + 0x1c8]
push eax
push 0x13f
call fcn.004bc830
add esp, 0x10
push 0
lea edx, [ebp - 0x210]
push edx
push 0x460680
push str.soft_user
push 0x52d52c
push 0
push edi
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x208], eax
mov eax, dword [esi + 0xf8]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47ea8d
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [ebp - 0x208]
push ecx
mov dword [esi + 0xf8], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
push 0
lea edx, [ebp - 0x210]
push edx
push 0x460680
neg eax
push str.div_hide_none
sbb eax, eax
push 0x52d52c
not eax
and eax, dword [ebp - 0x208]
push 0
push edi
mov dword [esi + 0xf8], eax
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x208], eax
mov eax, dword [esi + 0x104]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47eb12
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [ebp - 0x208]
push ecx
mov dword [esi + 0x104], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
push 0
lea edx, [ebp - 0x210]
push edx
push 0x460680
neg eax
push str.main_button
sbb eax, eax
push 0x52d52c
not eax
and eax, dword [ebp - 0x208]
push 0
push edi
mov dword [esi + 0x104], eax
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x208], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47eb97
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [ebp - 0x208]
push ecx
mov dword [esi + 0x100], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x208]
mov dword [esi + 0x100], eax
test eax, eax
je 0x47ebd1
push 0x510430
push str.display
push eax
call ebx
push 0
lea edx, [ebp - 0x210]
push edx
push 0x460680
push str.soft_top
push 0x52d52c
push 0
push edi
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [esi + 0xe4]
mov ebx, dword [ebp - 0x20c]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47ec27
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
push ebx
mov dword [esi + 0xe4], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [esi + 0xe4], eax
test eax, eax
je 0x47ee78
lea eax, [esi + 0x108]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x228], eax
push 1
push 2
lea ecx, [ebp - 0x2c0]
call fcn.00474880
mov ecx, dword [ebp - 0x208]
push ecx
lea edx, [ebp - 0x2c0]
push 0x51040c
push edx
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0046ec70
cmp dword [ebp - 0x20c], 0x10
mov eax, dword [ebp - 0x220]
jae 0x47ecbc
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0xe4]
call fcn.00465060
mov ecx, dword [ebp - 0x228]
mov ebx, eax
mov eax, dword [ecx]
test eax, eax
je 0x47ecdd
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov edx, dword [ebp - 0x228]
push ebx
mov dword [edx], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov ecx, dword [ebp - 0x228]
neg eax
sbb eax, eax
not eax
and eax, ebx
cmp dword [ebp - 0x20c], 0x10
mov dword [ecx], eax
jb 0x47ed18
mov edx, dword [ebp - 0x220]
push edx
call fcn.004ea481
add esp, 4
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [ebp - 0x27c], 1
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x47ed50
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx]
push eax
call fcn.004ea481
add esp, 4
mov eax, dword [ebp - 0x2ac]
mov dword [eax], 0
mov ecx, dword [ebp - 0x29c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x28c]
mov dword [edx], 0
mov eax, dword [ebp - 0x2a8]
mov dword [eax], 0
mov ecx, dword [ebp - 0x298]
mov dword [ecx], 0
mov edx, dword [ebp - 0x288]
mov dword [edx], 0
mov eax, dword [ebp - 0x284]
and dword [ebp - 0x27c], 0xfffffffe
mov dword [ebp - 0x280], 0
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x47ee23
mov ebx, dword [eax]
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x47ee14
push 0
lea ecx, [ebp - 0x230]
call fcn.004e9872
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x47edec
cmp eax, 0xffffffff
jae 0x47edec
dec eax
mov dword [ebx + 4], eax
mov ebx, dword [ebx + 4]
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 0x238]
lea ecx, [ebp - 0x230]
call fcn.004e989a
test ebx, ebx
je 0x47ee14
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [ebp - 0x20c]
push eax
call fcn.004ea481
add esp, 4
lea ecx, [ebp - 0x2b8]
call fcn.004e9ce9
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x274]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004e9c88
mov eax, dword [ebp - 0x208]
add dword [ebp - 0x228], 4
inc eax
add esp, 4
cmp eax, 6
mov dword [ebp - 0x208], eax
jl 0x47ec64
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0x460680
push str.main_foot
push 0x52d52c
push 0
push edi
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [esi + 0xf4]
mov ebx, dword [ebp - 0x20c]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47eece
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
push ebx
mov dword [esi + 0xf4], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
push 0
lea edx, [ebp - 0x210]
push edx
push 0x460680
neg eax
push str.soft_mid
sbb eax, eax
push 0x52d52c
not eax
push 0
and eax, ebx
push edi
mov dword [esi + 0xf4], eax
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [esi + 0xf0]
mov ebx, dword [ebp - 0x20c]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47ef43
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
push ebx
mov dword [esi + 0xf0], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [esi + 0xf0], eax
test eax, eax
je 0x47f0f8
mov eax, dword [esi + 0x124]
mov ecx, dword [esi + 0x120]
test eax, eax
je 0x47ef91
test ecx, ecx
je 0x47ef91
push 0
push ecx
push eax
mov eax, dword [esi + 0xf0]
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementHtml]
jmp 0x47efa5
mov ecx, dword [esi + 0xf0]
push 0
push 0x52a4dc
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov eax, dword [esi + 0xf0]
push 0
lea edx, [ebp - 0x234]
push edx
push 0x460680
push str.news_box
push 0x52d52c
push 0
push eax
mov dword [ebp - 0x234], 0x50df1c
mov dword [ebp - 0x230], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov ecx, dword [esi + 0x1c8]
mov ebx, eax
mov eax, dword [esi + 0x1cc]
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 0x20c]
test eax, eax
je 0x47f02c
test ecx, ecx
je 0x47f02c
push 0
push ecx
push eax
push ebx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementHtml]
jmp 0x47f03a
push 0
push 0x52a4dc
push ebx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov edx, dword [esi + 0xf0]
push 0
lea ecx, [ebp - 0x23c]
push ecx
push 0x460680
push str.main_scan_time
push 0x52d52c
push 0
push edx
mov dword [ebp - 0x23c], 0x50df1c
mov dword [ebp - 0x238], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x208], eax
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test ebx, ebx
je 0x47f096
push ebx
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 0x208]
je 0x47f0f8
cmp dword [0x541898], 8
jb 0x47f198
mov edx, dword [0x541884]
test edx, edx
je 0x47f0f1
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x20c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f0d5
sub eax, dword [ebp - 0x20c]
sar eax, 1
push eax
push edx
push ebx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
push ebx
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
push 0
lea edx, [ebp - 0x210]
push edx
push 0x460680
push str.soft_left_menu
push 0x52d52c
push 0
push edi
mov dword [ebp - 0x210], 0x50df1c
mov dword [ebp - 0x20c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutVisitElements]
mov eax, dword [esi + 0xfc]
mov ebx, dword [ebp - 0x20c]
mov dword [ebp - method.htmlayout::dom::callback.virtual_0], vtable.htmlayout::dom::callback.0
test eax, eax
je 0x47f14e
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
push ebx
mov dword [esi + 0xfc], 0
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [esi + 0xfc], eax
test eax, eax
je 0x47f1b6
mov eax, dword [esi + 0x184]
mov ecx, dword [esi + 0x180]
test eax, eax
je 0x47f1a2
test ecx, ecx
je 0x47f1a2
push 0
push ecx
push eax
mov eax, dword [esi + 0xfc]
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementHtml]
jmp 0x47f1b6
mov edx, 0x541884
jmp 0x47f0ca
mov ecx, dword [esi + 0xfc]
push 0
push 0x52a4dc
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x47dae0
push 0
push 0
call ebx
cmp dword [0x5418ec], 2
je 0x47f1e6
push 0
push 0
push esi
push 0x475260
push 0
push 0
call ebx
lea edx, [esi + 0x204]
push edx
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
xor ebx, ebx
push ebx
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x54189c
mov word [ecx + 4], ax
call fcn.00402df0
call fcn.00470860
add esp, 0x20
cmp dword [0x5418e0], ebx
je 0x47f2ae
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x20e]
movzx ecx, word [ebp - 0x210]
push edx
movzx edx, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x216]
push ecx
movzx ecx, word [ebp - 0x218]
push edx
push eax
push ecx
lea edx, [ebp - 0x204]
push str._d__02d__02d__02d:_02d:_02d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [0x541884]
add esp, 0x20
cmp dword [0x541898], 8
jae 0x47f28a
mov eax, 0x541884
push 0xa
lea ecx, [ebp - 0x204]
push ecx
push eax
call fcn.004eb575
add esp, 0xc
test eax, eax
je 0x47f2ae
mov ecx, esi
mov byte [esi + 0xa6], 1
call fcn.004790c0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
push ebx
push 0x3e8
push 0x5b2
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp edi, ebx
je 0x47f2d3
push edi
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov eax, dword [ebp - 0x240]
cmp eax, ebx
je 0x47f2e4
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [ebp - 0x340]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test byte [ebp - 0x2fc], 1
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x47f31c
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
push ecx
call fcn.004ea481
add esp, 4
mov edx, dword [ebp - 0x32c]
mov dword [edx], ebx
mov eax, dword [ebp - 0x31c]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x30c]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x328]
mov dword [edx], ebx
mov eax, dword [ebp - 0x318]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x308]
mov dword [ecx], ebx
mov eax, dword [ebp - 0x304]
and dword [ebp - 0x2fc], 0xfffffffe
mov dword [ebp - 0x300], ebx
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov ebx, eax
test eax, eax
je 0x47f3bf
mov edi, dword [eax]
test edi, edi
je 0x47f3b6
push 0
lea ecx, [ebp - 0x22c]
call fcn.004e9872
mov eax, dword [edi + 4]
test eax, eax
jbe 0x47f392
cmp eax, 0xffffffff
jae 0x47f392
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x22c]
and esi, edi
call fcn.004e989a
test esi, esi
je 0x47f3b6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.004ea481
add esp, 4
lea ecx, [ebp - 0x338]
call fcn.004e9ce9
mov ecx, dword [ebp - 0x340]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x2f4]
mov dword [ebp + edx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004e9c88
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4