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

Disassembly:
push 0xffffffffffffffff
push 0x483a2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], edi
call fcn.00423440
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
lea edx, [esp + 0x2c]
xor ebx, ebx
push edx
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [eax + 0x2c]
mov esi, dword [edi + 4]
add edi, 0xa4
mov dword [esp + 0x4c], edi
call fcn.00410030
cmp dword [eax + 0x30], ebx
jne 0x40f783
call fcn.00410030
mov dword [eax + 0x30], ebx
call fcn.00410030
lea ecx, [edi + 0x1c]
push ecx
push eax
push 0x4a3df0
call fcn.00410370
push ebx
push eax
push 0x82
push ebx
push 0x50000000
lea edx, [esp + 0x40]
push str.InstallResultList
push edx
push esi
mov ecx, edi
call fcn.00410840
cmp eax, ebx
jne 0x40f7d5
lea ecx, [esp + 0x3c]
mov dword [esp + 0x288], 0xffffffff
call fcn.00423460
xor eax, eax
jmp 0x410017
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
sub edx, eax
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ebx
call fcn.004104d0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x80]
mov dword [esp + 0x20], eax
push 0x100
add eax, 0x14
push edx
mov dword [esp + 0x30], ecx
push 0x9c
mov dword [esp + 0x34], eax
call fcn.00403c00
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x40f86c
lea edx, [esp + 0x80]
test edx, edx
jne 0x40f84a
xor eax, eax
jmp 0x40f858
lea eax, [esp + 0x80]
push eax
call dword [0x4891e0]
lea ecx, [esp + 0x80]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00403900
jmp 0x40f8ba
push 0x1ff
lea ecx, [esp + 0x44]
mov esi, 0x200
call fcn.004036e0
cmp eax, ebx
je 0x40f8af
push esi
push eax
push 0x9c
call fcn.00403c00
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x40f8af
add esi, 0x100
lea ecx, [esp + 0x40]
lea eax, [esi - 1]
push eax
call fcn.004036e0
cmp eax, ebx
jne 0x40f883
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call fcn.004037a0
push 1
push 1
lea ecx, [esp + 0x24]
push ebx
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, edi
call fcn.0041a9c0
mov ecx, 0x4a3db8
call fcn.00401180
mov ecx, eax
mov dword [esp + 0x54], eax
call fcn.00410ba0
cmp eax, ebx
mov dword [esp + 0x18], eax
jg 0x40f908
lea ecx, [esp + 0x3c]
mov dword [esp + 0x288], 0xffffffff
call fcn.00423460
xor eax, eax
jmp 0x410017
mov eax, dword [0x498080]
push ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [0x4891bc]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x28c], 2
mov dword [esp + 0x5c], ebx
jle 0x40fac1
mov ecx, dword [esp + 0x58]
push edi
call fcn.00410ed0
mov esi, eax
cmp esi, ebx
je 0x40fab4
mov ecx, esi
call fcn.0040b170
test eax, eax
jne 0x40fa02
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
jne 0x40f9c1
mov ecx, esi
call fcn.0040b180
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esi + 8]
add esi, 8
cmp ecx, eax
je 0x40fab4
cmp dword [ecx - 0xc], ebx
jge 0x40f98f
mov edx, dword [0x498084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40f994
cmp dword [eax - 0xc], ebx
jge 0x40f9a7
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403900
jmp 0x40fab4
lea ecx, [esp + 0x18]
call fcn.00403b90
mov esi, dword [esi]
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call ebp
jmp 0x40fab4
mov edx, 0x4992dc
test edx, edx
jne 0x40f9ce
xor eax, eax
jmp 0x40f9d9
push 0x4992dc
call dword [0x4891e0]
push 0x4992dc
push eax
lea ecx, [esp + 0x20]
call fcn.004039c0
mov ecx, esi
call fcn.0040b180
add eax, 8
lea ecx, [esp + 0x18]
mov eax, dword [eax]
push eax
mov eax, dword [eax - 8]
push eax
jmp 0x40faaf
mov ecx, esi
call fcn.0040b1a0
test eax, eax
je 0x40fab4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], 1
cmp dword [ecx - 8], ebx
jne 0x40fa77
mov ecx, esi
call fcn.0040b180
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esi + 8]
add esi, 8
cmp ecx, eax
je 0x40fab4
cmp dword [ecx - 0xc], ebx
jge 0x40fa4b
mov edx, dword [0x498084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40fa50
cmp dword [eax - 0xc], ebx
jge 0x40fa60
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00403900
jmp 0x40fab4
lea ecx, [esp + 0x14]
call fcn.00403b90
mov esi, dword [esi]
mov dword [esp + 0x14], esi
add esi, 0xfffffff4
push esi
call ebp
jmp 0x40fab4
mov eax, 0x4992dc
test eax, eax
je 0x40fa8b
push 0x4992dc
call dword [0x4891e0]
push 0x4992dc
push eax
lea ecx, [esp + 0x1c]
call fcn.004039c0
mov ecx, esi
call fcn.0040b180
add eax, 8
mov eax, dword [eax]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039c0
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x40f936
mov edx, dword [esp + 0x18]
mov edi, dword [0x4891e4]
mov ebp, dword [0x489610]
cmp dword [edx - 8], ebx
je 0x40fc63
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub eax, ecx
push eax
lea eax, [esp + 0x24]
push ebx
push eax
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov edx, dword [0x498080]
add eax, 0x14
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], edx
mov eax, dword [0x4a3db0]
lea ecx, [esp + 0x84]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0xaa
push eax
mov byte [esp + 0x29c], 3
call dword [0x489550]
cmp eax, ebx
jne 0x40fb53
mov word [esp + 0x84], bx
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x40fb72
lea eax, [esp + 0x84]
lea ecx, [esp + 0x10]
push eax
call fcn.00402e80
jmp 0x40fbc0
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004036e0
cmp eax, ebx
je 0x40fbb5
push esi
push eax
push 0xaa
call fcn.00403c00
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40fbb5
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004036e0
cmp eax, ebx
jne 0x40fb89
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004037a0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004039c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x40fc20
cmp dword [eax - 0xc], ebx
jge 0x40fbf0
mov edx, dword [0x498084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40fbf5
cmp dword [ecx - 0xc], ebx
jge 0x40fc05
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00403900
jmp 0x40fc20
lea ecx, [esp + 0x44]
call fcn.00403b90
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
add eax, 0xfffffff4
push eax
call dword [0x4891bc]
mov ecx, dword [esp + 0x50]
push 1
push 1
lea edx, [esp + 0x68]
push ebx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0041a9c0
mov eax, dword [esp + 0x10]
mov edx, dword [0x498084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40fc63
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40fc63
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0047ab00
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebx
je 0x40fe05
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
sub eax, esi
lea ecx, [esp + 0x20]
push eax
push ebx
push ecx
call ebp
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov edx, dword [0x498080]
add eax, 0x14
add ecx, 0x14
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], edx
lea eax, [esp + 0x84]
push 0x100
push eax
push 0x9d
mov byte [esp + 0x298], 4
call fcn.00403c00
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x40fd13
lea edx, [esp + 0x84]
test edx, edx
jne 0x40fcf1
xor eax, eax
jmp 0x40fcff
lea eax, [esp + 0x84]
push eax
call dword [0x4891e0]
lea ecx, [esp + 0x84]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403900
jmp 0x40fd61
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004036e0
cmp eax, ebx
je 0x40fd56
push esi
push eax
push 0x9d
call fcn.00403c00
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x40fd56
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.004036e0
cmp eax, ebx
jne 0x40fd2a
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004037a0
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x40fdc1
cmp dword [eax - 0xc], ebx
jge 0x40fd91
mov edx, dword [0x498084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40fd96
cmp dword [ecx - 0xc], ebx
jge 0x40fda6
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00403900
jmp 0x40fdc1
lea ecx, [esp + 0x44]
call fcn.00403b90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
add eax, 0xfffffff4
push eax
call dword [0x4891bc]
push 1
push 1
lea eax, [esp + 0x68]
push 0x30
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.0041a9c0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x498084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40fe05
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40fe05
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0047ab00
add esp, 4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add eax, 0x50
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
add eax, 0x14
mov dword [esp + 0x80], edx
add ecx, 0xa
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], ecx
add ecx, 0xc8
cmp eax, ebx
mov dword [esp + 0x7c], ecx
je 0x40ff28
mov eax, dword [0x498080]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x84]
push 0x100
push ecx
push 0x9e
mov byte [esp + 0x298], 5
call fcn.00403c00
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x40fe99
lea eax, [esp + 0x84]
lea ecx, [esp + 0x10]
push eax
call fcn.00402e80
jmp 0x40fee7
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004036e0
cmp eax, ebx
je 0x40fedc
push esi
push eax
push 0x9e
call fcn.00403c00
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40fedc
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004036e0
cmp eax, ebx
jne 0x40feb0
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004037a0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esp + 0x7c]
push 0x7e
call fcn.00410090
mov eax, dword [esp + 0x10]
mov ecx, dword [0x498084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40ff28
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40ff28
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0047ab00
add esp, 4
mov ecx, dword [0x498080]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x28c], 6
jle 0x40ffc2
mov ecx, dword [esp + 0x58]
push edi
call fcn.00410ed0
mov esi, eax
cmp esi, ebx
je 0x40ffb9
mov ecx, esi
call fcn.0040b170
test eax, eax
je 0x40ffb9
push 0x14
lea edx, [esp + 0x78]
push ebx
push edx
call ebp
mov ecx, esi
call fcn.0040b180
mov eax, dword [eax + 8]
lea ecx, [esp + 0x54]
push eax
push 0x9f
push ecx
call fcn.00410530
add esp, 0xc
mov ecx, esi
call fcn.0040b310
test eax, eax
je 0x40ffb9
mov ecx, esi
call fcn.0040b180
mov edx, dword [eax + 0x84]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [edi + 0x2968]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
call fcn.00410090
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x40ff44
mov ecx, dword [esp + 0x50]
call fcn.0041a210
lea ecx, [esp + 0x54]
mov byte [esp + 0x28c], 2
call fcn.00403870
lea ecx, [esp + 0x18]
mov byte [esp + 0x28c], 1
call fcn.00403870
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], bl
call fcn.00403870
lea ecx, [esp + 0x40]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00423460
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret