Function at 0x10008ca9
Capabilities:
Create thread

Disassembly:
push 0xfc
mov eax, 0x100503cc
call fcn.100352ea
mov esi, ecx
push 0x10055160
lea ecx, [ebp - 0xd8]
call fcn.10002c0b
and dword [ebp - 4], 0
push str.ShowScreenWatermark
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.100059f8
or dword [ebp - 4], 0xffffffff
add esp, 0xc
xor edi, edi
push 0
inc edi
push edi
lea ecx, [ebp - 0xd8]
call fcn.10003081
lea eax, [ebp - 0xb0]
push eax
call fcn.100071f2
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 4], edi
call fcn.100071f2
lea edx, [ebp - 0xb4]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.100084fc
test al, al
jne 0x10008d87
push str._ParseScreenWatermarkRule_failed
call fcn.1001cd2e
pop ecx
lea eax, [ebp - 0xdc]
push eax
call fcn.10002d67
mov byte [ebp - 4], 3
push eax
call fcn.10008a84
pop ecx
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 2
call fcn.10002d9d
lea esi, [ebp - 0x94]
call fcn.1000764e
push dword [ebp - 0x94]
call fcn.10034184
pop ecx
lea esi, [ebp - 0xb0]
call fcn.10009458
xor al, al
call fcn.1003536d
ret
cmp byte [ebp - 0xb4], 0
jne 0x10008da2
lea eax, [ebp - 0xdc]
push eax
call fcn.10002d67
mov byte [ebp - 4], 4
jmp 0x10008d46
lea eax, [ebp - 0xfc]
push eax
call fcn.10002d67
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xa4]
cmp esi, dword [ebp - 0xa0]
jbe 0x10008dc5
call fcn.1003414a
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 0x10008de4
call fcn.1003414a
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10008df3
cmp eax, dword [ebp - 0xb0]
je 0x10008df8
call fcn.1003414a
cmp dword [ebp - 0x70], esi
je 0x10008e25
lea esi, [ebp - 0x74]
call fcn.10017c3d
push eax
lea eax, [ebp - 0xfc]
push eax
lea ebx, [ebp - 0x108]
call fcn.10002dc5
lea edi, [ebp - 0xbc]
call fcn.10009653
jmp 0x10008dd1
lea eax, [ebp - 0xfc]
push eax
call fcn.10008a84
mov esi, dword [ebp - 0xa4]
and dword [ebp - 0x78], 0
pop ecx
cmp esi, dword [ebp - 0xa0]
jbe 0x10008e49
call fcn.1003414a
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 0x10008e6b
call fcn.1003414a
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10008e7a
cmp eax, dword [ebp - 0xb0]
je 0x10008e7f
call fcn.1003414a
cmp dword [ebp - 0x70], esi
je 0x1000910f
mov eax, dword [ebp - 0x78]
inc dword [ebp - 0x78]
lea esi, [ebp - 0x74]
mov dword [ebp - 0x7c], eax
call fcn.10017c3d
push 0x10055308
call fcn.10009154
test eax, eax
jne 0x10008f13
mov dword [ebp - 0xc8], 0xff000000
call fcn.10017c3d
mov ecx, eax
add ecx, ebx
lea edx, [ebp - 0xd4]
call fcn.1000a318
test al, al
je 0x1000903f
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.100092b6
push dword [ebp - 0x98]
lea ecx, [ebp - 0xd4]
call fcn.1000aca5
add esp, 0x1c
test al, al
jne 0x1000902c
movzx eax, byte [ebp - 0x98]
push eax
push str.ShowScreenWatermark_dots
jmp 0x1000905d
call fcn.10017c3d
push 0x10055310
call fcn.10009154
test eax, eax
jne 0x10008f8e
lea eax, [ebp - 0x6c]
push eax
call fcn.1000841a
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.10017c3d
mov ecx, eax
add ecx, ebx
lea edx, [ebp - 0x6c]
call fcn.1000e51b
test al, al
je 0x1000906f
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.100092b6
push dword [ebp - 0x98]
lea edi, [ebp - 0x6c]
call fcn.1000f0f3
add esp, 0x1c
test al, al
je 0x10009084
mov byte [ebp - 4], 5
call fcn.10009113
jmp 0x1000902c
lea esi, [ebp - 0x74]
call fcn.10017c3d
push 0x10055318
call fcn.10009154
test eax, eax
jne 0x10008fca
push eax
push eax
lea edi, [ebp - 0xb4]
call fcn.10008497
push eax
push 0x10008b8f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000902c
lea esi, [ebp - 0x74]
call fcn.10017c3d
push str.qrCode
call fcn.10009154
test eax, eax
jne 0x100090b4
call fcn.10017c3d
mov edx, eax
add edx, ebx
lea edi, [ebp - 0xd8]
call fcn.1000d1b4
test al, al
je 0x10009099
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.100092b6
push dword [ebp - 0x98]
mov ecx, edi
call fcn.1000d7b2
add esp, 0x1c
test al, al
je 0x100090a5
lea edi, [ebp - 0x104]
lea esi, [ebp - 0x74]
call fcn.10009653
jmp 0x10008e58
lea esi, [ebp - 0x74]
call fcn.10017c3d
add eax, ebx
cmp dword [eax + 0x18], 0x10
jb 0x10009054
mov eax, dword [eax + 4]
jmp 0x10009057
add eax, 4
push eax
push 0x10055470
call fcn.1001cd2e
pop ecx
pop ecx
lea eax, [ebp - 0xfc]
jmp 0x10008d53
push str.ShowScreenWatermark_text_parser_watermark_error
call fcn.1001cd2e
pop ecx
lea edi, [ebp - 0x6c]
call fcn.10009113
jmp 0x10009064
movzx eax, byte [ebp - 0x98]
push eax
push str.ShowScreenWatermark_text
call fcn.1001cd2e
pop ecx
jmp 0x10009079
push str.ShowScreenWatermark_qrcode_parser_watermark_error
call fcn.1001cd2e
jmp 0x10009063
movzx eax, byte [ebp - 0x98]
push eax
push str.ShowScreenWatermark_qrcode
jmp 0x1000905d
call fcn.10017c3d
cmp dword [eax + 0x18], 0x10
jb 0x100090c4
mov eax, dword [eax + 4]
jmp 0x100090c7
add eax, 4
push eax
push str.unsupported_watermark_display_mode:__hs
call fcn.1001cd2e
pop ecx
pop ecx
xor bl, bl
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.10002d9d
lea esi, [ebp - 0x94]
call fcn.1000764e
push dword [ebp - 0x94]
call fcn.10034184
pop ecx
lea esi, [ebp - 0xb0]
call fcn.10009458
mov al, bl
jmp 0x10008d81
mov bl, 1
jmp 0x100090d6