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

Disassembly:
push 0xffffffffffffffff
push 0x1306b698
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, 0x131c4730
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
call fcn.12f16390
mov esi, dword [edi + 0x28]
test esi, esi
je 0x12f1c17c
mov ebp, dword [edi + 0x24]
test ebp, ebp
jbe 0x12f1c17c
push ebx
mov ecx, 0x131c4730
mov dword [esp + 0x28], ebp
call fcn.12f16390
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, 0x131c4730
push eax
mov dword [esp + 0x78], ebx
call fcn.12f16cb0
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.12f1d3a0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x12f1c14d
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 0x12f1c0b8
mov eax, dword [esi + 8]
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x12f1be5b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 8], eax
jb 0x12f1bfdb
cmp dword [0x13198f68], ebx
je 0x12f1be7f
mov ecx, dword [edi + 0x3c]
mov edx, dword [esi + 0xc]
push ecx
push edx
push 0x1316e90c
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0xc]
mov ebp, 1
cmp eax, ebp
jne 0x12f1be94
cmp dword [edi + 0x3c], ebx
je 0x12f1bfdb
cmp eax, 2
jne 0x12f1bea2
cmp dword [edi + 0x3c], ebx
jne 0x12f1bfdb
cmp dword [0x13198f68], ebx
je 0x12f1bec6
mov eax, dword [edi + 0x40]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push 0x1316e898
push str.WaterMark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x12f1bed6
test dword [edi + 0x40], eax
je 0x12f1bfdb
cmp dword [esi + 0x20], ebp
jne 0x12f1bfdb
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push esi
mov dword [esp + 0x1c], ebx
call fcn.12f1b860
test eax, eax
je 0x12f1bf00
cmp dword [esp + 0x14], ebx
je 0x12f1bfdb
jmp 0x12f1bf20
push esi
mov ecx, edi
call fcn.12f1bc20
test eax, eax
je 0x12f1bf14
mov eax, dword [esp + 0x7c]
or al, 2
jmp 0x12f1bf26
push esi
mov ecx, edi
call fcn.12f1bae0
test eax, eax
je 0x12f1bf2a
mov eax, dword [esp + 0x7c]
or eax, ebp
mov dword [esp + 0x7c], eax
test byte [esp + 0x7c], 3
jne 0x12f1c04f
cmp dword [0x131c4734], ebx
je 0x12f1bfdb
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.12f1d470
cmp dword [esp + 0x18], ebx
je 0x12f1bf7a
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x28], ebp
or ecx, 4
mov dword [esp + 0x7c], ecx
cmp dword [esp + 0x1c], ebx
je 0x12f1bf84
mov dword [esp + 0x20], ebp
cmp eax, ebx
je 0x12f1bfd1
mov dword [edi + 0x6c], ebp
mov ecx, dword [esi + 0x14]
and ecx, 3
cmp cl, 1
jne 0x12f1bfd1
mov ebp, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
lea edx, [ebp + 1]
push edx
call fcn.12ee5ef0
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 0x12f1c0bd
mov ebp, dword [esi + 0x40]
mov ecx, esi
call fcn.12f18f60
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 0x12f1c0b6
xor ebx, ebx
jmp 0x12f1be41
mov eax, dword [esi + 0x14]
and eax, 3
cmp eax, ebp
jne 0x12f1c0bd
mov ebp, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
lea edx, [ebp + 1]
push edx
call fcn.12ee5ef0
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 0x12f1c0b8
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.12f1d750
lea edx, [esp + 0x3c]
mov ecx, edi
push edx
call fcn.12f1e450
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x74], 1
cmp eax, ebx
je 0x12f1c11c
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x74], 0
cmp eax, ebx
je 0x12f1c132
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
cmp eax, ebx
je 0x12f1c181
push eax
call fcn.12f5bf80
add esp, 4
jmp 0x12f1c181
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x74], 0
cmp eax, ebx
je 0x12f1c163
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
cmp eax, ebx
je 0x12f1c17c
push eax
call fcn.12f5bf80
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
mov esi, 2
cmp eax, ebp
je 0x12f1c194
cmp dword [esp + 0x28], ebp
jne 0x12f1c196
mov esi, ebp
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f1c1b4
push esi
push 0x1316e828
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