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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306bf1b
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xbc]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x12f25df7
test byte [esi + 0x18], 2
mov eax, dword [0x13198f68]
jne 0x12f25ddb
mov ebp, dword [esp + 0xc4]
cmp eax, ebx
je 0x12f25847
mov eax, dword [esp + 0xc8]
push eax
push ebp
push 0x13172a50
push 0x13171b4c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov edi, dword [esi + 0x18]
push 0x20000
or edi, 4
mov dword [esi + 0x18], edi
call fcn.12e6efc0
add esp, 4
test eax, eax
je 0x12f25df7
mov ecx, 0x131c0830
call fcn.12ec0920
test eax, eax
jne 0x12f25896
call fcn.12d92e70
test eax, eax
jne 0x12f25896
call fcn.12e76610
cmp dword [0x13196cc4], eax
je 0x12f25896
call fcn.12d91a00
test eax, eax
je 0x12f25df7
cmp dword [esp + 0xc8], ebx
je 0x12f25df7
cmp ebp, ebx
je 0x12f25df7
lea ecx, [esp + 0x8c]
call fcn.12f4cba0
xor ecx, ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov edx, dword [0x131c7bdc]
mov eax, dword [0x131c7be0]
mov ecx, dword [0x131c7be4]
mov byte [esp + 0xb8], 1
mov dword [esp + 0x80], edx
lea edx, [esp + 0x6c]
mov esi, 0xf
push edx
push ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x24], ebx
call fcn.12f24240
add esp, 8
test eax, eax
je 0x12f2594f
lea eax, [esp + 0x7c]
push 4
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.12f225f0
add esp, 0xc
test eax, eax
je 0x12f2594f
mov edi, 1
mov dword [esp + 0x1c], edi
jmp 0x12f25954
mov edi, 1
mov ecx, 0x131c0830
call fcn.12ec0920
test eax, eax
je 0x12f25966
mov dword [esp + 0x1c], edi
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12f25c43
push 0x13172a34
push 4
mov ecx, 0x13198edc
call fcn.12eb17f0
test eax, eax
je 0x12f25c43
lea ecx, [esp + 0x20]
call fcn.12f4cba0
lea ecx, [esp + 0x68]
mov byte [esp + 0xb8], 2
call fcn.12d96680
mov edx, dword [ebp]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x9c]
push eax
push ecx
mov byte [esp + 0xc0], 3
push ebp
mov word [esp + 0xa8], si
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb8], edi
call dword [edx + 0xc]
mov esi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12f25a0f
mov edx, dword [esp + 0x14]
push edx
push esi
push 0x131729e0
push str.SCDTFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, ebx
jl 0x12f25a39
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [esp + 0x20]
push ecx
push 5
push eax
call fcn.12f3e310
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, ebx
jle 0x12f25a71
cmp dword [0x13198f68], ebx
je 0x12f25a68
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + esi*4]
push ecx
push esi
push 0x13172988
push str.SCDTFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x12f25a43
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
call fcn.12f4cc10
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
call fcn.12d96a80
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
mov esi, eax
mov eax, dword [ebp]
push ecx
push edx
push ebp
mov word [esp + 0x3c], si
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], edi
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12f25ae2
mov eax, dword [esp + 0x14]
push eax
push edi
push esi
push 0x13172928
push str.ClipBoard
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
cmp edi, ebx
jl 0x12f25b3c
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.12d96d10
mov eax, dword [esp + 0x2c]
add esp, 8
xor esi, esi
cmp eax, ebx
jle 0x12f25b30
cmp dword [0x13198f68], ebx
je 0x12f25b27
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + esi*4]
push ecx
push esi
push 0x131728c4
push str.SCDTFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x12f25b02
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
call fcn.12f4cc10
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
call fcn.12f4cc10
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
call fcn.12d96ac0
mov word [esp + 0x44], ax
mov eax, 1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp]
push ecx
push edx
push ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], 0xffffffff
call dword [eax + 0xc]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0xc0], 4
call fcn.12d97120
mov eax, dword [esp + 0x64]
add esp, 8
xor edi, edi
cmp eax, ebx
jle 0x12f25bfe
xor esi, esi
cmp dword [0x13198f68], ebx
je 0x12f25bef
mov eax, dword [esp + 0x58]
mov edx, dword [esi + eax]
mov ecx, dword [esi + eax + 4]
push edx
lea edx, [esi + eax + 8]
push ecx
push edx
push edi
push 0x1317284c
push str.SCDTFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
mov eax, dword [esp + 0x5c]
inc edi
add esi, 0x214
cmp edi, eax
jl 0x12f25bc0
mov eax, dword [esp + 0x58]
mov byte [esp + 0xb8], 3
cmp eax, ebx
je 0x12f25c17
push eax
call fcn.12f5bf80
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0xb8], 2
call fcn.12d966c0
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 1
call fcn.12f4cbb0
mov esi, 0xf
mov edi, 1
cmp dword [esp + 0x1c], ebx
je 0x12f25daa
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
push ebp
mov word [esp + 0x50], si
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], edi
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12f25c9c
mov eax, dword [esp + 0x14]
push eax
push esi
push 0x131729e0
push str.ClipBoard
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, ebx
jl 0x12f25ccb
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea edx, [esp + 0x8c]
push edx
push 5
push eax
call fcn.12f3e310
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x12f25d49
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call fcn.12d96a80
mov edx, dword [ebp]
mov esi, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebp
mov word [esp + 0x3c], si
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], edi
call dword [edx + 0xc]
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12f25d30
mov edx, dword [esp + 0x14]
push edx
push edi
push esi
push 0x13172928
push str.ClipBoard
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
cmp edi, ebx
jl 0x12f25d49
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
push eax
push ecx
call fcn.12d96d10
add esp, 8
mov eax, dword [0x13171a80]
xor edi, edi
cmp eax, ebx
jbe 0x12f25d91
mov esi, 0x13171a40
cmp dword [esi - 0x10], 4
jne 0x12f25d84
cmp dword [esi], ebx
jne 0x12f25d84
mov edx, dword [0x13171a84]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
push edx
mov edx, dword [esp + 0xcc]
push eax
push ecx
push edx
mov ecx, 0x131c7b90
call fcn.12f22b00
mov eax, dword [0x13171a80]
inc edi
add esi, 0x14
cmp edi, eax
jb 0x12f25d59
mov ecx, dword [esp + 0xc8]
lea eax, [esp + 0x8c]
push eax
push ebp
push ecx
call fcn.12f261d0
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xb8], bl
cmp eax, ebx
je 0x12f25dc2
push eax
call fcn.12f5bf80
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0xb8], 0xffffffff
call fcn.12f4cbb0
jmp 0x12f25df7
cmp eax, ebx
je 0x12f25df7
mov edx, dword [esi + 0x28]
push edx
push 0x13172810
push 0x13171b4c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret