Function at 0x410340
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451c93
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 0x4103c5
mov eax, dword [esi]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x4103e7
xor eax, eax
mov ecx, 0x461e08
cmp dword [ecx], edi
je 0x410426
inc eax
add ecx, 0x10
cmp eax, 0x86
jb 0x4103d8
mov edi, 1
cmp ebx, 8
jb 0x410978
mov ecx, dword [ebp - 0x70]
lea edx, [ebx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41096e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a22
jmp 0x41096e
shl eax, 4
lea eax, [eax + 0x461e08]
test eax, eax
je 0x4103e7
lea eax, [ebp - 0x58]
mov dl, 1
push eax
xor ecx, ecx
call fcn.0041b180
add esp, 4
test al, al
jne 0x4104ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.GetServiceImagePathByType_failed_with__i
push eax
call fcn.004123b0
add esp, 0xc
mov ecx, esi
push eax
call fcn.004032f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4104a1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a27
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edi, 4
jmp 0x4103ec
mov eax, dword [ebp - 0xa4]
cmp byte [eax + 0x64], 0
jne 0x4104cf
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.004113d0
test al, al
jne 0x4104cf
mov edi, 4
jmp 0x4103ec
lea edx, [ebp - 0x70]
mov ecx, edi
call fcn.00419380
lea ecx, [ebp - 0x28]
cmp eax, 1
je 0x41068b
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.00401580
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.00401580
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00403580
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ecx + 0x68]
call fcn.00402fd0
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.004032f0
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x41059e
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410594
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a2c
push edx
push ecx
call fcn.0041b657
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 0x4105ed
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a31
push edx
push ecx
call fcn.0041b657
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x410625
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41061b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a36
push edx
push ecx
call fcn.0041b657
add esp, 8
push 0x4639d0
mov ecx, esi
call fcn.00403660
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00404a30
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x410667
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x410653
mov esi, dword [esi]
mov ebx, dword [ebp - 0x5c]
mov edi, 3
mov dword [esi + ecx*2], 0x29
jmp 0x4103ec
push 0x29
mov byte [ebp - 0xa4], 0
push dword [ebp - 0xa4]
push ecx
mov ecx, esi
call fcn.00404290
mov ebx, dword [ebp - 0x5c]
mov edi, 3
jmp 0x4103ec
push 0x4634cc
call fcn.004012e0
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0041a520
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4106e5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4106db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a3b
push edx
push ecx
call fcn.0041b657
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 0x41090c
push str.Provides_integrated_security_and_services_for_online_multiplayer_games.
lea ecx, [ebp - 0x40]
call fcn.004012e0
push 0x4634cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004012e0
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.004116b0
mov byte [ebp - 4], 6
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov edi, eax
cmp edx, 8
jb 0x410778
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41076e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a40
push edx
push ecx
call fcn.0041b657
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 0x4107ca
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4107c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a45
push edx
push ecx
call fcn.0041b657
add esp, 8
test edi, edi
je 0x4108fd
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Retrying_the_service_creation_once_more_in_2_seconds..
push eax
call fcn.004123b0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x4107ef
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410830
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a4a
push edx
push ecx
call fcn.0041b657
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.004012e0
push 0x4634cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004012e0
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.004116b0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov edi, eax
cmp edx, 8
jb 0x4108af
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4108a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a4f
push edx
push ecx
call fcn.0041b657
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 0x4108fd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4108f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a54
push edx
push ecx
call fcn.0041b657
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x5c]
jmp 0x4103ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.OpenSCManager_failed_with__i
push eax
call fcn.004123b0
add esp, 0xc
mov ecx, esi
push eax
call fcn.004032f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410966
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41095c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a59
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ebx, dword [ebp - 0x5c]
jmp 0x4103ec
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4109b2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4109a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a5e
push edx
push ecx
call fcn.0041b657
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 0x410a02
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4109f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a63
push edx
push ecx
call fcn.0041b657
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.0041b616
mov esp, ebp
pop ebp
ret 8
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3