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

Disassembly:
push 0xffffffffffffffff
push 0x424920
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
lea eax, [esp + 0x13c]
xor ebx, ebx
push eax
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1f], bl
call fcn.00406910
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x1e4], 1
call fcn.0041b2c0
test al, al
je 0x41fceb
mov eax, ecx
call fcn.0041b2f0
lea edi, [esp + 0x13c]
call fcn.004069b0
test al, al
je 0x41fceb
cmp byte [esp + 0x168], bl
jne 0x41fceb
mov ecx, edi
mov dword [esp + 0x20], ecx
push ebx
mov ecx, str.InstallAssist
lea ebx, [esp + 0x28]
lea eax, [esp + 0x24]
call fcn.004075a0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41fce9
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x41fce9
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x41fce9
push 0
mov ecx, 0x428790
lea ebx, [esp + 0x20]
lea eax, [esp + 0x28]
call fcn.004075a0
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x41fce9
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
test eax, eax
je 0x41fce9
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
test eax, eax
je 0x41fce9
push 0
mov ecx, str.Dialog
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x20]
call fcn.004075a0
lea eax, [esp + 0x9c]
mov byte [esp + 0x28], 0
call fcn.0041b450
mov ecx, eax
push ecx
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, dword [esp + 0x1f8]
mov eax, esp
mov byte [esp + 0x1f0], 2
mov dword [eax], ebp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0041e200
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1e8], 3
call fcn.00401430
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x1e8], 4
call fcn.00401430
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0x1e8], 5
call fcn.00401430
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x1e8], 6
call fcn.00402bc0
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x1f8], 7
mov eax, esp
lea ecx, [esp + 0xd4]
mov dword [esp + 0x30], esp
push ecx
mov dword [eax], ebp
call fcn.0041e0c0
lea ebx, [esp + 0xc0]
mov byte [esp + 0x1e4], 8
call fcn.0041d0b0
lea edi, [esp + 0x48]
call fcn.0041c770
mov edi, ebx
call fcn.0041d230
lea edx, [esp + 0x6c]
push edx
call fcn.0041d120
lea eax, [esp + 0x48]
push eax
call fcn.0041d120
lea ecx, [esp + 0x184]
push ecx
call fcn.004211d0
lea edx, [esp + 0x84]
mov byte [esp + 0x1e4], 9
push edx
call fcn.00401430
mov byte [esp + 0x1e4], 0xa
mov eax, dword [esp + 0xd8]
mov edi, dword [eax]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], esi
mov ebp, dword [esp + 0xd8]
xor ebx, ebx
cmp esi, ebx
je 0x41f847
cmp esi, dword [esp + 0xc0]
je 0x41f84c
call fcn.0040a0e5
cmp edi, ebp
je 0x41f89b
cmp esi, ebx
jne 0x41f897
call fcn.0040a0e5
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x41f865
call fcn.0040a0e5
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x34], esp
lea ecx, [edi + 0x18]
push eax
call fcn.00401490
lea ecx, [esp + 0x9c]
push ecx
call fcn.00402830
lea esi, [esp + 0x60]
call fcn.00403b60
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
jmp 0x41f831
mov esi, dword [esi]
jmp 0x41f85b
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x34], esp
push eax
lea ecx, [esp + 0x64]
call fcn.00401490
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x5c], esp
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x218], 0xb
call fcn.00401490
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x214], 0xa
call fcn.00422260
push 4
call fcn.0040a18d
add esp, 4
cmp eax, ebx
je 0x41f8f6
lea edx, [esp + 0x30]
mov dword [eax], edx
jmp 0x41f8f8
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x1e4], 0xd
cmp byte [esp + 0x1fc], bl
jne 0x41f98d
mov edi, dword [esp + 0x1ec]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x68]
push eax
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
lea eax, [esp + 0x130]
mov dword [esp + 0x38], esp
push eax
lea ecx, [esp + 0x194]
call fcn.004220d0
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1ec], 0xe
call fcn.004022b0
lea ebx, [esp + 0x124]
mov byte [esp + 0x1e4], 0xf
call fcn.004017f0
mov byte [esp + 0x1e4], 0xd
mov edx, dword [esp + 0x124]
push edx
call fcn.00409dad
add esp, 4
jmp 0x41fa14
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004022b0
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x41fa0d
cmp edi, eax
jb 0x41f9c4
call fcn.0040a0e5
mov edx, dword [esp + 0x54]
sub esp, 0xc
lea ecx, [ebx + edx]
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.0041b390
lea eax, [esp + 0x3c]
push eax
call fcn.00402700
push eax
lea eax, [esp + 0x34]
call fcn.00402670
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0xc
cmp edi, eax
jb 0x41f9c4
mov edi, dword [esp + 0x1ec]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x9c]
push ecx
push esi
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0xd4]
push edx
push edi
call fcn.0041ecc0
lea eax, [esp + 0x9c]
push eax
push esi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xf8]
push ecx
push edi
call fcn.0041ecc0
mov esi, dword [esp + 0x20]
push esi
mov ecx, str.Platform
lea ebx, [esp + 0xe4]
lea eax, [esp + 0x28]
call fcn.004075a0
mov ebp, dword [eax]
inc esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1e4], 0x10
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, ebx
je 0x41face
mov edi, dword [esp + 0x40]
cmp esi, edi
je 0x41fac5
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fab1
mov esi, dword [esp + 0x3c]
push esi
call fcn.00409dad
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00409dad
add esp, 4
mov byte [esp + 0x1e4], 0x11
mov esi, dword [esp + 0x90]
cmp esi, ebx
je 0x41fb25
mov edi, dword [esp + 0x94]
cmp esi, edi
je 0x41fb1c
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fb05
mov esi, dword [esp + 0x90]
push esi
call fcn.00409dad
add esp, 4
mov ecx, dword [esp + 0x84]
push ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.00409dad
add esp, 4
lea ecx, [esp + 0x184]
mov byte [esp + 0x1e4], 8
call fcn.00420f10
lea esi, [esp + 0xc0]
mov byte [esp + 0x1e4], 0x12
call fcn.00403000
mov edx, dword [esp + 0xc0]
push edx
call fcn.00409dad
add esp, 4
lea esi, [esp + 0xe4]
mov byte [esp + 0x1e4], 0x13
call fcn.00403000
mov eax, dword [esp + 0xe4]
push eax
call fcn.00409dad
add esp, 4
mov byte [esp + 0x1e4], 0x14
mov esi, dword [esp + 0xb4]
cmp esi, ebx
je 0x41fbe4
mov edi, dword [esp + 0xb8]
cmp esi, edi
je 0x41fbdb
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fbc4
mov esi, dword [esp + 0xb4]
push esi
call fcn.00409dad
add esp, 4
mov ecx, dword [esp + 0xa8]
push ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
call fcn.00409dad
add esp, 4
mov byte [esp + 0x1e4], 0x15
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x41fc3e
mov edi, dword [esp + 0x58]
cmp esi, edi
je 0x41fc35
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fc21
mov esi, dword [esp + 0x54]
push esi
call fcn.00409dad
add esp, 4
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00409dad
add esp, 4
mov byte [esp + 0x1e4], 0x16
mov esi, dword [esp + 0x78]
cmp esi, ebx
je 0x41fc8d
mov edi, dword [esp + 0x7c]
cmp esi, edi
je 0x41fc84
nop
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fc70
mov esi, dword [esp + 0x78]
push esi
call fcn.00409dad
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.00409dad
add esp, 4
lea esi, [esp + 0x104]
mov byte [esp + 0x1e4], 0x17
call fcn.00403000
mov edx, dword [esp + 0x104]
push edx
call fcn.00409dad
add esp, 4
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1e4], 1
call fcn.0041b440
jmp 0x41f6b2
xor ebx, ebx
mov byte [esp + 0x1e4], bl
mov eax, dword [esp + 0x170]
mov dword [esp + method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x4305a8
je 0x41fd14
push eax
call fcn.00409da2
add esp, 4
lea ecx, [esp + 0x13c]
call fcn.00406160
lea ecx, [esp + 0x1f0]
call fcn.0041b440
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret 0x14