Function at 0x498d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x60], edi
test eax, eax
je 0x4992f8
mov ecx, dword [edi + 0x80]
sub ecx, dword [edi + 0x7c]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x498da1
mov ecx, dword [edi + 0x44]
push eax
push 0x52a4dc
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x40], 0
je 0x498db3
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 2
lea ecx, [ebp - 0xfc]
call fcn.00474880
mov ebx, dword [edi + 0x7c]
cmp ebx, dword [edi + 0x80]
jbe 0x498dd2
call fcn.004eaba2
mov esi, dword [edi + 0x70]
jmp 0x498de0
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x5c], eax
cmp dword [edi + 0x7c], eax
jbe 0x498df3
call fcn.004eaba2
mov eax, dword [edi + 0x70]
test esi, esi
je 0x498dfe
cmp esi, eax
je 0x498e03
call fcn.004eaba2
cmp ebx, dword [ebp - 0x5c]
je 0x499266
test esi, esi
jne 0x4990c0
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x498e25
call fcn.004eaba2
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x38]
push ecx
mov edi, 0xf
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004015f0
cmp dword [ebp - 0x28], 0x14
jbe 0x498ec0
push 0x12
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.004015f0
push 0x5127c4
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00401db0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.004015f0
cmp dword [ebp - 0x40], 0x10
jb 0x498ea0
mov edx, dword [ebp - 0x54]
push edx
call fcn.004ea481
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jb 0x498ec0
mov eax, dword [ebp - 0x78]
push eax
call fcn.004ea481
add esp, 4
lea ecx, [ebp - 0xfc]
push str._li_style_flow:horizontal___
push ecx
call fcn.00474c50
add esp, 8
push str.__div_
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x3c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.004015f0
lea eax, [ebp - 0x58]
push eax
call fcn.004be5b0
add esp, 0x20
push eax
lea ecx, [ebp - 0xfc]
push str._div_class_soft_download3__
push ecx
call fcn.00474c50
add esp, 8
push eax
call fcn.00474a60
add esp, 8
push eax
call fcn.00474c50
add esp, 8
cmp dword [ebp - 0x40], 0x10
jb 0x498f3e
mov edx, dword [ebp - 0x54]
push edx
call fcn.004ea481
add esp, 4
test esi, esi
jne 0x4990c7
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x498f57
call fcn.004eaba2
mov eax, dword [ebx + 0x5c]
push eax
lea ecx, [ebp - 0xfc]
push str._div_class_soft_download3_jdz___div_class_jdt__style_width:0___id_jdt
push ecx
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
test esi, esi
jne 0x4990ce
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x498f8f
call fcn.004eaba2
mov edx, dword [ebx + 0x5c]
push str.__0___div___div_
push edx
lea eax, [ebp - 0xfc]
push str.____div__div_class_soft_download3_text__id_jdt_percent
push eax
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
push eax
call fcn.00474c50
add esp, 8
test esi, esi
jne 0x4990d5
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x498fd5
call fcn.004eaba2
mov ecx, dword [ebx + 0x5c]
push str.__style_width:60px___0KB_S__div__div_class_soft_cont_download3__
push ecx
lea edx, [ebp - 0xfc]
push str._div_id_speed
push edx
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
push eax
call fcn.00474c50
add esp, 8
test esi, esi
jne 0x4990dc
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x49901b
call fcn.004eaba2
sub esp, 0x1c
xor eax, eax
cmp dword [ebx + 0x54], eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], eax
push eax
mov word [ecx + 4], ax
je 0x4990ea
push 0x541aec
call fcn.00402df0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004be980
add esp, 0x20
mov edi, eax
test esi, esi
jne 0x4990e3
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x49906d
call fcn.004eaba2
mov edx, dword [ebx + 0x5c]
push edi
push str.__title_
push edx
lea eax, [ebp - 0xfc]
push str._a_href___id_continue
push eax
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
push eax
call fcn.00474c50
add esp, 8
push eax
call fcn.00474a60
add esp, 8
cmp dword [ebp - 0x40], 0x10
jb 0x4990b6
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004ea481
add esp, 4
push str.___img_src__images_continue.png__width_16__height_16______a_
jmp 0x499169
mov eax, dword [esi]
jmp 0x498e1b
mov eax, dword [esi]
jmp 0x498f4d
mov eax, dword [esi]
jmp 0x498f85
mov eax, dword [esi]
jmp 0x498fcb
mov eax, dword [esi]
jmp 0x499011
mov eax, dword [esi]
jmp 0x499063
push 0x541b08
call fcn.00402df0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004be980
add esp, 0x20
mov edi, eax
test esi, esi
jne 0x499254
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x49911b
call fcn.004eaba2
mov edx, dword [ebx + 0x5c]
push edi
push str.__title_
push edx
lea eax, [ebp - 0xfc]
push str._a_href___id_pause
push eax
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
push eax
call fcn.00474c50
add esp, 8
push eax
call fcn.00474a60
add esp, 8
cmp dword [ebp - 0x40], 0x10
jb 0x499164
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004ea481
add esp, 4
push str.___img_src__images_pause.png__width_16__height_16______a_
lea edx, [ebp - 0xfc]
push edx
call fcn.00474c50
add esp, 8
sub esp, 0x1c
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push 0x541b24
mov word [ecx + 4], ax
call fcn.00402df0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004be980
add esp, 0x20
mov edi, eax
test esi, esi
jne 0x49925b
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4991c5
call fcn.004eaba2
mov edx, dword [ebx + 0x5c]
push edi
push str.__title_
push edx
lea eax, [ebp - 0xfc]
push str._a_href___id_cancel
push eax
call fcn.00474c50
add esp, 8
mov ecx, eax
call fcn.004743a0
push eax
call fcn.00474c50
add esp, 8
push eax
call fcn.00474a60
add esp, 8
cmp dword [ebp - 0x40], 0x10
jb 0x49920e
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004ea481
add esp, 4
lea edx, [ebp - 0xfc]
push str.___img_src__images_esc.png__width_16__height_16______a___div___li_
push edx
call fcn.00474c50
add esp, 8
cmp dword [ebp - 0x24], 0x10
jb 0x499234
mov eax, dword [ebp - 0x38]
push eax
call fcn.004ea481
add esp, 4
test esi, esi
jne 0x499262
call fcn.004eaba2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x499249
call fcn.004eaba2
mov edi, dword [ebp - 0x60]
add ebx, 0x74
jmp 0x498de0
mov eax, dword [esi]
jmp 0x499111
mov eax, dword [esi]
jmp 0x4991bb
mov eax, dword [esi]
jmp 0x49923f
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.0046ec70
mov eax, dword [ebp - 0x1c]
mov esi, 0x10
cmp dword [ebp - 8], esi
jae 0x499285
lea eax, [ebp - 0x1c]
test eax, eax
je 0x4992a0
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4992a0
mov edx, dword [edi + 0x44]
push 0
push ecx
push eax
push edx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementHtml]
jmp 0x4992b1
mov eax, dword [edi + 0x44]
push 0
push 0x52a4dc
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
cmp dword [ebp - 8], esi
jb 0x4992c2
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ea481
add esp, 4
lea ecx, [ebp - 0xb0]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00466c80
lea edx, [ebp - 0xb0]
push edx
mov dword [ebp - 0xb0], vtable.std::ios_base.0
call fcn.004e9c88
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret