Function at 0x41e410
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x460b38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x476cd4]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476cd4]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00418720
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x41e85e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x18], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x18]
lea ebp, [edi + 1]
mov byte [ebp], bl
cmp edx, ebx
je 0x41e4c9
cmp dword [edi + 0x3c], 0x10
jb 0x41e489
mov ecx, dword [edi + 0x28]
jmp 0x41e48c
lea ecx, [edi + 0x28]
cmp dword [edi + 0x20], 8
jb 0x41e497
mov eax, dword [edi + 0xc]
jmp 0x41e49a
lea eax, [edi + 0xc]
movzx edi, byte [edi]
mov ebx, dword [esi]
push edi
push ebp
push ecx
push eax
mov eax, dword [ebx + 0x14]
push edx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
call fcn.00418150
xor ebx, ebx
cmp byte [ebp], 0
je 0x41e85e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xc
mov ebp, 7
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.__installSrv
mov word [ecx + 4], ax
call fcn.00408f40
xor ecx, ecx
push 0x12
mov word [esp + 0x48], cx
push 0x466054
lea ecx, [esp + 0x48]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
call fcn.00408f40
lea edx, [esp + 0x30]
push edx
mov ecx, 0x478750
mov byte [esp + 0xa4], 1
call fcn.00416f70
mov eax, dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
lea edx, [esp + 0x5c]
push edx
push eax
push ecx
mov byte [esp + 0xc8], 2
call fcn.0041e350
add esp, 0xc
mov byte [esp + 0xbc], 4
call fcn.0040f4a0
mov esi, eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x38
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e592
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
mov dword [esp + 0x84], 0xffffffff
cmp dword [esp + 0x3c], edi
jb 0x41e5b5
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0043e711
add esp, 4
cmp esi, 1
jne 0x41e85e
lea edx, [esp + 0x24]
push edx
call fcn.0041ea40
mov ecx, eax
call fcn.0041ecc0
cmp dword [eax + 0x18], edi
jb 0x41e5d9
mov eax, dword [eax + 4]
jmp 0x41e5dc
add eax, 4
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x3c], edi
jb 0x41e5ff
mov eax, dword [esp + 0x28]
push eax
call fcn.0043e711
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
cmp esi, ebx
je 0x41e85e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41e630
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00408f40
push 1
push ebx
lea eax, [esp + 0x1c]
mov esi, 0x20
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x90], 5
mov dword [esp + 0x20], esi
call fcn.0041df60
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.004084e0
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], esi
call fcn.0041e000
inc eax
push eax
lea ecx, [esp + 0x64]
call fcn.004084e0
cmp dword [esp + 0x70], ebx
ja 0x41e6a8
call fcn.004247bb
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x41e6b6
lea eax, [esp + 0x60]
cmp word [eax], 0x22
jne 0x41e6e7
push 1
push 1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], 0x22
call fcn.0040b040
cmp eax, 0xffffffff
je 0x41e6e7
inc eax
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.004084e0
push 0xe
push str.__appdatapath
lea ecx, [esp + 0x64]
call fcn.0041e230
lea eax, [esp + 0x14]
push eax
mov ecx, 0x478750
call fcn.00417010
mov edx, dword [eax]
mov eax, edx
mov byte [esp + 0x84], 6
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e715
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0041e230
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x84], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x41e765
lea esi, [esp + 0x60]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov eax, esi
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x3c], esp
mov word [ecx + 4], dx
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x41e780
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00408f40
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xa4], 7
call fcn.0041ea40
mov ecx, eax
call fcn.0041ec50
cmp dword [eax + 0x18], 8
mov byte [esp + 0xa0], 8
jb 0x41e7c2
mov esi, dword [eax + 4]
jmp 0x41e7c5
lea esi, [eax + 4]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov eax, esi
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x4c], esp
mov word [ecx + 4], dx
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x41e7e0
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00408f40
mov byte [esp + 0xbc], 9
call fcn.0040b5d0
add esp, 0x38
test al, al
mov esi, 8
sete bl
cmp dword [esp + 0x58], esi
jb 0x41e823
mov eax, dword [esp + 0x44]
push eax
call fcn.0043e711
add esp, 4
test bl, bl
je 0x41e834
cmp dword [esp + 0x74], esi
jb 0x41e85e
mov ecx, dword [esp + 0x60]
push ecx
jmp 0x41e856
mov edi, dword [esp + 0x1c]
push 0x2bf20
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x74], esi
jb 0x41e85e
mov edx, dword [esp + 0x60]
push edx
call fcn.0043e711
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043f03d
add esp, 0x74
ret