Function at 0x12f0b2e0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x1306a2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebp
push esi
push edi
mov edi, dword [esp + 0x7c]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], ebp
je 0x12f0b394
push edi
call fcn.12e32f00
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x12f0b330
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x27
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [esp + 0x1c]
push str.32770
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12f0b370
mov dword [esp + 0x10], 1
cmp dword [0x13198f68], ebp
je 0x12f0b39c
lea edx, [esp + 0x1c]
push edx
push esi
push 0x13165b6c
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
jmp 0x12f0b39c
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
push ebx
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x12f0b5a0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
xor edi, edi
cmp esi, ebp
je 0x12f0b58e
push 0x1316443c
push esi
call fcn.12f5c46a
add esp, 8
test eax, eax
jne 0x12f0b58e
push 0x13165b5c
push esi
call fcn.12f5c46a
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 8
test eax, eax
jne 0x12f0b463
call ebx
push eax
call fcn.12f8c8a0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.12f8ca00
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x7c], ebp
call fcn.12f46920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.12f41ea0
mov ecx, dword [esp + 0x18]
push 0x13164418
push ecx
call fcn.12f5e1d4
add esp, 8
cmp eax, ebp
je 0x12f0b43c
mov edi, 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0xffffffff
call fcn.12f47220
cmp edi, ebp
je 0x12f0b58e
cmp edi, 1
je 0x12f0b58e
cmp edi, 2
jne 0x12f0b4c2
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebp
push 0x13165b40
push ebp
push ebp
mov dword [esp + 0x28], ebp
call edi
mov esi, eax
cmp esi, ebp
je 0x12f0b5a0
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x12f0b4a2
lea edx, [esp + 0x18]
push edx
push esi
call ebp
call ebx
cmp dword [esp + 0x18], eax
je 0x12f0b4b9
push 0
push 0x13165b40
push esi
push 0
call edi
mov esi, eax
test esi, esi
jne 0x12f0b487
jmp 0x12f0b5a0
mov dword [esp + 0x10], esi
jmp 0x12f0b5a0
cmp edi, 3
jne 0x12f0b5a0
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebp
push 0x13165b14
push ebp
push ebp
call edi
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
xor esi, esi
push 0
push 0x13165b40
push esi
push 0
call edi
mov esi, eax
test esi, esi
je 0x12f0b50b
push esi
call ebp
test eax, eax
je 0x12f0b4e5
test esi, esi
je 0x12f0b50b
push esi
call ebp
test eax, eax
jne 0x12f0b50b
xor esi, esi
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f0b52a
push esi
push ebx
push 0x13165ab0
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
test esi, esi
jne 0x12f0b551
mov eax, dword [0x13198f68]
mov dword [esp + 0x10], ebx
test eax, eax
je 0x12f0b5a0
push 0x13165a80
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
jmp 0x12f0b5a0
push 0
push 0
push 0
push esi
call edi
mov esi, eax
test esi, esi
je 0x12f0b56b
push esi
call ebp
test eax, eax
mov dword [esp + 0x10], esi
jne 0x12f0b56f
mov dword [esp + 0x10], ebx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f0b5a0
push 0x13165a50
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
jmp 0x12f0b5a0
push ebp
push 0x13165b14
push ebp
push ebp
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esp + 0x10], eax
mov eax, dword [0x13198f68]
mov esi, dword [esp + 0x10]
test eax, eax
pop ebx
je 0x12f0b5c8
mov eax, dword [esp + 0x10]
push esi
push eax
push 0x131659fc
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x7c]
test esi, esi
je 0x12f0b5d2
mov eax, esi
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret