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

Disassembly:
push 0xffffffffffffffff
push 0x1005441d
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x11c]
mov edi, ecx
cmp dword [edi + 0x18], 0x10
jb 0x10018416
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
mov dword [esp + 0x20], eax
jmp 0x1001841d
lea ecx, [edi + 4]
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10018434
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10009b90
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x11c], ebx
call fcn.10001400
add esp, 8
mov esi, 8
mov byte [esp + 0x114], 1
cmp dword [eax + 0x18], esi
jb 0x10018478
mov eax, dword [eax + 4]
jmp 0x1001847b
add eax, 4
push eax
push str.watermark_cfg:_ls
call fcn.10020dc0
add esp, 8
cmp dword [esp + 0x3c], esi
jb 0x1001849c
mov edx, dword [esp + 0x28]
push edx
call fcn.100378fa
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [esp + 0x114], 0xffffffff
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x100184d3
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100378fa
add esp, 4
cmp dword [edi + 0x18], 0x10
jb 0x100184e1
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
jmp 0x100184e5
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
call fcn.1000fc00
add esp, 4
mov dword [esp + 0x114], 2
cmp byte [esp + 0x64], bl
jne 0x10018769
push str.content
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x10057afb
call fcn.10026324
push eax
lea ecx, [esp + 0x44]
call fcn.1002584c
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x11c], 3
call fcn.10001400
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
push 0
mov byte [esp + 0x11c], 4
mov dword [esp + 0x28], ecx
call fcn.10008d90
cmp dword [esp + 0x3c], esi
jb 0x10018566
mov eax, dword [esp + 0x28]
push eax
call fcn.100378fa
add esp, 4
xor ecx, ecx
mov edi, 0x10
mov byte [esp + 0x114], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], 0
mov word [esp + 0x28], cx
cmp dword [esp + 0x58], edi
jb 0x10018599
mov edx, dword [esp + 0x44]
push edx
call fcn.100378fa
add esp, 4
push str.fontname
lea eax, [esp + 0x60]
push eax
mov ecx, 0x10058b90
call fcn.10026324
push eax
lea ecx, [esp + 0x44]
call fcn.1002584c
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x11c], 5
call fcn.10001400
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x38]
mov byte [esp + 0x11c], 6
call fcn.10008d90
cmp dword [esp + 0x3c], esi
jb 0x100185f4
mov edx, dword [esp + 0x28]
push edx
call fcn.100378fa
add esp, 4
xor eax, eax
mov byte [esp + 0x114], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp dword [esp + 0x58], edi
jb 0x10018622
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100378fa
add esp, 4
push str.fontsize
lea edx, [esp + 0x60]
push edx
mov ecx, 0x10058b9c
call fcn.10026324
mov esi, eax
call fcn.10025943
mov byte [ebp + 0x54], al
push str.fontbold
lea eax, [esp + 0x60]
push eax
mov ecx, 0x10058ba8
call fcn.10026324
mov esi, eax
call fcn.10025943
cmp eax, 1
sete cl
push str.fontitalian
lea edx, [esp + 0x60]
mov byte [ebp + 0x55], cl
push edx
mov ecx, 0x10058bb7
call fcn.10026324
mov esi, eax
call fcn.10025943
cmp eax, 1
push str.zIndex
lea ecx, [esp + 0x60]
sete al
push ecx
mov ecx, 0x1005895e
mov byte [ebp + 0x56], al
call fcn.10026324
mov esi, eax
call fcn.10025943
push str.color
lea edx, [esp + 0x60]
push edx
mov ecx, 0x1005896d
mov dword [ebp + 4], eax
call fcn.10026324
push eax
lea ecx, [esp + 0xec]
call fcn.1002584c
mov byte [esp + 0x114], bl
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], edi
jae 0x100186e5
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x7c]
push eax
mov edi, 0x10058aa0
call fcn.1001f530
add esp, 8
mov byte [esp + 0x114], 8
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 3
je 0x10018784
lea esi, [esp + 0x78]
call fcn.10007be0
cmp dword [esp + 0x100], 0x10
jb 0x1001874b
mov edx, dword [esp + 0xec]
push edx
call fcn.100378fa
add esp, 4
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov dword [esp + 0x100], 0xf
lea esi, [esp + 0x5c]
mov dword [esp + 0x114], 0xffffffff
call fcn.1002565e
xor al, al
jmp 0x10018eca
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x10018797
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], ecx
jmp 0x1001879e
lea edx, [esi + 4]
mov dword [esp + 0x18], edx
cmp dword [esi + 0x34], eax
jb 0x100187a8
mov ebx, dword [esi + 0x20]
jmp 0x100187ab
lea ebx, [esi + 0x20]
cmp dword [esi + 0x50], eax
jb 0x100187b5
mov esi, dword [esi + 0x3c]
jmp 0x100187b8
add esi, 0x3c
push esi
call fcn.10037c3c
movzx edi, al
add esp, 4
push ebx
shl edi, 8
call fcn.10037c3c
movzx esi, al
mov eax, dword [esp + 0x1c]
add esp, 4
or esi, edi
push eax
shl esi, 8
call fcn.10037c3c
movzx ecx, al
add esp, 4
or ecx, esi
push str.color2
lea edx, [esp + 0x60]
mov dword [ebp + 0x2c], ecx
push edx
mov ecx, 0x10058bbe
call fcn.10026324
push eax
lea ecx, [esp + 0x28]
call fcn.1002584c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x120], 9
call fcn.10008c30
mov byte [esp + 0x114], 8
cmp dword [esp + 0x3c], 0x10
jb 0x10018840
mov eax, dword [esp + 0x28]
push eax
call fcn.100378fa
add esp, 4
cmp dword [esp + 0x100], 0x10
mov eax, dword [esp + 0xec]
jae 0x10018858
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x94]
push ecx
mov edi, 0x10058aa0
call fcn.1001f530
add esp, 8
lea edx, [esp + 0x78]
push edx
mov ebx, eax
mov byte [esp + 0x118], 0xa
call fcn.10007c30
lea esi, [esp + 0x90]
mov byte [esp + 0x114], 8
call fcn.10007be0
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
je 0x100188f6
lea esi, [esp + 0x78]
call fcn.10007be0
cmp dword [esp + 0x100], 0x10
jb 0x100188e1
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100378fa
add esp, 4
xor eax, eax
mov dword [esp + 0xfc], eax
mov byte [esp + 0xec], al
jmp 0x1001875e
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x10018909
mov edx, dword [esi + 4]
mov dword [esp + 0x18], edx
jmp 0x10018910
lea ecx, [esi + 4]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x34], eax
jb 0x1001891a
mov ebx, dword [esi + 0x20]
jmp 0x1001891d
lea ebx, [esi + 0x20]
cmp dword [esi + 0x50], eax
jb 0x10018927
mov esi, dword [esi + 0x3c]
jmp 0x1001892a
add esi, 0x3c
push esi
call fcn.10037c3c
movzx edi, al
add esp, 4
push ebx
shl edi, 8
call fcn.10037c3c
mov edx, dword [esp + 0x1c]
movzx esi, al
add esp, 4
or esi, edi
push edx
shl esi, 8
call fcn.10037c3c
add esp, 4
movzx eax, al
push str.rotation
lea ecx, [esp + 0x60]
or eax, esi
push ecx
mov ecx, 0x10058bc8
mov dword [ebp + 0x30], eax
call fcn.10026324
mov esi, eax
call fcn.10025943
push str.transparent
lea edx, [esp + 0x60]
push edx
mov ecx, 0x10058957
mov word [ebp + 0x2a], ax
call fcn.10026324
mov esi, eax
call fcn.10025943
mov byte [ebp + 0x28], al
push str.density
lea eax, [esp + 0x60]
push eax
mov ecx, 0x10058bd3
call fcn.10026324
mov esi, eax
call fcn.10025943
mov cl, 5
imul cl
push str.speed
lea edx, [esp + 0x60]
push edx
mov ecx, 0x10058bd9
mov byte [ebp + 0x29], al
call fcn.10026324
mov esi, eax
call fcn.10025943
add al, al
add al, al
add al, al
mov byte [ebp + 0x34], al
push str.location
lea eax, [esp + 0x60]
push eax
mov ecx, 0x10058a18
call fcn.10026324
mov esi, eax
call fcn.10025943
lea edi, [esp + 0xac]
mov dword [ebp + 8], eax
call fcn.10017eb0
mov bl, 0xb
mov eax, 0x10058bdc
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], bl
call fcn.10007a10
mov eax, 0x10058be0
lea ecx, [esp + 0x40]
mov byte [esp + 0x114], 0xc
call fcn.10007a10
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0xd
push ecx
lea edx, [esp + 0x44]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.1000ca40
add esp, 0xc
cmp dword [esp + 0x58], 8
jb 0x10018a6c
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100378fa
add esp, 4
xor edx, edx
mov byte [esp + 0x114], bl
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], dx
jb 0x10018a9e
mov eax, dword [esp + 0x28]
push eax
call fcn.100378fa
add esp, 4
cmp dword [ebp + 8], 0
jne 0x10018b3f
mov ecx, dword [esp + 0xc4]
mov eax, dword [ecx]
mov esi, dword [esp + 0xac]
mov ebx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0xc4]
xor ebp, ebp
cmp esi, ebp
je 0x10018ad8
cmp esi, dword [esp + 0xac]
je 0x10018add
call fcn.100378c0
cmp ebx, edi
je 0x10018e1a
cmp esi, ebp
jne 0x10018b37
call fcn.100378c0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10018afa
call fcn.100378c0
lea edi, [ebx + 0xc]
cmp esi, ebp
jne 0x10018b3b
call fcn.100378c0
xor esi, esi
cmp ebx, dword [esi + 0x18]
jne 0x10018b12
call fcn.100378c0
mov eax, dword [esp + 0x20]
lea edx, [edi + 0x1c]
push edx
push edi
push eax
call fcn.1000ca40
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.10019370
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x10018ac2
mov eax, dword [esi]
jmp 0x10018af0
mov esi, dword [esi]
jmp 0x10018b08
lea ecx, [esp + 0x90]
push ecx
call fcn.10007ee0
mov ebp, dword [esp + 0x20]
push 0x10058bf0
mov ebx, 2
xor eax, eax
mov edx, ebp
mov byte [esp + 0x118], 0xe
call fcn.10008e40
mov edi, eax
cmp edi, 0xffffffff
je 0x10018cde
lea eax, [edi + 2]
push 0x10058bf8
mov ebx, 2
mov edx, ebp
call fcn.10008e40
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x10018cde
mov ecx, eax
sub ecx, edi
add ecx, ebx
push ebp
mov edx, edi
lea esi, [esp + 0x28]
call fcn.10018f00
mov byte [esp + 0x114], 0xf
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 4]
lea ebx, [ecx + 4]
push eax
push edx
push ecx
call fcn.1000a760
lea ecx, [esp + 0x90]
mov esi, eax
call fcn.1000a800
mov dword [ebx], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov byte [esp + 0x114], 0xe
cmp dword [esp + 0x3c], 8
jb 0x10018bf7
mov eax, dword [esp + 0x28]
push eax
call fcn.100378fa
add esp, 4
mov edx, dword [esp + 0x18]
add edx, 2
push ebp
or ecx, 0xffffffff
lea esi, [esp + 0xd0]
call fcn.10018f00
mov ebx, eax
push ebp
mov ecx, edi
xor edx, edx
lea esi, [esp + 0x44]
mov byte [esp + 0x118], 0x10
call fcn.10018f00
push ebx
push eax
lea edi, [esp + 0x2c]
mov byte [esp + 0x11c], 0x11
call fcn.10019ed0
add esp, 8
push 0xffffffffffffffff
xor esi, esi
push esi
mov ecx, ebp
mov byte [esp + 0x11c], 0x12
call fcn.10008d90
cmp dword [esp + 0x3c], 8
jb 0x10018c64
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100378fa
add esp, 4
xor edx, edx
mov ebx, 8
mov edi, 7
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov word [esp + 0x28], dx
cmp dword [esp + 0x58], ebx
jb 0x10018c90
mov eax, dword [esp + 0x44]
push eax
call fcn.100378fa
add esp, 4
xor ecx, ecx
mov byte [esp + 0x114], 0xe
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
mov word [esp + 0x44], cx
cmp dword [esp + 0xe4], ebx
jb 0x10018cc0
mov edx, dword [esp + 0xd0]
push edx
call fcn.100378fa
add esp, 4
push 0x10058bf0
mov ebx, 2
xor eax, eax
mov edx, ebp
call fcn.10008e40
mov edi, eax
cmp edi, 0xffffffff
jne 0x10018b76
mov ecx, ebp
lea ebx, [esp + 0x90]
call fcn.10007f80
mov eax, 0x10058bdc
lea ecx, [esp + 0xcc]
call fcn.10007a10
mov byte [esp + 0x114], 0x13
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x90]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea ebx, [esp + 0xdc]
lea edi, [esp + 0x34]
call fcn.10019f80
add esp, 0x10
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x11c], 0x14
call fcn.10008d90
mov esi, edi
call fcn.10012b60
mov esi, ebx
mov byte [esp + 0x114], 0xe
call fcn.10012b60
mov eax, dword [esp + 0xc4]
mov eax, dword [eax]
mov esi, dword [esp + 0xac]
mov ebx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
nop
mov edi, dword [esp + 0xc4]
test esi, esi
je 0x10018d84
cmp esi, dword [esp + 0xac]
je 0x10018d89
call fcn.100378c0
cmp ebx, edi
je 0x10018de1
test esi, esi
jne 0x10018dd9
call fcn.100378c0
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10018da2
call fcn.100378c0
lea edi, [ebx + 0xc]
test esi, esi
jne 0x10018ddd
call fcn.100378c0
cmp ebx, dword [esi + 0x18]
jne 0x10018db8
call fcn.100378c0
lea ecx, [edi + 0x1c]
push ecx
push edi
push ebp
call fcn.1000ca40
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.10019370
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x10018d70
mov eax, dword [esi]
jmp 0x10018d98
mov esi, dword [esi]
jmp 0x10018dae
lea ebx, [esp + 0x90]
call fcn.1000a700
mov edx, dword [esp + 0xa4]
push edx
call fcn.100378fa
mov eax, dword [esp + 0x94]
add esp, 4
push eax
mov dword [esp + 0xa8], 0
call fcn.100378fa
add esp, 4
xor ebp, ebp
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x118], 8
call fcn.10018360
mov eax, dword [esp + 0x84]
cmp eax, ebp
je 0x10018e5e
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x88]
push edx
call fcn.1000ebb0
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.100378fa
add esp, 4
mov ecx, dword [esp + 0x78]
push ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
call fcn.100378fa
add esp, 4
cmp dword [esp + 0x100], 0x10
jb 0x10018e9a
mov edx, dword [esp + 0xec]
push edx
call fcn.100378fa
add esp, 4
lea esi, [esp + 0x5c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebp
mov byte [esp + 0xec], 0
mov dword [esp + 0x114], 0xffffffff
call fcn.1002565e
mov al, 1
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.100370e4
add esp, 0x104
ret