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

Disassembly:
push 0xffffffffffffffff
push 0x4248de
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.00406a70
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x1e4], 1
call fcn.0041b420
test al, al
je 0x41fe8b
mov eax, ecx
call fcn.0041b440
lea edi, [esp + 0x13c]
call fcn.00406b10
test al, al
je 0x41fe8b
cmp byte [esp + 0x168], bl
jne 0x41fe8b
mov ecx, edi
mov dword [esp + 0x20], ecx
push ebx
mov ecx, str.InstallAssist
lea ebx, [esp + 0x28]
lea eax, [esp + 0x24]
call fcn.00407700
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41fe89
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x41fe89
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x41fe89
push 0
mov ecx, 0x4286b4
lea ebx, [esp + 0x20]
lea eax, [esp + 0x28]
call fcn.00407700
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x41fe89
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
test eax, eax
je 0x41fe89
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
test eax, eax
je 0x41fe89
push 0
mov ecx, str.Dialog
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x20]
call fcn.00407700
lea eax, [esp + 0x9c]
mov byte [esp + 0x28], 0
call fcn.0041b5a0
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.0041e3a0
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.00402cb0
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.0041e260
lea ebx, [esp + 0xc0]
mov byte [esp + 0x1e4], 8
call fcn.0041d280
lea edi, [esp + 0x48]
call fcn.0041c9c0
mov edi, ebx
call fcn.0041d400
lea edx, [esp + 0x6c]
push edx
call fcn.0041d2f0
lea eax, [esp + 0x48]
push eax
call fcn.0041d2f0
lea ecx, [esp + 0x184]
push ecx
call fcn.00421290
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 0x41f9e7
cmp esi, dword [esp + 0xc0]
je 0x41f9ec
call fcn.0040a245
cmp edi, ebp
je 0x41fa3b
cmp esi, ebx
jne 0x41fa37
call fcn.0040a245
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x41fa05
call fcn.0040a245
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.00402920
lea esi, [esp + 0x60]
call fcn.00403c50
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
jmp 0x41f9d1
mov esi, dword [esi]
jmp 0x41f9fb
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.004222b0
push 4
call fcn.0040a2ed
add esp, 4
cmp eax, ebx
je 0x41fa96
lea edx, [esp + 0x30]
mov dword [eax], edx
jmp 0x41fa98
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 0x41fb2d
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.00422120
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1ec], 0xe
call fcn.004023a0
lea ebx, [esp + 0x124]
mov byte [esp + 0x1e4], 0xf
call fcn.004017e0
mov byte [esp + 0x1e4], 0xd
mov edx, dword [esp + 0x124]
push edx
call fcn.00409f0d
add esp, 4
jmp 0x41fbb4
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004023a0
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 0x41fbad
cmp edi, eax
jb 0x41fb64
call fcn.0040a245
mov edx, dword [esp + 0x54]
sub esp, 0xc
lea ecx, [ebx + edx]
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.0041b4e0
lea eax, [esp + 0x3c]
push eax
call fcn.004027f0
push eax
lea eax, [esp + 0x34]
call fcn.00402760
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 0x41fb64
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.0041ee60
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.0041ee60
mov esi, dword [esp + 0x20]
push esi
mov ecx, str.Platform
lea ebx, [esp + 0xe4]
lea eax, [esp + 0x28]
call fcn.00407700
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 0x41fc6e
mov edi, dword [esp + 0x40]
cmp esi, edi
je 0x41fc65
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fc51
mov esi, dword [esp + 0x3c]
push esi
call fcn.00409f0d
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.00409f0d
add esp, 4
mov byte [esp + 0x1e4], 0x11
mov esi, dword [esp + 0x90]
cmp esi, ebx
je 0x41fcc5
mov edi, dword [esp + 0x94]
cmp esi, edi
je 0x41fcbc
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fca5
mov esi, dword [esp + 0x90]
push esi
call fcn.00409f0d
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.00409f0d
add esp, 4
lea ecx, [esp + 0x184]
mov byte [esp + 0x1e4], 8
call fcn.00420fd0
lea esi, [esp + 0xc0]
mov byte [esp + 0x1e4], 0x12
call fcn.004030f0
mov edx, dword [esp + 0xc0]
push edx
call fcn.00409f0d
add esp, 4
lea esi, [esp + 0xe4]
mov byte [esp + 0x1e4], 0x13
call fcn.004030f0
mov eax, dword [esp + 0xe4]
push eax
call fcn.00409f0d
add esp, 4
mov byte [esp + 0x1e4], 0x14
mov esi, dword [esp + 0xb4]
cmp esi, ebx
je 0x41fd84
mov edi, dword [esp + 0xb8]
cmp esi, edi
je 0x41fd7b
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fd64
mov esi, dword [esp + 0xb4]
push esi
call fcn.00409f0d
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.00409f0d
add esp, 4
mov byte [esp + 0x1e4], 0x15
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x41fdde
mov edi, dword [esp + 0x58]
cmp esi, edi
je 0x41fdd5
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fdc1
mov esi, dword [esp + 0x54]
push esi
call fcn.00409f0d
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.00409f0d
add esp, 4
mov byte [esp + 0x1e4], 0x16
mov esi, dword [esp + 0x78]
cmp esi, ebx
je 0x41fe2d
mov edi, dword [esp + 0x7c]
cmp esi, edi
je 0x41fe24
nop
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0xc
cmp esi, edi
jne 0x41fe10
mov esi, dword [esp + 0x78]
push esi
call fcn.00409f0d
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.00409f0d
add esp, 4
lea esi, [esp + 0x104]
mov byte [esp + 0x1e4], 0x17
call fcn.004030f0
mov edx, dword [esp + 0x104]
push edx
call fcn.00409f0d
add esp, 4
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1e4], 1
call fcn.0041b590
jmp 0x41f852
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 0x41feb4
push eax
call fcn.00409f02
add esp, 4
lea ecx, [esp + 0x13c]
call fcn.004062c0
lea ecx, [esp + 0x1f0]
call fcn.0041b590
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