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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1306979b
push eax
mov eax, 0x2254
mov dword fs:[0], esp
call fcn.12f5d840
mov eax, dword [0x13198f68]
push ebx
mov ebx, dword [esp + 0x2270]
push ebp
mov ebp, dword [esp + 0x226c]
push esi
test eax, eax
push edi
mov dword [esp + 0x10], ecx
je 0x12efce04
push ebx
push ebp
push 0x1315fd18
push str.PrintWM
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov ecx, dword [esp + 0x10]
push 1
push ebp
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [esp + 0x2280]
push ecx
lea ecx, [esp + 0xb10]
call fcn.12f00090
mov edx, dword [esp + 0x2284]
xor esi, esi
push edx
lea ecx, [esp + 0x14c]
mov dword [esp + 0x2270], esi
call fcn.12eff160
mov byte [esp + 0x226c], 1
mov ecx, 0x535
xor eax, eax
lea edi, [esp + 0xd90]
mov dword [esp + 0xd8c], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0xd8c]
mov ecx, 0x131bb438
push eax
call fcn.12e80060
mov esi, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x131c47f8
call fcn.12f19d10
lea edx, [esp + 0xc8]
push 0x3f
lea eax, [esp + 0xd98]
push edx
push eax
call fcn.12f5c4ab
mov edx, dword [esp + 0xd9c]
mov eax, dword [esp + 0x2284]
add esp, 0xc
or dh, 8
test eax, eax
mov dword [esp + 0xd90], edx
je 0x12efcf00
push 0x103
lea ecx, [esp + 0x2060]
push eax
push ecx
call fcn.12f5c4ab
mov eax, dword [esp + 0xd9c]
add esp, 0xc
or ah, 0x20
mov dword [esp + 0xd8c], 0x14d8
mov dword [esp + 0xd90], eax
lea edx, [esp + 0xd8c]
push edx
call fcn.12ef74f0
mov eax, dword [0x13198f68]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x12efcfb9
mov edx, dword [esp + 0xd8c]
lea eax, [esp + 0x101c]
lea ecx, [esp + 0xe14]
push eax
mov eax, dword [esp + 0xd94]
push ecx
push edx
lea ecx, [esp + 0xda0]
push eax
push ecx
push esi
push 0x1315fcac
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
mov eax, dword [0x13198f68]
add esp, 0x24
cmp eax, edi
je 0x12efcfb9
lea edx, [esp + 0x205c]
lea eax, [esp + 0x1e54]
push edx
lea ecx, [esp + 0x1c50]
push eax
lea edx, [esp + 0x1a4c]
push ecx
lea eax, [esp + 0x1848]
push edx
lea ecx, [esp + 0x1644]
push eax
lea edx, [esp + 0x1440]
push ecx
lea eax, [esp + 0x123c]
push edx
push eax
push 0x1315fc28
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x2c
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0x131bb438
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
call fcn.12e7fbc0
test eax, eax
je 0x12efcff9
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.12ef7540
add esp, 0xc
cmp dword [0x13198f68], edi
je 0x12efd024
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push 0x1315fbdc
push str.watermark
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x48c]
call fcn.12ef2b00
mov ecx, dword [esp + 0xb14]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov byte [esp + 0x226c], 2
mov dword [esp + 0x53c], ecx
mov ecx, 0x9c
lea esi, [esp + 0xb1c]
lea edi, [esp + 0x544]
mov dword [esp + 0x494], ebx
mov dword [esp + 0x49c], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x7b8], edx
mov edx, dword [esp + 0x158]
mov dword [esp + 0x7c0], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x7bc], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x7c4], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x7cc], ecx
mov dword [esp + 0x7c8], eax
mov eax, dword [esp + 0x380]
mov ecx, 0x86
lea esi, [esp + 0x168]
lea edi, [esp + 0x7d4]
mov dword [esp + 0x7d0], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x9ec], eax
mov eax, dword [0x131c4c04]
mov ecx, 0x42
lea esi, [esp + 0x384]
lea edi, [esp + 0x9f0]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x12efd140
push 0x44
call fcn.12f5bf8b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x226c], 3
je 0x12efd12f
mov ecx, eax
call fcn.12ef5890
jmp 0x12efd131
xor eax, eax
mov byte [esp + 0x226c], 2
mov dword [esp + 0xb04], eax
lea ecx, [esp + 0x48c]
call fcn.12ef2c60
mov ebx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x38]
lea ebp, [ebx + 4]
push ebp
call fcn.12f560a0
mov ecx, dword [ebx + 0x70]
lea edi, [ebx + 0x6c]
push 0
push ecx
mov ecx, edi
mov byte [esp + 0x2274], 4
call fcn.12efe6e0
mov esi, eax
lea edx, [esp + 0x48c]
push edx
lea ecx, [esi + 8]
call fcn.12efd6f0
mov eax, dword [edi + 4]
test eax, eax
je 0x12efd194
mov dword [eax], esi
jmp 0x12efd196
mov dword [edi], esi
lea eax, [esp + 0x494]
lea ecx, [ebx + 0x24]
push eax
mov dword [edi + 4], esi
call fcn.12efe390
lea edx, [esp + 0x49c]
lea ecx, [ebx + 0x54]
push edx
mov dword [eax], esi
call fcn.12efe5a0
mov dword [eax], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x226c], 2
call fcn.12f56100
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
push 1
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2274], 5
call fcn.12f560a0
mov eax, dword [ebx + 0x78]
mov edi, dword [edi]
xor ebp, ebp
cmp eax, esi
mov byte [esp + 0x226c], 6
jle 0x12efd240
mov esi, dword [esp + 0x1c]
mov eax, edi
mov edi, dword [edi]
push 0xffffffffffffffff
lea ebx, [eax + 8]
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x20]
call fcn.12efe900
mov edx, dword [esp + 0x18]
lea ecx, [esi + esi*2]
push ebx
lea ecx, [esi + ecx*4]
shl ecx, 7
add ecx, edx
call fcn.12efd6f0
mov edx, dword [esp + 0x10]
inc ebp
cmp ebp, dword [edx + 0x78]
jl 0x12efd207
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
mov byte [esp + 0x226c], 5
call fcn.12f56100
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x14], ebp
jle 0x12efd32f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + ebp + 0x10]
push ecx
call fcn.12ddba90
add esp, 4
test eax, eax
jne 0x12efd290
mov edx, dword [esp + 0x18]
push 0x6ddd00
mov eax, dword [edx + ebp]
lea ecx, [edx + ebp]
call dword [eax + 0x1c]
jmp 0x12efd2a0
mov ecx, dword [esp + 0x18]
push 0x493e0
add ecx, ebp
mov edx, dword [ecx]
call dword [edx + 0x1c]
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x12efd314
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub esi, ecx
dec esi
xor ebx, ebx
lea edi, [eax + ebp]
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
add edi, 0x680
mov eax, ebx
dec ebx
test eax, eax
jne 0x12efd2bd
test esi, esi
je 0x12efd2f8
mov eax, dword [esp + 0x18]
lea ecx, [esi + esi*2]
lea edx, [esi + ecx*4]
lea ecx, [eax + ebp + 0x680]
shl edx, 7
push edx
lea edx, [eax + ebp]
push ecx
push edx
call fcn.12f5c4f0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
dec edx
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
sub ebp, 0x680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
add ebp, 0x680
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x12efd267
lea eax, [ebx + 4]
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.12f560a0
mov eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
mov byte [esp + 0x226c], 7
mov dword [esp + 0x14], esi
jle 0x12efd646
jmp 0x12efd362
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [esi + esi*2]
xor edx, edx
lea esi, [esi + eax*4]
shl esi, 7
lea edi, [ecx + esi + 0x10]
mov ecx, dword [ecx + esi + 0x10]
mov eax, ecx
shr eax, 4
div dword [ebx + 0x58]
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x12efd3a0
mov eax, dword [eax + edx*4]
test eax, eax
je 0x12efd3a0
cmp dword [eax + 8], ecx
je 0x12efd39c
mov eax, dword [eax]
test eax, eax
jne 0x12efd38f
jmp 0x12efd3a0
test eax, eax
jne 0x12efd411
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + esi + 8]
xor edx, edx
mov eax, ecx
shr eax, 4
div dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x12efd3d1
mov eax, dword [eax + edx*4]
test eax, eax
je 0x12efd3d1
cmp dword [eax + 8], ecx
je 0x12efd3cd
mov eax, dword [eax]
test eax, eax
jne 0x12efd3c0
jmp 0x12efd3d1
test eax, eax
jne 0x12efd411
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [eax + esi + 0xc]
mov eax, ecx
shr eax, 4
div dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x12efd631
mov eax, dword [eax + edx*4]
test eax, eax
je 0x12efd631
cmp dword [eax + 8], ecx
je 0x12efd409
mov eax, dword [eax]
test eax, eax
jne 0x12efd3f9
jmp 0x12efd631
test eax, eax
je 0x12efd631
mov ebx, dword [eax + 0xc]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12efd434
mov ecx, dword [edi]
push ecx
push 0x1315fb90
push str.PrintWM
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x54]
lea ebp, [edx + 0x54]
test ecx, ecx
je 0x12efd48e
mov eax, dword [esp + 0x18]
xor edx, edx
mov edi, dword [eax + esi + 0x10]
mov eax, edi
shr eax, 4
div dword [ebp + 4]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x12efd48e
cmp dword [eax + 8], edi
je 0x12efd46d
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x12efd45e
jmp 0x12efd48e
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x54
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
dec eax
mov dword [ecx + 8], eax
jne 0x12efd48e
call fcn.12efe680
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
lea ebp, [eax + 0x24]
test ecx, ecx
je 0x12efd4e8
mov edx, dword [esp + 0x18]
mov edi, dword [edx + esi + 8]
xor edx, edx
mov eax, edi
shr eax, 4
div dword [ebp + 4]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x12efd4e8
cmp dword [eax + 8], edi
je 0x12efd4c7
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x12efd4b8
jmp 0x12efd4e8
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x24
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
dec eax
mov dword [ecx + 8], eax
jne 0x12efd4e8
call fcn.12efe470
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
test ebp, ebp
je 0x12efd53d
mov edx, dword [esp + 0x18]
mov edi, dword [edx + esi + 0xc]
xor edx, edx
mov eax, edi
shr eax, 4
div dword [ecx + 4]
mov eax, dword [ebp + edx*4]
test eax, eax
lea edx, [ebp + edx*4]
je 0x12efd53d
cmp dword [eax + 8], edi
je 0x12efd523
mov edx, eax
mov eax, dword [eax]
test eax, eax
jne 0x12efd514
jmp 0x12efd53d
mov edi, dword [eax]
mov dword [edx], edi
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
dec eax
mov dword [ecx + 8], eax
jne 0x12efd53d
call fcn.12efe4d0
mov eax, dword [esp + 0x18]
mov edx, dword [eax + esi]
lea ecx, [eax + esi]
call dword [edx + 8]
mov ebp, dword [esp + 0x10]
cmp ebx, dword [ebp + 0x6c]
jne 0x12efd55a
mov eax, dword [ebx]
mov dword [ebp + 0x6c], eax
jmp 0x12efd561
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [ecx], edx
cmp ebx, dword [ebp + 0x70]
jne 0x12efd56e
mov eax, dword [ebx + 4]
mov dword [ebp + 0x70], eax
jmp 0x12efd576
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
lea esi, [ebx + 8]
xor edi, edi
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x680
mov ecx, edi
dec edi
test ecx, ecx
jne 0x12efd57b
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x80]
lea esi, [ebp + 0x6c]
cmp edx, eax
jge 0x12efd5b1
mov eax, dword [esi + 8]
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], eax
jmp 0x12efd5ba
push ebx
call fcn.12f5bf80
add esp, 4
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
jne 0x12efd631
mov ebp, dword [esi]
xor ebx, ebx
cmp ebp, ebx
je 0x12efd5eb
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x680
mov eax, edi
dec edi
test eax, eax
jne 0x12efd5d0
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x12efd5cb
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x12efd607
mov esi, dword [eax]
push eax
call fcn.12f5bf80
add esp, 4
cmp esi, ebx
mov eax, esi
jne 0x12efd5f6
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], ebx
cmp eax, ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
je 0x12efd628
mov esi, dword [eax]
push eax
call fcn.12f5bf80
add esp, 4
cmp esi, ebx
mov eax, esi
jne 0x12efd617
lea eax, [edi + 0x6c]
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x12efd35a
lea ecx, [esp + 0x34]
mov byte [esp + 0x226c], 5
call fcn.12f56100
mov esi, dword [esp + 0x18]
mov byte [esp + 0x226c], 2
test esi, esi
je 0x12efd68f
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x12efd686
lea edi, [eax]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x680
dec edi
jne 0x12efd671
mov esi, dword [esp + 0x18]
push esi
call fcn.12f5bf80
add esp, 4
lea ecx, [esp + 0x48c]
mov byte [esp + 0x226c], 1
call fcn.12ef2be0
lea ecx, [esp + 0x148]
mov byte [esp + 0x226c], 0
call fcn.12eff180
lea ecx, [esp + 0xb0c]
mov dword [esp + 0x226c], 0xffffffff
call fcn.12f000c0
mov ecx, dword [esp + 0x2264]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2260
ret 0x14