Function at 0x10017900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100537d5
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa4]
and dword [esp + 0x44], 0xfffffe00
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0xa4], 1
call fcn.10001660
add esp, 8
test al, al
je 0x10017d4b
cmp byte [esp + 0x44], 7
jne 0x10017d4b
push 4
mov edi, 0xf
push str.time
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 2
call fcn.10001840
mov ebp, 0x10
add esp, 8
mov byte [esp + 0x9c], 1
mov dword [esi], eax
cmp dword [esp + 0x2c], ebp
jb 0x100179e0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100378fa
add esp, 4
push 5
push str.width
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 3
call fcn.10001840
add esp, 8
mov byte [esp + 0x9c], 1
mov dword [esi + 4], eax
cmp dword [esp + 0x2c], ebp
jb 0x10017a34
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100378fa
add esp, 4
push 7
push str.padding
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 4
call fcn.10001840
add esp, 8
mov byte [esp + 0x9c], 1
mov dword [esi + 8], eax
cmp dword [esp + 0x2c], ebp
jb 0x10017a88
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100378fa
add esp, 4
push 6
push str.zIndex
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 5
call fcn.10001840
add esp, 8
mov byte [esp + 0x9c], 1
mov dword [esi + 0xc], eax
cmp dword [esp + 0x2c], ebp
jb 0x10017adc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100378fa
add esp, 4
push 8
push str.location
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 6
call fcn.10001840
add esp, 8
mov byte [esp + 0x9c], 1
mov dword [esi + 0x10], eax
cmp dword [esp + 0x2c], ebp
jb 0x10017b30
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100378fa
add esp, 4
push 0xb
push str.transparent
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 7
call fcn.10001840
add esp, 8
mov byte [esp + 0x9c], 1
mov byte [esi + 0x14], al
cmp dword [esp + 0x2c], ebp
jb 0x10017b84
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100378fa
add esp, 4
push 5
push str.color
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
mov byte [esp + 0xb8], 8
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x10057aef
mov byte [ecx + 4], bl
call fcn.10009b90
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x34]
lea edi, [esp + 0x5c]
call fcn.100019b0
add esp, 0x20
mov byte [esp + 0x9c], 0xa
cmp dword [esp + 0x2c], ebp
jb 0x10017bf8
mov eax, dword [esp + 0x18]
push eax
call fcn.100378fa
add esp, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x88], ebp
jae 0x10017c19
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov edi, 0x10058aa0
call fcn.1001f530
add esp, 8
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
je 0x10017c88
lea esi, [esp + 0x58]
call fcn.10007be0
cmp dword [esp + 0x88], ebp
jb 0x10017c6d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.100378fa
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jmp 0x10017d58
cmp dword [edi + 0x18], ebp
jb 0x10017c96
mov edx, dword [edi + 4]
mov dword [esp + 0x30], edx
jmp 0x10017c9d
lea eax, [edi + 4]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x34], ebp
jb 0x10017cab
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x38], ecx
jmp 0x10017cb2
lea edx, [edi + 0x20]
mov dword [esp + 0x38], edx
cmp dword [edi + 0x50], ebp
jb 0x10017cbc
mov edi, dword [edi + 0x3c]
jmp 0x10017cbf
add edi, 0x3c
push edi
call fcn.10037c3c
movzx eax, al
shl eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.10037c3c
mov ecx, dword [esp + 0x34]
movzx edi, al
or edi, dword [esp + 0x38]
add esp, 4
push ecx
shl edi, 8
call fcn.10037c3c
movzx edx, al
or edx, edi
mov dword [esi + 0x18], edx
add esp, 4
lea esi, [esp + 0x58]
call fcn.10007be0
cmp dword [esp + 0x88], ebp
jb 0x10017d1d
mov eax, dword [esp + 0x74]
push eax
call fcn.100378fa
add esp, 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x9c], 0xffffffff
call fcn.1002565e
mov al, 1
jmp 0x10017d6e
push str.parse_watermark_qrcode_policy_failed:_invalid_json
call fcn.1002e7c9
add esp, 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.1002565e
xor al, al
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100370e4
add esp, 0x8c
ret