Function at 0x100089b4
Capabilities:
Create thread

Disassembly:
push 0xfc
mov eax, 0x1004df5d
call fcn.1003327a
mov esi, ecx
push 0x100530f8
lea ecx, [ebp - 0xd8]
call fcn.100028ae
and dword [ebp - 4], 0
push str.ShowScreenWatermark
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.10005ec7
or dword [ebp - 4], 0xffffffff
add esp, 0xc
xor edi, edi
push 0
inc edi
push edi
lea ecx, [ebp - 0xd8]
call fcn.10002d1a
lea eax, [ebp - 0xb0]
push eax
call fcn.1000b022
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 4], edi
call fcn.1000b022
lea edx, [ebp - 0xb4]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.10008207
test al, al
jne 0x10008a92
push str._ParseScreenWatermarkRule_failed
call fcn.1001cd68
pop ecx
lea eax, [ebp - 0xdc]
push eax
call fcn.10002a00
mov byte [ebp - 4], 3
push eax
call fcn.1000878f
pop ecx
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 2
call fcn.10002a36
lea esi, [ebp - 0x94]
call fcn.10007427
push dword [ebp - 0x94]
call fcn.10032114
pop ecx
lea esi, [ebp - 0xb0]
call fcn.10009144
xor al, al
call fcn.100332fd
ret
cmp byte [ebp - 0xb4], 0
jne 0x10008aad
lea eax, [ebp - 0xdc]
push eax
call fcn.10002a00
mov byte [ebp - 4], 4
jmp 0x10008a51
lea eax, [ebp - 0xfc]
push eax
call fcn.10002a00
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xa4]
cmp esi, dword [ebp - 0xa0]
jbe 0x10008ad0
call fcn.100320da
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
mov esi, dword [ebp - 0xa0]
cmp dword [ebp - 0xa4], esi
jbe 0x10008aef
call fcn.100320da
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10008afe
cmp eax, dword [ebp - 0xb0]
je 0x10008b03
call fcn.100320da
cmp dword [ebp - 0x70], esi
je 0x10008b30
lea esi, [ebp - 0x74]
call fcn.10017cd4
push eax
lea eax, [ebp - 0xfc]
push eax
lea ebx, [ebp - 0x108]
call fcn.10002a5e
lea edi, [ebp - 0xbc]
call fcn.1000933f
jmp 0x10008adc
lea eax, [ebp - 0xfc]
push eax
call fcn.1000878f
mov esi, dword [ebp - 0xa4]
and dword [ebp - 0x78], 0
pop ecx
cmp esi, dword [ebp - 0xa0]
jbe 0x10008b54
call fcn.100320da
mov eax, dword [ebp - 0xb0]
push 0x1c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
pop ebx
mov esi, dword [ebp - 0xa0]
cmp dword [ebp - 0xa4], esi
jbe 0x10008b76
call fcn.100320da
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10008b85
cmp eax, dword [ebp - 0xb0]
je 0x10008b8a
call fcn.100320da
cmp dword [ebp - 0x70], esi
je 0x10008e20
mov eax, dword [ebp - 0x78]
inc dword [ebp - 0x78]
push 0x100532a0
lea esi, [ebp - 0x74]
mov dword [ebp - 0x7c], eax
call fcn.10017cd4
call fcn.10009bca
pop ecx
test al, al
je 0x10008c1f
mov dword [ebp - 0xc8], 0xff000000
call fcn.10017cd4
mov ecx, eax
add ecx, ebx
lea edx, [ebp - 0xd4]
call fcn.1000a13f
test al, al
je 0x10008d50
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.10008fa2
push dword [ebp - 0x98]
lea ecx, [ebp - 0xd4]
call fcn.1000aacc
add esp, 0x1c
test al, al
jne 0x10008d3d
movzx eax, byte [ebp - 0x98]
push eax
push str.ShowScreenWatermark_dots
jmp 0x10008d6e
push 0x100532a8
call fcn.10017cd4
call fcn.10009bca
pop ecx
test al, al
je 0x10008c9b
lea eax, [ebp - 0x6c]
push eax
call fcn.10008125
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.10017cd4
mov ecx, eax
add ecx, ebx
lea edx, [ebp - 0x6c]
call fcn.1000e403
test al, al
je 0x10008d80
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.10008fa2
push dword [ebp - 0x98]
lea edi, [ebp - 0x6c]
call fcn.1000efdb
add esp, 0x1c
test al, al
je 0x10008d95
mov byte [ebp - 4], 5
call fcn.10008e24
jmp 0x10008d3d
push 0x100532b0
lea esi, [ebp - 0x74]
call fcn.10017cd4
call fcn.10009bca
pop ecx
test al, al
je 0x10008cda
push 0
push 0
lea edi, [ebp - 0xb4]
call fcn.100081a2
push eax
push 0x1000889a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10008d3d
push str.qrCode
lea esi, [ebp - 0x74]
call fcn.10017cd4
call fcn.10009bca
pop ecx
test al, al
je 0x10008dc5
call fcn.10017cd4
mov edx, eax
add edx, ebx
lea edi, [ebp - 0xd8]
call fcn.1000d120
test al, al
je 0x10008daa
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.10008fa2
push dword [ebp - 0x98]
mov ecx, edi
call fcn.1000d712
add esp, 0x1c
test al, al
je 0x10008db6
lea edi, [ebp - 0x104]
lea esi, [ebp - 0x74]
call fcn.1000933f
jmp 0x10008b63
lea esi, [ebp - 0x74]
call fcn.10017cd4
add eax, ebx
cmp dword [eax + 0x18], 0x10
jb 0x10008d65
mov eax, dword [eax + 4]
jmp 0x10008d68
add eax, 4
push eax
push 0x10053408
call fcn.1001cd68
pop ecx
pop ecx
lea eax, [ebp - 0xfc]
jmp 0x10008a5e
push str.ShowScreenWatermark_text_parser_watermark_error
call fcn.1001cd68
pop ecx
lea edi, [ebp - 0x6c]
call fcn.10008e24
jmp 0x10008d75
movzx eax, byte [ebp - 0x98]
push eax
push str.ShowScreenWatermark_text
call fcn.1001cd68
pop ecx
jmp 0x10008d8a
push str.ShowScreenWatermark_qrcode_parser_watermark_error
call fcn.1001cd68
jmp 0x10008d74
movzx eax, byte [ebp - 0x98]
push eax
push str.ShowScreenWatermark_qrcode
jmp 0x10008d6e
call fcn.10017cd4
cmp dword [eax + 0x18], 0x10
jb 0x10008dd5
mov eax, dword [eax + 4]
jmp 0x10008dd8
add eax, 4
push eax
push str.unsupported_watermark_display_mode:__hs
call fcn.1001cd68
pop ecx
pop ecx
xor bl, bl
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.10002a36
lea esi, [ebp - 0x94]
call fcn.10007427
push dword [ebp - 0x94]
call fcn.10032114
pop ecx
lea esi, [ebp - 0xb0]
call fcn.10009144
mov al, bl
jmp 0x10008a8c
mov bl, 1
jmp 0x10008de7