Function at 0x41e850
Capabilities:
Accept command line arguments
Open clipboard
Set current directory
Write clipboard data

Disassembly:
sub esp, 0x12c
push ebp
push edi
push esi
push ebx
add esp, 0xfffffff8
push 0xf031f
push 0x9001f
call fcn.004f1ed0
call fcn.004202cc
call sub.KERNEL32.dll_GetCommandLineW
mov ebp, eax
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call sub.KERNEL32.dll_WideCharToMultiByte
mov ebx, eax
add esp, 0xfffffff8
push 1
push ebx
call fcn.004f1e60
mov edi, eax
add esp, 0x20
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call sub.KERNEL32.dll_WideCharToMultiByte
cmp dword [0x4f5fb0], 0
je 0x41e9c0
add esp, 0xfffffff4
push 0
call sub.USER32.dll_GetTopWindow
mov esi, eax
add esp, 0xc
lea ebx, [esp + 0x20]
jmp 0x41e8e8
add esp, 0xfffffff8
push 2
push esi
call sub.USER32.dll_GetWindow
mov esi, eax
add esp, 8
test esi, esi
je 0x41e9c0
add esp, 0xfffffffc
push 0x50
push ebx
push esi
call sub.USER32.dll_GetClassNameA
add esp, 0xfffffffc
push ebx
push 0x52c9d0
call fcn.004f1e48
add esp, 0x10
test eax, eax
jne 0x41e8d8
add esp, 0xfffffff4
push ebp
call fcn.004f1e40
lea ebx, [eax*2 + 2]
add esp, 0xfffffff8
push ebx
push 0x2002
call sub.KERNEL32.dll_GlobalAlloc
mov edi, eax
add esp, 0xfffffffc
push edi
call sub.KERNEL32.dll_GlobalLock
add esp, 0xfffffff8
push ebx
push ebp
push eax
call fcn.004f1e98
add esp, 0x30
add esp, 0xfffffff4
push edi
call sub.KERNEL32.dll_GlobalUnlock
push 0
call sub.USER32.dll_OpenClipboard
add esp, 0xfffffffc
call sub.USER32.dll_EmptyClipboard
add esp, 0xfffffff8
push edi
push 0xd
call sub.USER32.dll_SetClipboardData
add esp, 0xfffffff8
call sub.USER32.dll_CloseClipboard
add esp, 0x20
add esp, 0xfffffff4
push esi
call sub.USER32.dll_IsIconic
add esp, 0xc
test eax, eax
je 0x41e994
add esp, 0xfffffff8
push 9
push esi
call sub.USER32.dll_ShowWindow
add esp, 8
add esp, 0xfffffff4
push esi
call sub.USER32.dll_SetForegroundWindow
push esi
call sub.USER32.dll_SetActiveWindow
add esp, 0xfffffffc
push 0
push 0
push dword [0x4f5e70]
push esi
call sub.USER32.dll_PostMessageA
jmp 0x41ec91
add esp, 0xfffffff8
push 0x4f5e94
push edi
call fcn.0041ad5c
add esp, 0x10
test eax, eax
jne 0x41e9e4
add esp, 0xfffffff4
push 1
call fcn.0042666c
jmp 0x41ec91
cmp dword [0x4f5fc8], 0
jne 0x41ea20
cmp byte [0x52c860], 0
jne 0x41ea20
call fcn.0041e6f4
mov dword [0x4f5e74], eax
test eax, eax
jne 0x41ea20
call fcn.00425eac
test eax, eax
jne 0x41ea20
call fcn.00425ffc
test eax, eax
jne 0x41ea20
mov eax, 0xffffffff
jmp 0x41ec94
mov dword [0x4f5fc8], 0
cmp dword [0x52c700], 0
je 0x41ea57
cmp dword [0x4f5e64], 0
je 0x41ea57
push 0
push 0
push dword [0x4f5e68]
push 0xffff
call sub.USER32.dll_PostMessageA
xor eax, eax
jmp 0x41ec94
call fcn.004f1e38
add esp, 0xfffffff4
push 0
call sub.OLE32.dll_OleInitialize
add esp, 0xc
cmp dword [0x4f5fc8], 0
je 0x41eafe
add esp, 0xfffffff4
push 0
call fcn.004f1de0
mov dword [esp + 0x2c], eax
add esp, 0xfffffff4
push 0x41e74d
call fcn.0041c864
add esp, 0x20
add esp, 0xfffffff4
add esp, 0xfffffff4
lea eax, [esp + 0x34]
push eax
call fcn.004f1e78
push eax
call fcn.0041c864
add esp, 0x20
cmp dword [0x52c700], 0
je 0x41eac0
add esp, 0xfffffff4
push 0x41e750
jmp 0x41eac8
add esp, 0xfffffff4
push 0x52c4c0
call fcn.0041c864
add esp, 0x10
add esp, 0xfffffff4
push 0x41e760
call fcn.0041c864
add esp, 0xfffffff4
push dword [0x5294b0]
call fcn.0041c864
add esp, 0x20
add esp, 0xfffffff4
push 0x41d2e5
call fcn.0041c864
add esp, 0x10
call fcn.00425c5c
add esp, 0xfffffff4
push 0x41e624
call fcn.004f1e30
call fcn.00422994
call fcn.00422688
call fcn.00421d10
call fcn.0041cc7c
call fcn.00421b40
add esp, 0x10
cmp dword [0x4f5e74], 0
jne 0x41eb64
add esp, 0xfffffff4
add esp, 0xfffffff4
push 0x52c860
call fcn.00420ff4
push eax
call fcn.00425e20
mov dword [0x4f5e78], eax
add esp, 0x20
test eax, eax
jne 0x41eb64
add esp, 0xfffffff4
push 2
call fcn.0042666c
add esp, 0x10
add esp, 0xfffffffc
push 0
push 0
push 0
call sub.KERNEL32.dll_CreateMutexA
mov dword [0x4f5fe0], eax
add esp, 0xfffffff4
push 0
push 0
push 1
push 0
call sub.KERNEL32.dll_CreateEventA
mov dword [0x4f5fe4], eax
mov esi, dword [0x4f5e78]
add esi, 0x400000
call fcn.0041c820
add esp, 0x10
cmp byte [0x52c860], 0
je 0x41ebdc
add esp, 0xfffffff8
push 0x52c860
lea ebx, [esp + 0x2c]
push ebx
call fcn.004f1e08
add esp, 0xfffffff8
push 0x5c
push ebx
call fcn.004f1e28
add esp, 0x20
test eax, eax
je 0x41ebdc
mov byte [eax], 0
add esp, 0xfffffff4
push ebx
call sub.KERNEL32.dll_SetCurrentDirectoryA
add esp, 0xc
call fcn.004261c0
cmp dword [0x4f5fc4], 0
je 0x41ec09
cmp dword [0x4f5fc8], 0
je 0x41ebfc
cmp dword [0x52c700], 0
je 0x41ec09
add esp, 0xfffffff4
push 1
call fcn.0041cbbc
add esp, 0x10
mov eax, dword [0x4f5e74]
test eax, eax
jne 0x41ec31
add esp, 0xfffffff8
push 0x41e84c
push 0x52c860
call fcn.0046a284
mov dword [0x4f5e74], eax
push 0
push 0
push esi
push eax
jmp 0x41ec43
add esp, 0xfffffff4
push eax
call fcn.0046a38c
push edx
push eax
push esi
push dword [0x4f5e74]
call fcn.00417b3c
add esp, 0x20
add esp, 0xfffffff4
push dword [0x4f5e74]
call fcn.0046a264
add esp, 0x10
cmp dword [0x4f5fc4], 0
je 0x41ec6a
call fcn.004263ec
call fcn.00422838
add esp, 0xfffffff4
call fcn.00406808
push eax
call fcn.00423fb4
call fcn.004d9b44
call fcn.00407e28
call fcn.0041c83c
mov eax, 1
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x12c
ret