Function at 0x403470
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4397f1
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x449260]
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
xor ebx, ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], ebx
mov edi, dword [0x44c05c]
mov eax, dword [edi + 4]
inc eax
push eax
call fcn.0042001a
mov ecx, dword [edi + 4]
add esp, 4
push ecx
lea edx, [edi + 8]
mov esi, eax
push edx
push esi
mov dword [ebp - 0xf8], esi
call fcn.00422f10
mov eax, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp - 0xe8]
push ecx
mov byte [esi + eax], bl
call fcn.00415de0
and dword [ebp - 0x118], 0xfffffe00
mov dword [ebp - 0x114], ebx
mov byte [ebp - 4], 3
mov eax, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edi, [eax + 1]
jmp 0x403530
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403530
sub eax, edi
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00411800
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.004114a0
mov edx, dword [ebp - 0xb8]
mov edi, 0x10
cmp dword [ebp - 0xa4], edi
jae 0x403572
lea edx, [ebp - 0xb8]
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x120]
lea ecx, [ecx + edx]
push eax
lea ebx, [ebp - 0xe8]
call fcn.00415ef0
mov byte [ebp - 4], 3
mov bl, al
cmp dword [ebp - 0x18], edi
jb 0x4035a4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00420fa6
add esp, 4
test bl, bl
je 0x403b06
mov edx, dword [0x4491b4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4491b4
call eax
add eax, 0x10
mov dword [ebp - 0xec], eax
mov bl, 5
mov byte [ebp - 4], bl
cmp dword [0x44c0ec], 0
je 0x403622
cmp dword [0x44c0f0], 8
jb 0x4035f8
mov eax, dword [0x44c0dc]
mov edi, eax
test eax, eax
jne 0x4035fd
push edi
lea ecx, [ebp - 0xec]
push ecx
mov ebx, eax
call fcn.00407c90
jmp 0x403661
mov edi, 0x44c0dc
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403602
sub eax, edx
sar eax, 1
push edi
lea ecx, [ebp - 0xec]
push ecx
mov ebx, eax
call fcn.00407c90
jmp 0x403661
lea edi, [ebp - 0xf4]
call fcn.0041d660
lea edi, [ebp - 0xec]
mov byte [ebp - 4], 6
call fcn.004059d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403661
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0xec]
cmp dword [edi - 0xc], 0
je 0x403ad3
lea eax, [ebp - 0xec]
call fcn.00405d20
push 1
push 0x43fdc8
lea ebx, [ebp - 0xec]
call fcn.00408ed0
lea ecx, [ebp - 0x220]
push ecx
call fcn.004062c0
push str.region
lea edx, [ebp - 0x120]
mov bl, 7
push edx
mov byte [ebp - 4], bl
call fcn.00414500
lea esi, [ebp - 0x64]
mov ecx, eax
call fcn.00413e90
mov edi, eax
push str.observerEncryptionKey
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 8
call fcn.00414500
lea esi, [ebp - 0x48]
mov ecx, eax
call fcn.00413e90
mov esi, eax
push str.rgameid
lea ecx, [ebp - 0x120]
push ecx
mov byte [ebp - 4], 9
call fcn.00414500
mov edx, dword [ebp - 0x220]
mov edx, dword [edx + 4]
mov ecx, dword [ebp + edx - 0x20c]
lea edx, [ebp + edx - 0x220]
and ecx, 0xffffefff
or ecx, 0x2000
push edi
push ecx
push 0x442ea4
mov dword [edx + 0x14], ecx
push ecx
mov ecx, eax
call fcn.00414070
push eax
push ecx
push 0x442ea4
push ecx
lea edx, [ebp - 0x220]
push esi
push edx
call fcn.00409670
add esp, 0xc
push eax
call fcn.004093b0
add esp, 0xc
push eax
call fcn.00405580
add esp, 4
push eax
call fcn.004093b0
add esp, 0xc
push eax
call fcn.00409670
mov edi, 0x10
add esp, 8
cmp dword [ebp - 0x34], edi
jb 0x403779
mov eax, dword [ebp - 0x48]
push eax
call fcn.00420fa6
add esp, 4
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
cmp dword [ebp - 0x50], edi
jb 0x40379c
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00420fa6
add esp, 4
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0xf4]
push eax
mov ebx, str.League_Of_Legends.exe
call fcn.00405e20
add esp, 8
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xa
call fcn.004063a0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], edi
jb 0x4037d4
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x140]
call fcn.004112d0
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.00405910
mov esi, eax
lea edx, [ebp - 0x104]
push edx
lea edi, [ebp - 0xf4]
mov byte [ebp - 4], 0xc
call fcn.00405f00
add esp, 4
push eax
lea eax, [ebp - 0x108]
push eax
mov ebx, 0x442ef8
mov byte [ebp - 4], 0xd
call fcn.00405e20
lea ecx, [ebp - 0x100]
push esi
push ecx
mov ebx, eax
mov byte [ebp - 4], 0xe
call fcn.00405d70
push eax
lea edx, [ebp - 0xf0]
push edx
mov ebx, 0x442ef4
mov byte [ebp - 4], 0xf
call fcn.00405e20
add esp, 0x18
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x100]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403871
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x108]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x104]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xfc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0x15
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0x10
jb 0x4038fa
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00420fa6
add esp, 4
xor esi, esi
push 0x40
lea edx, [ebp - 0x184]
push esi
push edx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x188], 0x44
call fcn.00427c90
xor eax, eax
add esp, 0xc
lea edi, [ebp - 0x10c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0041d660
lea edi, [ebp - 0xec]
mov byte [ebp - 4], 0x16
call fcn.004059d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.00405a80
push 2
call fcn.00405340
mov esi, dword [ebp - 0xf0]
mov eax, dword [esi - 0xc]
test eax, eax
jns 0x40399d
push 0x80070057
call fcn.00401b80
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub ecx, eax
or ecx, edx
jge 0x4039bf
lea ecx, [ebp - 0xf0]
call fcn.00407d40
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x188]
push eax
push edi
push 0
push 4
push 0
push 0
push 0
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4039fb
push eax
push eax
push str.start_replay_game_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004219bc
add esp, 8
test eax, eax
js 0x403993
mov ecx, dword [ebp - 0xf0]
cmp eax, dword [ecx - 8]
jg 0x403993
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0xf0]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004045a0
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call esi
mov ecx, dword [ebp - 0x20]
push ecx
call esi
mov edx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call esi
push 9
call fcn.00405340
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xf0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403abc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.004033d0
mov esi, dword [ebp - 0xf8]
jmp 0x403ae4
push 0
push 0
push str.Cant_get_lol_path__Maybe_MK_is_not_open_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403b17
push 0
push 0
push str.parse_json_info_error_before_start_game_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x403b24
push esi
call fcn.00420fa6
add esp, 4
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.00413d70
lea edi, [ebp - 0xe8]
call fcn.00403330
lea ecx, [ebp - 0x140]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00401aa0
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.00420fb1
mov esp, ebp
pop ebp
ret