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

Disassembly:
push 0xffffffffffffffff
push 0x1028c440
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x10159566
push eax
push 0x129
push 0x102d7190
push 0x80070057
call fcn.100048f0
mov edi, dword [esp + 0x74]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jne 0x10159588
push 0
push 0x12a
push 0x102d7190
push 0x80070057
call fcn.100048f0
cmp dword [esi + 0x40], 2
sete al
test al, al
jne 0x101595a9
push 0
push 0x12b
push 0x102d7190
push 0xe0e00062
call fcn.100048f0
push ecx
mov ecx, ebx
call fcn.100027d0
test eax, eax
jne 0x101595ff
push ebx
lea ecx, [esp + 0x78]
push str.Package
push ecx
call fcn.10002820
add esp, 0xc
mov dword [esp + 0x6c], 0
push str._cannot_add_order_dependency_on_itself
push eax
lea edx, [esp + 0x24]
push edx
call fcn.100029d0
add esp, 0xc
mov byte [esp + 0x6c], 1
mov eax, dword [eax]
push eax
push 0x130
push 0x102d7190
push 0x80070057
call fcn.100048f0
push esi
mov eax, ebx
call fcn.101582f0
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x1015965b
push ebx
lea ecx, [esp + 0x78]
push str.Package
push ecx
call fcn.10002820
add esp, 0xc
mov dword [esp + 0x6c], 2
push str._not_found_in_the_package_order_map
push eax
lea edx, [esp + 0x24]
push edx
call fcn.100029d0
add esp, 0xc
mov byte [esp + 0x6c], 3
mov eax, dword [eax]
push eax
push 0x137
push 0x102d7190
push 0xe0e00019
call fcn.100048f0
push esi
mov eax, edi
call fcn.101582f0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x101596bb
mov ecx, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x78]
push str.Package
push edx
call fcn.10002820
add esp, 0xc
mov dword [esp + 0x6c], 4
push str._not_found_in_the_package_order_map
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100029d0
add esp, 0xc
mov byte [esp + 0x6c], 5
mov ecx, dword [eax]
push ecx
push 0x13e
push 0x102d7190
push 0xe0e00019
call fcn.100048f0
mov eax, dword [ebp + 0x64]
mov ecx, dword [edi + 0x64]
cmp eax, dword [esi + 0x34]
jb 0x101596dc
push 0
push 0x2c6
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80070057
call fcn.100048f0
mov edx, dword [esi + 0x30]
lea eax, [edx + eax*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 4]
jae 0x101596c6
mov eax, dword [eax]
add eax, ecx
cmp byte [eax], 0
je 0x101597f7
call fcn.10158220
cmp dword [eax + 0x1c], 5
jl 0x101597e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str..NVPackagesOrderGraph.cpp
call fcn.10035dd0
mov dword [esp + 0x88], 6
push 0x14c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.CNVPackagesOrderGraph::AddImplicitlyBefore
call fcn.10035dd0
mov byte [esp + 0xa8], 7
lea eax, [esp + 0x53]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0x64]
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x6c]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
push 5
mov byte [esp + 0x57], 0
mov dword [esp + 0x68], str.Skipping_setting_of
mov dword [esp + 0x60], ebx
mov dword [esp + 0x70], str.before
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], str._ordering_already_present_
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0x102d7af8
mov dword [esp + 0x8c], ecx
call fcn.10158220
push eax
mov dword [esp + 0xb0], 0xffffffff
lea edi, [esp + 0x8c]
call fcn.10002b50
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x60
ret 4
mov ecx, dword [ebp + 0x34]
lea esi, [ebp + 0x34]
xor al, al
test ecx, ecx
je 0x10159812
cmp dword [ecx + 8], edi
je 0x10159904
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10159803
call fcn.10158220
cmp dword [eax + 0x1c], 5
jl 0x101598f9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push str..NVPackagesOrderGraph.cpp
call fcn.10035dd0
mov dword [esp + 0x88], 8
push 0x15c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CNVPackagesOrderGraph::AddImplicitlyBefore
call fcn.10035dd0
mov byte [esp + 0xa8], 9
lea edx, [esp + 0x53]
mov dword [esp + 0x98], edx
lea eax, [esp + 0x94]
lea ecx, [esp + 0x84]
lea edx, [esp + 0x7c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x74]
lea edx, [esp + 0x6c]
push 5
mov byte [esp + 0x57], 0
mov dword [esp + 0x88], str.Setting_package
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], str.to_be_tentatively_before_package
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x90], 0x102d7b0c
mov dword [esp + 0x94], edx
call fcn.10158220
push eax
mov dword [esp + 0xb0], 0xffffffff
lea edi, [esp + 0x94]
call fcn.10002b50
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call fcn.1015ac60
mov al, 1
mov ecx, dword [edi + 0x4c]
lea esi, [edi + 0x4c]
test ecx, ecx
je 0x1015991f
mov edi, edi
cmp dword [ecx + 8], ebp
je 0x10159a0d
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10159910
call fcn.10158220
cmp dword [eax + 0x1c], 5
jl 0x10159a02
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push str..NVPackagesOrderGraph.cpp
call fcn.10035dd0
mov dword [esp + 0x88], 0xa
push 0x162
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.CNVPackagesOrderGraph::AddImplicitlyBefore
call fcn.10035dd0
mov byte [esp + 0xa8], 0xb
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x53]
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x94]
lea eax, [esp + 0x8c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x84]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x74]
push 5
mov byte [esp + 0x57], 0
mov dword [esp + 0x90], str.Setting_package
mov dword [esp + 0x80], str.to_be_tentatively_after_package
mov dword [esp + 0x84], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x70], 0x102d7b20
mov dword [esp + 0x74], eax
call fcn.10158220
push eax
mov dword [esp + 0xb0], 0xffffffff
lea edi, [esp + 0x74]
call fcn.10002b50
lea ecx, [esp + 0x1c]
call fcn.1015ac60
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x60
ret 4