Function at 0x12f1be20
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, 0x5c
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
push edi
mov edi, ecx
mov eax, 2
push ebx
mov ecx, 0x131c4830
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
call fcn.12f16460
mov esi, dword [edi + 0x28]
test esi, esi
je 0x12f1c24c
mov ebp, dword [edi + 0x24]
test ebp, ebp
jbe 0x12f1c24c
push ebx
mov ecx, 0x131c4830
mov dword [esp + 0x28], ebp
call fcn.12f16460
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x4c]
mov ecx, 0x131c4830
push eax
mov dword [esp + 0x78], ebx
call fcn.12f16d80
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x7c], 1
call fcn.12f1d470
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x12f1c21d
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x74], 2
cmp ebp, 0x5c
mov dword [edi + 0x6c], ebx
mov dword [esp + 0x7c], ebx
jb 0x12f1c188
mov eax, dword [esi + 8]
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x12f1bf2b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 8], eax
jb 0x12f1c0ab
cmp dword [0x13199068], ebx
je 0x12f1bf4f
mov ecx, dword [edi + 0x3c]
mov edx, dword [esi + 0xc]
push ecx
push edx
push str.CWaterMarkScreenDNT::GetSCPolicyAction_1_1___d____d_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0xc]
mov ebp, 1
cmp eax, ebp
jne 0x12f1bf64
cmp dword [edi + 0x3c], ebx
je 0x12f1c0ab
cmp eax, 2
jne 0x12f1bf72
cmp dword [edi + 0x3c], ebx
jne 0x12f1c0ab
cmp dword [0x13199068], ebx
je 0x12f1bf96
mov eax, dword [edi + 0x40]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push str.CWaterMarkScreenDNT::GetSCPolicyAction_1_2__0x_x___0x_x_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x12f1bfa6
test dword [edi + 0x40], eax
je 0x12f1c0ab
cmp dword [esi + 0x20], ebp
jne 0x12f1c0ab
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push esi
mov dword [esp + 0x1c], ebx
call fcn.12f1b930
test eax, eax
je 0x12f1bfd0
cmp dword [esp + 0x14], ebx
je 0x12f1c0ab
jmp 0x12f1bff0
push esi
mov ecx, edi
call fcn.12f1bcf0
test eax, eax
je 0x12f1bfe4
mov eax, dword [esp + 0x7c]
or al, 2
jmp 0x12f1bff6
push esi
mov ecx, edi
call fcn.12f1bbb0
test eax, eax
je 0x12f1bffa
mov eax, dword [esp + 0x7c]
or eax, ebp
mov dword [esp + 0x7c], eax
test byte [esp + 0x7c], 3
jne 0x12f1c11f
cmp dword [0x131c4834], ebx
je 0x12f1c0ab
lea eax, [esp + 0x18]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push esi
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.12f1d540
cmp dword [esp + 0x18], ebx
je 0x12f1c04a
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x28], ebp
or ecx, 4
mov dword [esp + 0x7c], ecx
cmp dword [esp + 0x1c], ebx
je 0x12f1c054
mov dword [esp + 0x20], ebp
cmp eax, ebx
je 0x12f1c0a1
mov dword [edi + 0x6c], ebp
mov ecx, dword [esi + 0x14]
and ecx, 3
cmp cl, 1
jne 0x12f1c0a1
mov ebp, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
lea edx, [ebp + 1]
push edx
call fcn.12ee5f00
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x30]
shl ebp, 4
add ebp, ecx
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp + 0xc], edx
mov ebp, 1
cmp dword [esp + 0x20], ebx
jne 0x12f1c18d
mov ebp, dword [esi + 0x40]
mov ecx, esi
call fcn.12f19030
mov ecx, dword [esi + 0x4c]
lea eax, [eax + ebp + 1]
mov edx, dword [esi + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x50]
shl eax, 1
lea ebx, [ecx + eax + 5]
add ecx, eax
mov eax, dword [esi + 0x44]
lea edx, [edx + ebx*2]
mov ebx, dword [esi + 0x48]
add edx, ebx
mov ebx, dword [esi + 0x54]
add edx, ebx
mov ebx, dword [esi + 0x58]
add edx, ebx
mov ebx, esi
shl edx, 1
sub ebx, edx
mov edx, dword [esp + 0x20]
sub ebx, edx
mov edx, dword [esp + 0x24]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x48]
add edx, ebx
mov ebx, dword [esi + 0x54]
add eax, ecx
mov ecx, dword [esi + 0x58]
add eax, ebx
mov dword [esp + 0x24], edx
add eax, ecx
cmp edx, 0x5c
lea ecx, [ebp + eax*2]
lea esi, [esi + ecx + 0x71]
jb 0x12f1c186
xor ebx, ebx
jmp 0x12f1bf11
mov eax, dword [esi + 0x14]
and eax, 3
cmp eax, ebp
jne 0x12f1c18d
mov ebp, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
lea edx, [ebp + 1]
push edx
call fcn.12ee5f00
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x30]
shl ebp, 4
add ebp, ecx
mov ecx, eax
mov dword [esp + 0x10], 1
mov edx, dword [ecx]
mov dword [ebp], edx
mov edx, dword [ecx + 4]
mov dword [ebp + 4], edx
mov edx, dword [ecx + 8]
mov dword [ebp + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jmp 0x12f1c188
xor ebx, ebx
mov ebp, 1
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x5c]
mov dword [edi + 0x68], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, edi
call fcn.12f1d820
lea edx, [esp + 0x3c]
mov ecx, edi
push edx
call fcn.12f1e520
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x74], 1
cmp eax, ebx
je 0x12f1c1ec
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x74], 0
cmp eax, ebx
je 0x12f1c202
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
cmp eax, ebx
je 0x12f1c251
push eax
call fcn.12f5c050
add esp, 4
jmp 0x12f1c251
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x74], 0
cmp eax, ebx
je 0x12f1c233
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
cmp eax, ebx
je 0x12f1c24c
push eax
call fcn.12f5c050
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
mov esi, 2
cmp eax, ebp
je 0x12f1c264
cmp dword [esp + 0x28], ebp
jne 0x12f1c266
mov esi, ebp
mov eax, dword [0x13199068]
test eax, eax
je 0x12f1c284
push esi
push str.CWaterMarkScreenDNT::GetSCPolicyAction___Action:__d_
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4