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

Disassembly:
push 0xffffffffffffffff
push 0x1306b878
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 0x12f1de3a
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.12f17960
add esp, 0x10
test eax, eax
jne 0x12f1dacd
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.12f1ff10
cmp dword [0x13199068], edi
je 0x12f1db17
lea eax, [esp + 0x70]
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.12ffec10
add esp, 8
mov edx, dword [eax]
mov byte [esp + 0x68], 1
push edx
push str.CWaterMarkScreenDNT::SetLibInfoToHelper_2_DefLibID__s_
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0x80]
mov byte [esp + 0x68], 0
call fcn.12f472f0
cmp esi, edi
mov dword [esp + 0x80], edi
jle 0x12f1dc92
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x1c], esi
cmp dword [0x13199068], edi
je 0x12f1db98
mov eax, dword [ebx]
lea edx, [esp + 0x24]
lea ecx, [eax + ebp + 0x210]
push ecx
push edx
call fcn.12ffec10
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 str.CWaterMarkScreenDNT::SetLibInfoToHelper_21__i___d__hWnd__08x____s____d____s_
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.12f472f0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
cmp dword [esi + ecx + 0xc], 1
jne 0x12f1dc66
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], edi
cmp eax, edi
jle 0x12f1dbf4
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 0x12f1dc64
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
inc ecx
add eax, 0x10
cmp ecx, edx
mov dword [esp + 0x18], ecx
jl 0x12f1dbc9
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.12f17960
add esp, 0x10
test eax, eax
jne 0x12f1dc66
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.12ee5f00
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 0x12f1db2e
cmp dword [0x13199068], edi
je 0x12f1dcb3
mov edx, dword [esp + 0x34]
push edx
push str.CWaterMarkScreenDNT::SetLibInfoToHelper_3___d_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp dword [esp + 0x34], edi
je 0x12f1de5f
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, 0x131c4830
mov byte [esp + 0x70], bl
call fcn.12f177d0
mov eax, dword [0x13199068]
mov ebp, dword [esp + 0x44]
cmp eax, edi
je 0x12f1dd09
push ebp
push str.CWaterMarkScreenDNT::SetLibInfoToHelper_4___d_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp ebp, edi
je 0x12f1ddc9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x88], edi
call fcn.12f1df50
mov esi, eax
mov eax, dword [0x13199068]
cmp eax, edi
mov dword [esp + 0x20], esi
je 0x12f1dd55
mov eax, dword [esp + 0x84]
push eax
push esi
push str.CWaterMarkScreenDNT::SetLibInfoToHelper_5___p____d_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, edi
je 0x12f1ded1
mov eax, dword [esp + 0x84]
cmp eax, edi
je 0x12f1ded1
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.12f1e080
cmp ebp, dword [esp + 0x54]
jne 0x12f1de78
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x131c4830
call fcn.12f16fb0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x68], bl
cmp eax, edi
je 0x12f1ddc9
push eax
call fcn.12f5c050
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, 0x131c4830
call fcn.12f17910
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
cmp eax, edi
mov byte [esp + 0x68], 0
je 0x12f1de21
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1df00
jmp 0x12f1def7
cmp dword [0x13199068], edi
je 0x12f1df36
push str.CWaterMarkScreenDNT::SetLibInfoToHelper_1__ERROR_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
jmp 0x12f1df11
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1df11
jmp 0x12f1df08
cmp dword [0x13199068], edi
je 0x12f1de94
push str.CWaterMarkScreenDNT::SetLibInfoToHelper___ERROR_
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 0x12f1dea9
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x40]
mov byte [esp + 0x68], 0
cmp eax, edi
je 0x12f1debf
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1df00
jmp 0x12f1def7
mov eax, dword [esp + 0x40]
mov byte [esp + 0x68], 0
cmp eax, edi
je 0x12f1dee7
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x12f1df00
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x12f1df11
push eax
call fcn.12f5c050
add esp, 4
cmp dword [0x13199068], edi
je 0x12f1df36
mov esi, dword [esp + 0x14]
push esi
push str.CWaterMarkScreenDNT::SetLibInfoToHelper____d_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov eax, esi
jmp 0x12f1df3a
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