Function at 0x56e050
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x114c
call fcn.005e1650
mov eax, dword [0x6f853c]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x1070], ebx
mov dword [ebp - 0x14], eax
mov dword [esi], 0x67c6d4
cmp dword [0x6fafd4], ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10e8], esi
je 0x56e0ba
push 0x690a10
lea eax, [ebp - 0x10ac]
push eax
mov dword [ebp - 0x10ac], str.Object_already_exist.
call fcn.005e0f72
mov dword [0x6fafd4], esi
mov dword [ebp - 4], ebx
mov dword [esi], 0x67c750
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push edi
mov dword [ebp - 0x1074], 7
mov dword [ebp - 0x1078], ebx
mov word [ebp - 0x1088], bx
call fcn.005e179f
add esp, 4
push eax
push edi
lea ecx, [ebp - 0x108c]
call fcn.004061f0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x108c]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00405fd0
cmp dword [ebp - 0x1074], 8
mov byte [ebp - 4], 2
jb 0x56e160
mov edx, dword [ebp - 0x1088]
push edx
call fcn.005e0f6d
add esp, 4
lea ecx, [ecx]
push 1
push ebx
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x106c], 0x5c
call fcn.0055a820
cmp eax, 0xffffffff
jne 0x56e558
push str..exe
call fcn.005e179f
add esp, 4
push eax
push ebx
push str..exe
lea ecx, [ebp - 0x30]
call fcn.0055a820
push eax
push ebx
lea ecx, [ebp - 0x10a8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040dbb0
push 0xffffffffffffffff
push ebx
mov edi, 7
push eax
lea ecx, [ebp - 0x108c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x1074], edi
mov dword [ebp - 0x1078], ebx
mov word [ebp - 0x1088], bx
call fcn.00405fd0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x108c]
push edx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00405fd0
cmp dword [ebp - 0x1074], 8
jb 0x56e20b
mov eax, dword [ebp - 0x1088]
push eax
call fcn.005e0f6d
add esp, 4
cmp dword [ebp - 0x1090], 8
mov dword [ebp - 0x1074], edi
mov dword [ebp - 0x1078], ebx
mov word [ebp - 0x1088], bx
mov byte [ebp - 4], 2
jb 0x56e23a
mov ecx, dword [ebp - 0x10a4]
push ecx
call fcn.005e0f6d
add esp, 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x56e246
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x56e54b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x56e26b
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x98
mov dword [esi + 4], eax
call fcn.005dfe81
add esp, 4
mov dword [ebp - 0x106c], eax
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x56e337
push 4
push str.pack
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0x1090], 0xf
mov dword [ebp - 0x1094], ebx
mov byte [ebp - 0x10a4], bl
call fcn.00401500
mov eax, dword [ebp - 0x1070]
mov edx, dword [ebp + 8]
or eax, 1
mov dword [ebp - 0x1070], eax
mov eax, edx
mov byte [ebp - 4], 9
mov dword [ebp - 0x1074], 0xf
mov dword [ebp - 0x1078], ebx
mov byte [ebp - 0x1088], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x56e2f0
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x108c]
call fcn.00401500
mov eax, dword [ebp - 0x1070]
mov ecx, dword [ebp - 0x106c]
or eax, 2
lea edx, [ebp - 0x10a8]
mov dword [ebp - 0x1070], eax
push edx
lea eax, [ebp - 0x108c]
push eax
mov dword [ebp - 4], 0xa
call fcn.005ae860
jmp 0x56e339
xor eax, eax
mov dword [esi + 0x10], eax
test byte [ebp - 0x1070], 2
je 0x56e384
mov ecx, dword [ebp - 0x1070]
mov eax, dword [ebp - 0x1074]
and ecx, 0xfffffffd
cmp eax, 0x10
mov dword [ebp - 0x1070], ecx
jb 0x56e36e
mov ecx, dword [ebp - 0x1088]
push ecx
call fcn.005e0f6d
add esp, 4
mov dword [ebp - 0x1074], 0xf
mov dword [ebp - 0x1078], ebx
mov byte [ebp - 0x1088], bl
test byte [ebp - 0x1070], 1
mov dword [ebp - 4], 2
je 0x56e3ac
cmp dword [ebp - 0x1090], 0x10
jb 0x56e3ac
mov edx, dword [ebp - 0x10a4]
push edx
call fcn.005e0f6d
add esp, 4
push 0x28
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xd
je 0x56e3cd
call fcn.005a9280
jmp 0x56e3cf
xor eax, eax
push 0x2c
mov byte [ebp - 4], 2
mov dword [esi + 0x18], eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xe
je 0x56e3f7
call fcn.005a0510
jmp 0x56e3f9
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov byte [ebp - 4], 2
jne 0x56e412
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.0056d8f0
push 0x2a0
mov edi, eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xf
je 0x56e439
push edi
call fcn.0057c8d0
jmp 0x56e43b
xor eax, eax
push 0xc234
mov byte [ebp - 4], 2
mov dword [esi + 8], eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x10
je 0x56e471
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0058f1d0
jmp 0x56e473
xor eax, eax
push 0x50
mov byte [ebp - 4], 2
mov dword [esi + 0xc], eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x11
je 0x56e49b
call fcn.0053ad90
jmp 0x56e49d
xor eax, eax
push 0x28
mov byte [ebp - 4], 2
mov dword [esi + 0x1c], eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x12
je 0x56e4c5
call fcn.00597ea0
jmp 0x56e4c7
xor eax, eax
push 0x14
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x13
je 0x56e4ef
call fcn.00593780
jmp 0x56e4f1
xor eax, eax
push 0x20
mov byte [ebp - 4], 2
mov dword [esi + 0x20], eax
call fcn.005dfe81
mov ecx, eax
add esp, 4
mov dword [ebp - 0x106c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x14
je 0x56e519
call fcn.00591990
mov ebx, eax
cmp dword [ebp - 0x18], 8
mov dword [esi + 0x28], ebx
jb 0x56e52e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.005e1637
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
call fcn.005e1c2c
mov edx, dword [ebp - 0x1c]
sub edx, eax
dec edx
push edx
inc eax
push eax
lea eax, [ebp - 0x10a8]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040dbb0
push 0xffffffffffffffff
push ebx
mov edi, 7
push eax
lea ecx, [ebp - 0x108c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1074], edi
mov dword [ebp - 0x1078], ebx
mov word [ebp - 0x1088], bx
call fcn.00405fd0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x108c]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00405fd0
cmp dword [ebp - 0x1074], 8
jb 0x56e5c9
mov edx, dword [ebp - 0x1088]
push edx
call fcn.005e0f6d
add esp, 4
cmp dword [ebp - 0x1090], 8
mov dword [ebp - 0x1074], edi
mov dword [ebp - 0x1078], ebx
mov word [ebp - 0x1088], bx
mov byte [ebp - 4], 2
jb 0x56e5f8
mov eax, dword [ebp - 0x10a4]
push eax
call fcn.005e0f6d
add esp, 4
mov dword [ebp - 0x1090], edi
mov dword [ebp - 0x1094], ebx
mov word [ebp - 0x10a4], bx
jmp 0x56e160