Function at 0x417650
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ddc0
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x61de38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x54], 0
je 0x4177ba
mov eax, dword [edi]
push 0x104
mov dword [eax], 2
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0x44
mov esi, 0x6279a8
movlpd qword [ebp - 0x164], xmm0
lea ecx, [ebp - 0x114]
movlpd qword [ebp - 0x15c], xmm0
movlpd qword [ebp - 0x154], xmm0
lea edx, [ecx + 1]
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x120], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417721
sub ecx, edx
lea eax, [ebp + ecx - 0x115]
mov cl, byte [eax]
cmp cl, 0x5c
je 0x417750
cmp cl, 0x2f
je 0x417750
lea ecx, [ebp - 0x114]
cmp eax, ecx
je 0x417750
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x5c
jne 0x417738
lea ecx, [ebp - 0x114]
sub eax, ecx
je 0x41776f
push eax
mov eax, ecx
lea ecx, [ebp - 0x120]
push eax
call fcn.00411530
mov esi, dword [ebp - 0x120]
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x168]
push eax
push esi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4177a8
mov eax, dword [edi]
mov dword [eax], 1
cmp dword [ebp - 0x11c], 0
je 0x4177ba
push esi
call fcn.0041a8f9
add esp, 4
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4177e6
cmp dword [edi + 0x34], 0
je 0x4177d8
push eax
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x30], 0
mov dword [edi + 0x60], vtable.awy::ThreadWhile.0
push dword [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [edi + 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [edi + 0x60]
call fcn.004151d0
lea eax, [edi + 0x84]
mov dword [edi + 0x80], vtable.awy::CriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [edi + 0x58]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 0x58]
mov dword [eax + 4], eax
mov dword [edi + 0x5c], 0
mov ecx, dword [edi + 0x58]
cmp esi, ecx
je 0x417886
nop dword [eax + eax]
cmp dword [esi + 0xc], 0
mov eax, dword [esi]
mov dword [ebp - 0x124], eax
je 0x417859
push dword [esi + 8]
call fcn.0041a8f9
add esp, 4
push 0x14
push esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 8], 0x6279a8
call fcn.0055c9a5
mov esi, dword [ebp - 0x124]
add esp, 8
mov ecx, dword [edi + 0x58]
cmp esi, ecx
jne 0x417840
push 0x14
push ecx
call fcn.0055c9a5
add esp, 8
cmp dword [edi + 0x48], 0
je 0x4178a2
push dword [edi + 0x44]
call fcn.0041a8f9
add esp, 4
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0x6279a8
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4178e7
cmp dword [edi + 0x3c], 0
je 0x4178d5
push eax
mov dword [edi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [edi + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov dword [edi + 0x38], 0
jmp 0x4178ed
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x417915
cmp dword [edi + 0x34], 0
je 0x41790b
push eax
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [edi + 0x30]
push eax
call esi
mov dword [edi + 0x30], 0
lea ecx, [edi + 4]
call fcn.00413130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c6fa
mov esp, ebp
pop ebp
ret