Function at 0x410370
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x46b008]
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 dword [ebp - 0xa4], ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov ebx, 7
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x4103f5
mov eax, dword [esi]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x410417
xor eax, eax
mov ecx, 0x461fe0
cmp dword [ecx], edi
je 0x410456
inc eax
add ecx, 0x10
cmp eax, 0xae
jb 0x410408
mov edi, 1
cmp ebx, 8
jb 0x4109a8
mov ecx, dword [ebp - 0x70]
lea edx, [ebx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41099e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a52
jmp 0x41099e
shl eax, 4
lea eax, [eax + 0x461fe0]
test eax, eax
je 0x410417
lea eax, [ebp - 0x58]
mov dl, 1
push eax
xor ecx, ecx
call fcn.0041b1a0
add esp, 4
test al, al
jne 0x4104db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.GetServiceImagePathByType_failed_with__i
push eax
call fcn.004123e0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403310
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4104d1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4104c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a57
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edi, 4
jmp 0x41041c
mov eax, dword [ebp - 0xa4]
cmp byte [eax + 0x64], 0
jne 0x4104ff
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00411400
test al, al
jne 0x4104ff
mov edi, 4
jmp 0x41041c
lea edx, [ebp - 0x70]
mov ecx, edi
call fcn.004193a0
lea ecx, [ebp - 0x28]
cmp eax, 1
je 0x4106bb
push 0x19
push str.Access_to_registry_denied
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004015a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push 0x1a
push str.setup_error.error_registry
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004015a0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004035a0
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ecx + 0x68]
call fcn.00402ff0
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00403310
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x4105ce
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4105c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a5c
push edx
push ecx
call fcn.0041b677
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 0x10
jb 0x41061d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410613
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a61
push edx
push ecx
call fcn.0041b677
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x410655
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41064b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a66
push edx
push ecx
call fcn.0041b677
add esp, 8
push 0x463e28
mov ecx, esi
call fcn.00403680
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00404a50
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x410697
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x410683
mov esi, dword [esi]
mov ebx, dword [ebp - 0x5c]
mov edi, 3
mov dword [esi + ecx*2], 0x29
jmp 0x41041c
push 0x29
mov byte [ebp - 0xa4], 0
push dword [ebp - 0xa4]
push ecx
mov ecx, esi
call fcn.004042b0
mov ebx, dword [ebp - 0x5c]
mov edi, 3
jmp 0x41041c
push 0x463924
call fcn.00401300
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0041a540
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410715
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41070b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a6b
push edx
push ecx
call fcn.0041b677
add esp, 8
push 2
push 0
push 0
mov edi, 5
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x41093c
push str.Provides_integrated_security_and_services_for_online_multiplayer_games.
lea ecx, [ebp - 0x40]
call fcn.00401300
push 0x463924
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00401300
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
lea edx, [ebp - 0x28]
call fcn.004116e0
mov byte [ebp - 4], 6
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov edi, eax
cmp edx, 8
jb 0x4107a8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41079e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a70
push edx
push ecx
call fcn.0041b677
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4107fa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4107f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a75
push edx
push ecx
call fcn.0041b677
add esp, 8
test edi, edi
je 0x41092d
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Retrying_the_service_creation_once_more_in_2_seconds..
push eax
call fcn.004123e0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x41081f
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410860
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410856
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a7a
push edx
push ecx
call fcn.0041b677
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Provides_integrated_security_and_services_for_online_multiplayer_games.
lea ecx, [ebp - 0x40]
call fcn.00401300
push 0x463924
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00401300
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
lea edx, [ebp - 0x28]
call fcn.004116e0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov edi, eax
cmp edx, 8
jb 0x4108df
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4108d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a7f
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x41092d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410923
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a84
push edx
push ecx
call fcn.0041b677
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x5c]
jmp 0x41041c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.OpenSCManager_failed_with__i
push eax
call fcn.004123e0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403310
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410996
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41098c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a89
push edx
push ecx
call fcn.0041b677
add esp, 8
mov ebx, dword [ebp - 0x5c]
jmp 0x41041c
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4109e2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4109d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a8e
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x410a32
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410a28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a93
push edx
push ecx
call fcn.0041b677
add esp, 8
mov eax, edi
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.0041b636
mov esp, ebp
pop ebp
ret 8
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
int3