Function at 0x40d060
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x458521
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4749e0]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4749e0]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x180], 1
mov ecx, dword [edi + 0x2c]
mov eax, ecx
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x40d0d4
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0xc4]
call fcn.00403640
push 0x14
push str._resources_setup.xml
mov ecx, esi
mov byte [esp + 0x188], 2
call fcn.00408f70
mov eax, dword [esp + 0xc0]
mov esi, 8
cmp dword [esp + 0xd4], esi
jae 0x40d123
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d166
mov eax, dword [edi + 0x50]
push str.Setup.xml_does_not_exist.
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
cmp dword [esp + 0xd4], esi
jb 0x40d15c
mov eax, dword [esp + 0xc0]
push eax
call fcn.00416414
add esp, 4
mov eax, 0xfffffff7
jmp 0x40de9f
cmp dword [esp + 0xd4], esi
mov ecx, dword [esp + 0xc0]
jae 0x40d17d
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x14]
push edx
call fcn.00401fe0
test al, al
jne 0x40d1fa
mov eax, dword [edi + 0x50]
push str.Could_not_initialize_ADXML_object
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
cmp dword [esp + 0xd4], esi
jb 0x40d1b9
mov eax, dword [esp + 0xc0]
push eax
call fcn.00416414
add esp, 4
xor ecx, ecx
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd0], ecx
mov word [esp + 0xc0], cx
cmp eax, ecx
mov dword [esp + 0xd4], 7
je 0x40d1f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xfffffff5
jmp 0x40de9f
lea eax, [esp + 0x14]
push eax
mov ecx, 0x464b64
call fcn.00402220
test al, al
jne 0x40d281
mov eax, dword [edi + 0x50]
push str.__setup_info
push str._s_tag_not_found_in_setup_manifest
mov ebx, 0x461120
call fcn.00415ed0
add esp, 8
cmp dword [esp + 0xd4], esi
jb 0x40d240
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00416414
add esp, 4
xor ecx, ecx
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ecx
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ecx
mov word [esp + 0xc0], cx
je 0x40d277
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 0xfffffff5
jmp 0x40de9f
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.__setup_info_checks_os_version
call fcn.00402220
test al, al
je 0x40d744
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.__setup_info_checks_os_version
mov dword [esp + 0x7c], ebx
call fcn.00402490
mov byte [esp + 0x180], 3
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
jle 0x40d72c
jmp 0x40d2d0
mov edx, dword [esp + 0x6c]
push edx
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x24], esp
je 0x40d2f2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004025a0
mov byte [esp + 0x180], 4
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x20], esp
je 0x40d326
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402660
mov byte [esp + 0x180], 5
mov ebp, dword [esp + 0x28]
push 5
push str.major
lea ecx, [esp + 0xa8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.00403460
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0xa4]
lea esi, [esp + 0x28]
mov byte [esp + 0x184], 6
call fcn.00411650
mov esi, dword [eax]
test esi, esi
mov edi, dword [eax + 4]
je 0x40d3a6
lea eax, [esp + 0x24]
cmp esi, eax
je 0x40d3ab
call fcn.0043241e
cmp edi, ebp
setne bl
mov byte [esp + 0x180], 5
cmp dword [esp + 0xb8], 0x10
jb 0x40d3d2
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00416414
add esp, 4
test bl, bl
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
je 0x40d40e
test esi, esi
jne 0x40d3fd
call fcn.0043241e
cmp edi, dword [esi + 4]
jne 0x40d407
call fcn.0043241e
add edi, 0x28
mov dword [esp + 0x44], edi
push 5
push str.minor
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
call fcn.00403460
lea edx, [esp + 0x90]
push edx
lea ebx, [esp + 0x78]
lea esi, [esp + 0x28]
mov byte [esp + 0x184], 7
call fcn.00411650
mov esi, dword [eax]
test esi, esi
mov edi, dword [eax + 4]
je 0x40d46a
lea eax, [esp + 0x24]
cmp esi, eax
je 0x40d46f
call fcn.0043241e
cmp edi, ebp
setne bl
mov byte [esp + 0x180], 5
cmp dword [esp + 0x8c], 0x10
jb 0x40d493
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00416414
add esp, 4
test bl, bl
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
je 0x40d4cc
test esi, esi
jne 0x40d4bb
call fcn.0043241e
cmp edi, dword [esi + 4]
jne 0x40d4c5
call fcn.0043241e
add edi, 0x28
mov dword [esp + 0x3c], edi
push 0xc
push str.service_pack
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.00403460
lea edx, [esp + 0x98]
push edx
lea ebx, [esp + 0x50]
lea esi, [esp + 0x28]
mov byte [esp + 0x184], 8
call fcn.00411650
mov edi, dword [eax]
test edi, edi
mov esi, dword [eax + 4]
je 0x40d51f
lea eax, [esp + 0x24]
cmp edi, eax
je 0x40d524
call fcn.0043241e
cmp esi, ebp
setne bl
mov byte [esp + 0x180], 5
cmp dword [esp + 0x64], 0x10
jb 0x40d545
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00416414
add esp, 4
test bl, bl
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
je 0x40d578
test edi, edi
jne 0x40d567
call fcn.0043241e
cmp esi, dword [edi + 4]
jne 0x40d571
call fcn.0043241e
add esi, 0x28
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x44]
xor ebp, ebp
xor ebx, ebx
xor edi, edi
test eax, eax
lea esi, [ebp + 0x10]
je 0x40d5a1
cmp dword [eax + 0x18], esi
jb 0x40d593
mov eax, dword [eax + 4]
jmp 0x40d596
add eax, 4
push eax
call fcn.00433407
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40d5c1
cmp dword [eax + 0x18], esi
jb 0x40d5b3
mov eax, dword [eax + 4]
jmp 0x40d5b6
add eax, 4
push eax
call fcn.00433407
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40d5e1
cmp dword [eax + 0x18], esi
jb 0x40d5d3
mov eax, dword [eax + 4]
jmp 0x40d5d6
add eax, 4
push eax
call fcn.00433407
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ebp
imul edx, edx, 0x64
add edx, ebx
imul edx, edx, 0x64
push edi
push ebx
push ebp
lea ecx, [esp + 0x100]
add edx, edi
push str._ld._ld._ld
push ecx
mov dword [eax], edx
call fcn.00433195
lea eax, [esp + 0x108]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d615
mov esi, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xf8]
push edx
add esi, 4
call fcn.00403640
xor eax, eax
mov esi, 7
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], eax
mov word [esp + 0xdc], ax
lea eax, [esp + 0xd8]
push eax
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x18c], 9
call fcn.00410f20
mov eax, dword [esp + 0xf8]
add esp, 0xc
push str.UNKNOWN
mov edi, esi
lea ecx, [esp + 0xdc]
call fcn.00412960
test eax, eax
mov edi, dword [esp + 0x18]
jne 0x40d6a5
push 0xffffffffffffffff
push eax
lea eax, [edi + 4]
lea ecx, [edi + 0xd8]
call fcn.004016d0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [esp + 0xe0]
lea ecx, [edi + 0xd8]
call fcn.004016d0
cmp dword [esp + 0xf0], 8
jb 0x40d6d6
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00416414
add esp, 4
lea eax, [esp + 0x24]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
mov byte [esp + 0x180], 4
call fcn.00403960
mov byte [esp + 0x180], 3
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x40d715
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x6c]
add eax, 1
xor ebx, ebx
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x6c], eax
jl 0x40d2d0
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40d744
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x14]
push eax
mov ecx, str.__setup_info_checks_scr_res
call fcn.00402220
test al, al
je 0x40d99d
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.__setup_info_checks_scr_res
lea edx, [esp + 0x18]
call fcn.00402340
mov byte [esp + 0x180], 0xa
mov edx, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x20], esp
je 0x40d793
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402660
mov byte [esp + 0x180], 0xb
mov ebp, dword [esp + 0x28]
push 0xa
push str.horizontal
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00403460
lea ecx, [esp + 0x98]
push ecx
lea ebx, [esp + 0x50]
lea esi, [esp + 0x28]
mov byte [esp + 0x184], 0xc
call fcn.00411650
mov esi, dword [eax]
test esi, esi
mov edi, dword [eax + 4]
je 0x40d803
lea edx, [esp + 0x24]
cmp esi, edx
je 0x40d808
call fcn.0043241e
cmp edi, ebp
setne bl
mov byte [esp + 0x180], 0xb
cmp dword [esp + 0x64], 0x10
jb 0x40d829
mov eax, dword [esp + 0x50]
push eax
call fcn.00416414
add esp, 4
test bl, bl
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
je 0x40d85c
test esi, esi
jne 0x40d84b
call fcn.0043241e
cmp edi, dword [esi + 4]
jne 0x40d855
call fcn.0043241e
add edi, 0x28
mov dword [esp + 0x1c], edi
push 8
push str.vertical
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
call fcn.00403460
lea ecx, [esp + 0x90]
push ecx
lea ebx, [esp + 0x78]
lea esi, [esp + 0x28]
mov byte [esp + 0x184], 0xd
call fcn.00411650
mov esi, dword [eax]
test esi, esi
mov edi, dword [eax + 4]
je 0x40d8b8
lea edx, [esp + 0x24]
cmp esi, edx
je 0x40d8bd
call fcn.0043241e
cmp edi, ebp
mov ebp, 0x10
setne bl
cmp dword [esp + 0x8c], ebp
jb 0x40d8dd
mov eax, dword [esp + 0x78]
push eax
call fcn.00416414
add esp, 4
test bl, bl
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
je 0x40d914
test esi, esi
jne 0x40d905
call fcn.0043241e
cmp edi, dword [esi + 4]
jne 0x40d90f
call fcn.0043241e
lea esi, [edi + 0x28]
jmp 0x40d918
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40d94f
cmp dword [eax + 0x18], ebp
jb 0x40d93a
mov eax, dword [eax + 4]
push eax
call fcn.00433407
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 0x24], eax
jmp 0x40d953
add eax, 4
push eax
call fcn.00433407
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 0x24], eax
jmp 0x40d953
mov edi, dword [esp + 0x18]
test esi, esi
je 0x40d970
cmp dword [esi + 0x18], ebp
jb 0x40d961
mov eax, dword [esi + 4]
jmp 0x40d964
lea eax, [esi + 4]
push eax
call fcn.00433407
add esp, 4
mov dword [edi + 0x28], eax
lea eax, [esp + 0x24]
mov byte [esp + 0x180], 0xa
call fcn.00403960
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40d999
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor ebx, ebx
jmp 0x40d9a1
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, 0x464cb0
call fcn.00402220
test al, al
je 0x40dcff
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x464cb0
lea edx, [esp + 0x18]
call fcn.00402340
mov byte [esp + 0x180], 0xe
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x20], esp
je 0x40d9f0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.00402660
mov byte [esp + 0x180], 0xf
mov ecx, dword [esp + 0x34]
push 0xd
mov dword [esp + 0x44], ecx
push str.pimx_location
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00403460
lea edx, [esp + 0x98]
push edx
lea ebx, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x184], 0x10
call fcn.00411650
mov ebp, dword [eax]
test ebp, ebp
mov esi, dword [eax + 4]
je 0x40da5c
lea eax, [esp + 0x30]
cmp ebp, eax
je 0x40da61
call fcn.0043241e
cmp esi, dword [esp + 0x40]
mov byte [esp + 0x180], 0xf
setne bl
cmp dword [esp + 0x64], 0x10
jb 0x40da84
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00416414
add esp, 4
test bl, bl
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
je 0x40dc7b
test ebp, ebp
jne 0x40daaa
call fcn.0043241e
cmp esi, dword [ebp + 4]
jne 0x40dab4
call fcn.0043241e
add esi, 0x28
push str.target_location
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], esi
call fcn.00402f60
lea edx, [esp + 0x90]
push edx
lea ebx, [esp + 0x78]
lea esi, [esp + 0x34]
mov byte [esp + 0x184], 0x11
call fcn.00411650
mov ecx, dword [eax]
test ecx, ecx
mov esi, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], esi
je 0x40daff
lea eax, [esp + 0x30]
cmp ecx, eax
je 0x40db04
call fcn.0043241e
cmp esi, dword [esp + 0x40]
mov byte [esp + 0x180], 0xf
setne bl
cmp dword [esp + 0x8c], 0x10
jb 0x40db2a
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00416414
add esp, 4
test bl, bl
je 0x40dc16
lea esi, [esp + 0x44]
call fcn.004116c0
mov ebp, eax
push str.executable
lea ecx, [esp + 0x78]
add ebp, 0x1c
call fcn.00402f60
lea edx, [esp + 0x90]
push edx
lea ebx, [esp + 0x78]
lea esi, [esp + 0x34]
mov byte [esp + 0x184], 0x12
call fcn.00411650
mov ecx, dword [eax]
test ecx, ecx
mov esi, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], esi
je 0x40db84
lea eax, [esp + 0x30]
cmp ecx, eax
je 0x40db89
call fcn.0043241e
cmp esi, dword [esp + 0x40]
lea ecx, [esp + 0x74]
setne bl
mov byte [esp + 0x180], 0xf
call fcn.00402fa0
test bl, bl
je 0x40dc0a
lea esi, [esp + 0x44]
call fcn.004116c0
mov ecx, dword [esp + 0x1c]
add eax, 0x1c
push eax
push ebp
push edi
call fcn.0040cd00
test al, al
jne 0x40dbd8
mov eax, dword [edi + 0x50]
push str.Unable_to_set_core_package_parameters
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
jmp 0x40dc30
lea eax, [esp + 0x30]
mov byte [esp + 0x180], 0xe
call fcn.00403960
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40dd50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x40dd50
push str.__setup_info_package_core
push str.executable_not_found_in__s_tag
jmp 0x40dc20
push str.__setup_info_package_core
push str.target_location_not_found_in__s_tag
mov eax, dword [edi + 0x50]
mov ebx, 0x461120
call fcn.00415ed0
add esp, 8
lea eax, [esp + 0x30]
mov byte [esp + 0x180], 0xe
call fcn.00403960
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40dc59
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0xbc]
call fcn.004016a0
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x40d1e6
mov eax, dword [edi + 0x50]
push str.__setup_info_package_core
push str.pimx_location_not_found_in__s_tag
mov ebx, 0x461120
call fcn.00415ed0
add esp, 8
lea eax, [esp + 0x30]
mov byte [esp + 0x180], 0xe
call fcn.00403960
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x40dcc0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0xd4], 8
jb 0x40dcda
mov eax, dword [esp + 0xc0]
push eax
call fcn.00416414
add esp, 4
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd0], esi
mov word [esp + 0xc0], si
cmp eax, esi
jmp 0x40d1db
mov eax, dword [edi + 0xac]
cmp eax, 2
je 0x40dd36
cmp eax, 1
je 0x40dd36
mov eax, dword [edi + 0x50]
push str.__setup_info_package_core
push str._s_tag_not_found_in_setup_manifest
mov ebx, 0x461120
call fcn.00415ed0
add esp, 8
cmp dword [esp + 0xd4], 8
jmp 0x40d1a7
mov eax, dword [edi + 0x50]
push str.__setup_info_package_core
push str._s_tag_not_found_in_setup_manifest
mov ebx, 0x461120
call fcn.00415e70
add esp, 8
lea eax, [esp + 0x14]
push eax
mov ecx, 0x464e50
call fcn.00402220
test al, al
je 0x40ddb4
lea ecx, [edi + 0x3c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.00402cd0
test al, al
mov ebx, 0x461120
jne 0x40dda0
mov eax, dword [edi + 0x50]
push str.__setup_info_package_info_pimx_location
push str.Error_parsing__s_tag_in_setup_manifest
call fcn.00415ed0
add esp, 8
jmp 0x40dc59
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 0x50]
push str.Found__d_packages_in_setup_manifest
call fcn.00415e40
jmp 0x40ddcb
mov eax, dword [edi + 0x50]
push str.__setup_info_package_info_pimx_location
push str._s_tag_not_found_in_setup_manifest
mov ebx, 0x461120
call fcn.00415e70
add esp, 8
xor esi, esi
xor ebp, ebp
mov eax, dword [edi + 0x40]
test eax, eax
je 0x40de48
mov ecx, dword [edi + 0x44]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x40de48
mov eax, dword [edi + 0x40]
test eax, eax
je 0x40de18
mov ecx, dword [edi + 0x44]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x40de1d
call fcn.0043241e
mov edx, dword [edi + 0x2c]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40de25
sub eax, ebx
sar eax, 1
push eax
mov eax, dword [edi + 0x40]
push edx
add eax, ebp
call fcn.004126f0
add esi, 1
add ebp, 0x1c
jmp 0x40ddd2
cmp dword [esp + 0xd4], 8
jb 0x40de62
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00416414
add esp, 4
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], 0
je 0x40de9d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004321fe
add esp, 0x170
ret