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

Disassembly:
push 0xffffffffffffffff
push 0x1306b788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebx + 4]
push edi
xor edi, edi
cmp esi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], esi
jne 0x12f1dd6a
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
sub esp, 0x10
mov dword [esp + 0x78], edi
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.12f17890
add esp, 0x10
test eax, eax
jne 0x12f1d9fd
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.12f1fe40
cmp dword [0x13198f68], edi
je 0x12f1da47
lea eax, [esp + 0x70]
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.12ffeb40
add esp, 8
mov edx, dword [eax]
mov byte [esp + 0x68], 1
push edx
push 0x1316fe64
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0x80]
mov byte [esp + 0x68], 0
call fcn.12f47220
cmp esi, edi
mov dword [esp + 0x80], edi
jle 0x12f1dbc2
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x1c], esi
cmp dword [0x13198f68], edi
je 0x12f1dac8
mov eax, dword [ebx]
lea edx, [esp + 0x24]
lea ecx, [eax + ebp + 0x210]
push ecx
push edx
call fcn.12ffeb40
add esp, 8
mov ecx, dword [ebx]
mov eax, dword [eax]
add ecx, ebp
mov byte [esp + 0x68], 2
lea edx, [ecx + 8]
mov ecx, dword [ecx]
push edx
mov edx, dword [esp + 0x88]
mov edx, dword [edx]
mov edx, dword [esi + edx + 0xc]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
push 0x1316fdc4
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.12f47220
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
cmp dword [esi + ecx + 0xc], 1
jne 0x12f1db96
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], edi
cmp eax, edi
jle 0x12f1db24
mov edx, dword [ebx]
lea eax, [edx + ebp + 0x210]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov ecx, 4
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x12f1db94
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
inc ecx
add eax, 0x10
cmp ecx, edx
mov dword [esp + 0x18], ecx
jl 0x12f1daf9
xor edi, edi
mov eax, dword [ebx]
sub esp, 0x10
mov edx, esp
lea ecx, [eax + ebp + 0x210]
mov eax, dword [eax + ebp + 0x210]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
call fcn.12f17890
add esp, 0x10
test eax, eax
jne 0x12f1db96
mov esi, dword [esp + 0x34]
mov edx, dword [ebx]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
lea eax, [esi + 1]
lea edi, [edx + ebp + 0x210]
push eax
call fcn.12ee5ef0
mov eax, dword [esp + 0x30]
mov ecx, dword [edi]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
xor edi, edi
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
add esi, 0x10
add ebp, 0x220
cmp eax, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x1c], esi
jl 0x12f1da5e
cmp dword [0x13198f68], edi
je 0x12f1dbe3
mov edx, dword [esp + 0x34]
push edx
push 0x1316fd64
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp dword [esp + 0x34], edi
je 0x12f1dd8f
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
lea eax, [esp + 0x40]
lea ecx, [esp + 0x30]
push eax
mov bl, 3
push ecx
mov ecx, 0x131c4730
mov byte [esp + 0x70], bl
call fcn.12f17700
mov eax, dword [0x13198f68]
mov ebp, dword [esp + 0x44]
cmp eax, edi
je 0x12f1dc39
push ebp
push 0x1316fd04
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp ebp, edi
je 0x12f1dcf9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x88], edi
call fcn.12f1de80
mov esi, eax
mov eax, dword [0x13198f68]
cmp eax, edi
mov dword [esp + 0x20], esi
je 0x12f1dc85
mov eax, dword [esp + 0x84]
push eax
push esi
push 0x1316fc98
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, edi
je 0x12f1de01
mov eax, dword [esp + 0x84]
cmp eax, edi
je 0x12f1de01
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x50]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push esi
mov byte [esp + 0x78], 4
call fcn.12f1dfb0
cmp ebp, dword [esp + 0x54]
jne 0x12f1dda8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x131c4730
call fcn.12f16ee0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x68], bl
cmp eax, edi
je 0x12f1dcf9
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov esi, dword [eax + 0x74]
mov edx, esp
inc esi
mov dword [eax + 0x74], esi
mov eax, dword [esp + 0x80]
mov dword [edx], eax
mov eax, dword [esp + 0x88]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, 0x131c4730
call fcn.12f17840
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
cmp eax, edi
mov byte [esp + 0x68], 0
je 0x12f1dd51
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1de30
jmp 0x12f1de27
cmp dword [0x13198f68], edi
je 0x12f1de66
push 0x1316fc30
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
jmp 0x12f1de41
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1de41
jmp 0x12f1de38
cmp dword [0x13198f68], edi
je 0x12f1ddc4
push 0x1316fbc8
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov eax, dword [esp + 0x50]
mov byte [esp + 0x68], bl
cmp eax, edi
je 0x12f1ddd9
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x40]
mov byte [esp + 0x68], 0
cmp eax, edi
je 0x12f1ddef
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1de30
jmp 0x12f1de27
mov eax, dword [esp + 0x40]
mov byte [esp + 0x68], 0
cmp eax, edi
je 0x12f1de17
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1de30
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x12f1de41
push eax
call fcn.12f5bf80
add esp, 4
cmp dword [0x13198f68], edi
je 0x12f1de66
mov esi, dword [esp + 0x14]
push esi
push 0x1316fb68
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov eax, esi
jmp 0x12f1de6a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x18