Function at 0x4b2ca0
Capabilities:
Check if file exists
Create thread
Get file attributes
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5418fc]
push ebx
push esi
push edi
sub esp, 0x1c
mov esi, ecx
mov ecx, esp
xor ebx, ebx
push 0xc
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.max_download
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov byte [ecx + 4], bl
call fcn.00401900
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.004b2af0
cmp dword [eax + 0x18], 8
jb 0x4b2cf7
mov eax, dword [eax + 4]
jmp 0x4b2cfa
add eax, 4
push eax
call fcn.004eb0b4
add esp, 4
cmp dword [ebp - 0x30], 8
mov dword [0x5418fc], eax
jb 0x4b2d1a
mov edx, dword [ebp - 0x44]
push edx
call fcn.004ea481
add esp, 4
mov eax, dword [0x5418fc]
cmp dword [ebp - 0x28], eax
je 0x4b2d2b
mov dword [ebp - 0x24], 1
sub esp, 0x1c
mov ecx, esp
push 0xd
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.download_path
mov byte [ecx + 4], bl
call fcn.00401900
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.004b2af0
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4b2d5c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b2d89
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4b2d74
lea eax, [ebp - 0x1c]
push ecx
mov ecx, esp
push eax
call fcn.00470300
call fcn.004bf5a0
add esp, 4
test al, al
je 0x4b2dc8
cmp dword [0x541844], 8
mov eax, dword [0x541830]
jae 0x4b2d9c
mov eax, 0x541830
mov edx, dword [0x541840]
push edx
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00460b20
test eax, eax
je 0x4b2dc8
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x54182c
call fcn.00402df0
jmp 0x4b2dcd
cmp dword [ebp - 0x24], ebx
je 0x4b2de2
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x4b2de2
push ebx
push ebx
push 0x11ae
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
sub esp, 0x1c
mov ecx, esp
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.dirver_path
mov byte [ecx + 4], bl
call fcn.00401900
lea edx, [ebp - 0x48]
push edx
mov ecx, esi
call fcn.004b2af0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.00402df0
cmp dword [ebp - 0x30], 8
jb 0x4b2e25
mov eax, dword [ebp - 0x44]
push eax
call fcn.004ea481
add esp, 4
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4b2e31
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b2e5e
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4b2e49
lea eax, [ebp - 0x1c]
push ecx
mov ecx, esp
push eax
call fcn.00470300
call fcn.004bf5a0
add esp, 4
test al, al
je 0x4b2eb0
cmp dword [0x541860], 8
mov eax, dword [0x54184c]
jae 0x4b2e71
mov eax, 0x54184c
mov ecx, dword [0x54185c]
mov edx, dword [ebp - 0xc]
push ecx
push eax
push edx
push ebx
lea ecx, [ebp - 0x20]
call fcn.00460b20
test eax, eax
je 0x4b2eb0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x541848
call fcn.00402df0
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x4b2eb0
push ebx
push ebx
push 0x11af
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
sub esp, 0x1c
mov ecx, esp
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.check_start
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
cmp al, bl
je 0x4b2ee9
push 2
mov dword [0x5418f0], ebx
push 0x51369c
jmp 0x4b2f30
push 0xa
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.check_idle
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
push 2
cmp al, bl
je 0x4b2f21
mov dword [0x5418f0], 1
push 0x51368c
jmp 0x4b2f30
mov dword [0x5418f0], 2
push 0x513688
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, 0x542730
call fcn.004bd020
sub esp, 0x1c
mov ecx, esp
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.update_auto
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
cmp al, bl
je 0x4b2f81
push 3
mov dword [0x5418ec], ebx
push 0x513678
jmp 0x4b2fc8
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.update_none
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
push 3
cmp al, bl
je 0x4b2fb9
mov dword [0x5418ec], 2
push 0x513668
jmp 0x4b2fc8
mov dword [0x5418ec], 1
push 0x513664
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, 0x542730
call fcn.004bd020
mov ecx, dword [0x5418f8]
sub esp, 0x1c
mov dword [ebp - 0x2c], ecx
mov ecx, esp
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.win_hide
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
cmp al, bl
je 0x4b301a
mov dword [0x5418f8], 1
jmp 0x4b304b
sub esp, 0x1c
mov ecx, esp
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.win_show
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
movzx edx, al
neg edx
sbb edx, edx
and edx, 2
mov dword [0x5418f8], edx
sub esp, 0x1c
mov ecx, esp
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.timer_10
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
cmp al, bl
je 0x4b3095
mov dword [0x5418f4], ebx
push 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x51363c
mov byte [ecx + 4], bl
call fcn.00401900
jmp 0x4b3125
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.timer_30
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
cmp al, bl
je 0x4b30db
mov dword [0x5418f4], 2
push 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x51362c
mov byte [ecx + 4], bl
call fcn.00401900
jmp 0x4b3125
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.timer_60
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
sub esp, 0x1c
mov ecx, esp
cmp al, bl
je 0x4b3111
mov dword [0x5418f4], 3
push 0x51361c
jmp 0x4b3120
mov dword [0x5418f4], 1
push 0x513618
call fcn.004013e0
mov ecx, 0x542730
call fcn.004bd020
sub esp, 0x1c
mov ecx, esp
push 0xc
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.start_server
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
mov ecx, esi
cmp al, bl
je 0x4b318d
push 1
call fcn.004b2630
sub esp, 0x1c
mov ecx, esp
mov dword [0x5418d4], 1
push 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x513604
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, 0x542730
call fcn.004bd020
jmp 0x4b3199
push ebx
call fcn.004b2630
mov dword [0x5418d4], ebx
sub esp, 0x1c
mov ecx, esp
push 0xe
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.remove_recycle
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
cmp al, bl
je 0x4b31ee
sub esp, 0x1c
mov ecx, esp
mov dword [0x5418e8], 1
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5135f0
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, 0x542730
call fcn.004bd020
jmp 0x4b31f4
mov dword [0x5418e8], ebx
sub esp, 0x1c
mov ecx, esp
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.show_tip
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
cmp al, bl
je 0x4b3249
sub esp, 0x1c
mov ecx, esp
mov dword [0x5418e4], 1
push 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5135e0
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, 0x542730
call fcn.004bd020
jmp 0x4b324f
mov dword [0x5418e4], ebx
sub esp, 0x1c
mov ecx, esp
push 9
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.show_time
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
xor ecx, ecx
cmp al, bl
setne cl
sub esp, 0x1c
mov dword [esi + 0x48], ecx
mov ecx, esp
push 0xa
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.auto_login
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
xor edx, edx
cmp al, bl
setne dl
sub esp, 0x1c
mov ecx, esp
push 0xa
push str.scan_start
mov dword [0x5418dc], edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
cmp al, bl
je 0x4b32fd
sub esp, 0x1c
mov ecx, esp
mov dword [0x5418e0], 1
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5135b8
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, 0x542730
call fcn.004bd020
jmp 0x4b3303
mov dword [0x5418e0], ebx
sub esp, 0x1c
mov ecx, esp
push 9
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.save_pass
mov byte [ecx + 4], bl
call fcn.00401900
mov ecx, esi
call fcn.004b29a0
xor ecx, ecx
cmp al, bl
setne cl
mov dword [0x5418d8], ecx
mov ecx, 0x5416f0
call fcn.00482930
mov ecx, esi
call fcn.004b2750
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x4b3354
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x44], ebx
lea ecx, [esi + 0x4c]
push str.option_finish_info
call fcn.00465060
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, dword [ebp - 0x28]
je 0x4b3389
push 0x510430
push str.display
push edi
call dword [sym.imp.htmlayout.dll_HTMLayoutSetStyleAttribute]
push str.option_saving
lea ecx, [esi + 0x4c]
call fcn.00465060
mov dword [ebp - 0x24], eax
cmp edi, ebx
je 0x4b33a4
push edi
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, dword [ebp - 0x24]
je 0x4b33cc
push str.inline
push str.display
push edi
call dword [sym.imp.htmlayout.dll_HTMLayoutSetStyleAttribute]
push ebx
push ebx
push esi
push 0x4b25c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x44], eax
mov esi, dword [esi + 0x38]
cmp esi, ebx
je 0x4b33ff
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x5418f8]
je 0x4b33ff
push ebx
push ebx
push 0x11ad
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp edi, ebx
je 0x4b340a
push edi
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
cmp dword [ebp - 8], 8
jb 0x4b341c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ea481
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