Function at 0x41a160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf128
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x14]
push eax
call fcn.00405c20
mov ecx, eax
call fcn.0043fe50
mov ecx, 0x61b534
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a1ca
test dx, dx
je 0x41a1c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a1ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a1a4
xor eax, eax
jmp 0x41a1cf
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x14]
test eax, eax
sete byte [ebp - 0x71]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a1f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x71], 0
je 0x41a1ff
xor al, al
jmp 0x41a391
push str.CKakaoGameDlg::RunWatcher
push str.__s__:_start
call fcn.00404190
push eax
call fcn.00425940
add esp, 0xc
test ebx, ebx
jne 0x41a21f
xor eax, eax
jmp 0x41a222
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.0045fe71
mov ecx, eax
test ecx, ecx
jne 0x41a242
push 0x80004005
call fcn.00402d80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
push eax
call fcn.00405c20
mov ecx, eax
call fcn.0043fb80
mov esi, eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
call fcn.00405c20
mov ecx, eax
call fcn.0043fe50
mov byte [ebp - 4], 2
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push 0x61d044
push dword [ebx + 0x170]
push str.__s_s___u___s____s_
push eax
call fcn.004057a0
mov byte [ebp - 4], 1
add esp, 0x1c
mov edx, dword [ebp - 0x78]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a2bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a2dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push esi
push str.CKakaoGameDlg::RunWatcher
push str.__s__:_command__s_
call fcn.00404190
push eax
call fcn.00425940
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.005a7a20
add esp, 0x1c
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41a33a
push str.CKakaoGameDlg::RunWatcher
push str.__s__:_CreateProcess_fail
jmp 0x41a35f
push 8
push 0xffffffffffffffff
push ebx
push 0x41a130
push dword [ebp - 0x70]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x41a371
push str.CKakaoGameDlg::RunWatcher
push str.__s__:_RegisterWaitForSingleObject_fail
call fcn.00404190
push eax
call fcn.00425940
add esp, 0xc
xor bl, bl
jmp 0x41a373
mov bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41a38f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret