Function at 0x417f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4694db
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4812a4]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x4812a4]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xd4]
push ecx
mov dword [esp + 0x20], eax
call fcn.00403070
xor ebx, ebx
mov dword [esp + 0x160], ebx
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x160], 1
cmp eax, ebx
je 0x417ff2
push eax
call fcn.00403d50
jmp 0x417ff4
xor eax, eax
mov byte [esp + 0x160], 0
lea ecx, [esp + 0xd4]
call fcn.00402540
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 2
cmp eax, ebx
je 0x418038
push str.InstallationData
push eax
call fcn.00402730
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x41803e
mov dword [esp + 0x20], ebx
mov edi, ebx
mov byte [esp + 0x160], 0
mov eax, edi
lea ecx, [esp + 0xd4]
call fcn.00402540
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 3
cmp eax, ebx
je 0x418080
push str.CurrentVersion
push eax
call fcn.00402730
mov esi, eax
jmp 0x418082
xor esi, esi
mov byte [esp + 0x160], 0
mov eax, esi
mov ecx, edi
call fcn.00402540
push 0x48
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 4
cmp eax, ebx
je 0x4180bd
mov edx, dword [esp + 0x1c]
add edx, 4
push edx
push eax
call fcn.004175d0
jmp 0x4180bf
xor eax, eax
mov byte [esp + 0x160], 0
mov ecx, esi
call fcn.00402540
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 5
cmp eax, ebx
je 0x4180fa
push str.PatcherVersion
push eax
call fcn.00402730
mov esi, eax
jmp 0x4180fc
xor esi, esi
mov byte [esp + 0x160], 0
mov eax, esi
mov ecx, edi
call fcn.00402540
push 0x48
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 6
cmp eax, ebx
je 0x418137
mov ecx, dword [esp + 0x1c]
add ecx, 0x20
push ecx
push eax
call fcn.004175d0
jmp 0x418139
xor eax, eax
mov byte [esp + 0x160], 0
mov ecx, esi
call fcn.00402540
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 7
cmp eax, ebx
je 0x418174
push str.EulaVersion
push eax
call fcn.00402730
mov esi, eax
jmp 0x418176
xor esi, esi
mov byte [esp + 0x160], 0
mov eax, esi
mov ecx, edi
call fcn.00402540
push 0x48
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 8
cmp eax, ebx
je 0x4181b1
mov edx, dword [esp + 0x1c]
add edx, 0x3c
push edx
push eax
call fcn.004175d0
jmp 0x4181b3
xor eax, eax
mov byte [esp + 0x160], 0
mov ecx, esi
call fcn.00402540
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 9
cmp eax, ebx
je 0x4181ee
push str.PbEulaVersion
push eax
call fcn.00402730
mov esi, eax
jmp 0x4181f0
xor esi, esi
mov byte [esp + 0x160], 0
mov eax, esi
mov ecx, edi
call fcn.00402540
push 0x48
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 0xa
cmp eax, ebx
je 0x41822b
mov ecx, dword [esp + 0x1c]
add ecx, 0x58
push ecx
push eax
call fcn.004175d0
jmp 0x41822d
xor eax, eax
mov byte [esp + 0x160], 0
mov ecx, esi
call fcn.00402540
lea edx, [esp + 0x2c]
push edx
call fcn.004151e0
mov byte [esp + 0x160], 0xb
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xb0]
mov edi, dword [eax]
add ebx, 0xac
mov esi, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
lea ebx, [ebx]
test esi, esi
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], eax
je 0x41827f
cmp esi, ebx
je 0x418284
call fcn.0044ad2c
cmp edi, dword [esp + 0x28]
je 0x4182fd
test esi, esi
jne 0x418293
call fcn.0044ad2c
cmp edi, dword [esi + 4]
jne 0x41829d
call fcn.0044ad2c
lea ecx, [edi + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00407250
lea eax, [esp + 0x3c]
push 0x470d5c
push eax
call fcn.00415db0
add esp, 0x10
cmp edi, dword [esi + 4]
jne 0x4182c7
call fcn.0044ad2c
add edi, 0x28
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00407250
lea edx, [esp + 0x3c]
push 0x470d5c
push edx
call fcn.00415db0
add esp, 0x10
lea esi, [esp + 0x14]
call fcn.00417180
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x418270
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x30]
call fcn.00414e20
mov bl, 0xc
mov byte [esp + 0x160], bl
push 0x98
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 0xd
test eax, eax
je 0x418343
push str.InstalledHashes
push eax
call fcn.00402730
mov esi, eax
jmp 0x418345
xor esi, esi
mov byte [esp + 0x160], bl
mov ecx, dword [esp + 0x20]
mov eax, esi
call fcn.00402540
push 0x48
call fcn.00449d50
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 0xe
test eax, eax
je 0x418381
lea ecx, [esp + 0xb8]
push ecx
push eax
call fcn.004175d0
jmp 0x418383
xor eax, eax
mov byte [esp + 0x160], bl
mov ecx, esi
call fcn.00402540
mov eax, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [eax + 0xa8], esi
jb 0x4183aa
mov eax, dword [eax + 0x94]
jmp 0x4183af
add eax, 0x94
lea edi, [esp + 0xd4]
call fcn.00403600
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0xd0], esi
jb 0x4183dc
mov edx, dword [esp + 0xbc]
push edx
call fcn.00449824
add esp, 4
mov ebx, 0xf
xor esi, esi
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], esi
mov byte [esp + 0xbc], 0
mov byte [esp + 0x160], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x80]
mov dword [esp + 0x14], eax
mov dword [esp + edx + 0x2c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x160], bl
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x160], 0x11
test byte [esp + 0x78], 1
je 0x418450
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
push eax
call fcn.00449824
add esp, 4
mov edx, dword [esp + 0x48]
mov dword [edx], esi
mov eax, dword [esp + 0x58]
mov dword [eax], esi
mov ecx, dword [esp + 0x68]
mov dword [ecx], esi
mov edx, dword [esp + 0x4c]
mov dword [edx], esi
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov ecx, dword [esp + 0x6c]
mov dword [ecx], esi
and dword [esp + 0x78], 0xfffffffe
mov dword [esp + 0x74], esi
mov byte [esp + 0x160], bl
lea ecx, [esp + 0x38]
call fcn.00408530
mov byte [esp + 0x160], 0
lea ecx, [esp + 0x38]
call fcn.004150f0
lea edx, [esp + 0x80]
mov dword [esp + 0x14], edx
mov dword [esp + 0x80], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [esp + 0x160], 0
mov eax, edx
push eax
mov dword [esp + 0x84], vtable.std::ios_base.0
call fcn.00448b8e
add esp, 4
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0xd4]
call fcn.00402150
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00449829
mov esp, ebp
pop ebp
ret 4