Function at 0x45b090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0338
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x50ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45b0d9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00424240
add esp, 4
lea edi, [eax + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b129
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test ebx, ebx
je 0x45c359
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x24], edi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45b158
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x45b25d
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45b277
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45b277
push edi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b277
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x45b1e4
push edi
mov ecx, edx
call fcn.004214f5
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x30], ecx
cmp eax, 0xffffffff
jne 0x45b201
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x30]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 0x2c], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx ecx, byte [eax + 0x45c3c4]
jmp dword [ecx*4 + 0x45c3b4]
call fcn.004a04f2
test edi, edi
jl 0x45b253
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
cmp edi, dword [ecx - 8]
jg 0x45b253
mov dword [ecx - 0xc], edi
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45b277
push 0x80070057
call fcn.00421000
push str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
call fcn.004ae67a
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
mov ecx, edi
call fcn.004241cf
push ecx
mov byte [ebp - 4], 3
mov edi, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x24], edi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45b29e
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, str.General
shr eax, 0x10
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x45b3a3
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45b3bd
mov edx, edi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45b3bd
push edi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b3bd
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x45b330
mov ecx, dword [ebp - 0x24]
push edi
call fcn.004214f5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
movzx eax, word [ebx]
add ebx, 2
cmp eax, 0xffffffff
jne 0x45b34d
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 0x28], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx ecx, byte [eax + 0x45c428]
jmp dword [ecx*4 + 0x45c418]
call fcn.004a052a
test edi, edi
jl 0x45b253
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x45b253
mov dword [eax - 0xc], edi
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45b3bd
push str.General
call fcn.004ae67a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.004241cf
mov byte [ebp - 4], 3
push 1
mov byte [ebp - 4], 1
call fcn.0046d7c0
mov eax, dword [ebp + 0xc]
add esp, 0x10
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x2c], esp
push eax
mov dword [ebp - 0x24], 0
lea ebx, [ebp - 0x24]
lea edi, [ebp - 0x20]
call fcn.00424240
mov edx, dword [ebp - 0x2c]
add eax, 0x10
add esp, 4
mov dword [edx], eax
call fcn.00469110
add esp, 8
cmp eax, 0xffffffff
je 0x45c359
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x45b439
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004aedc5
add esi, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x45c36d
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00468e70
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x45b4a1
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x45b491
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x45b491
push eax
call fcn.00424240
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x45b489
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x1c], esi
jmp 0x45b4a1
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004241cf
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b4d3
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
jl 0x45c315
push str._dependentAssembly_
push esi
call fcn.004ae801
add esp, 8
test eax, eax
je 0x45c315
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x45c315
lea edi, [eax + 0x13]
test edi, edi
jge 0x45b509
xor edi, edi
mov ebx, dword [esi - 0xc]
mov ecx, 0x7fffffff
sub ecx, edi
js 0x45b253
cmp edi, ebx
jle 0x45b51f
mov edi, ebx
test edi, edi
jle 0x45b57e
sub ebx, edi
cmp dword [esi - 4], 1
jle 0x45b53a
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042156b
mov esi, dword [ebp - 0x1c]
lea eax, [ebx + ebx + 2]
push eax
lea ecx, [esi + edi*2]
push ecx
push eax
push esi
call fcn.004ae1ce
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx edx, byte [eax + 0x45c48c]
jmp dword [edx*4 + 0x45c47c]
test ebx, ebx
jl 0x45b253
cmp ebx, dword [esi - 8]
jg 0x45b253
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [esi - 0xc], 0
jl 0x45c315
push str.__dependentAssembly_
push esi
call fcn.004ae801
add esp, 8
test eax, eax
je 0x45b5a6
sub eax, esi
sar eax, 1
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x45b5d6
cmp dword [esi - 0xc], 0
jl 0x45c315
push 0x4eefe4
push esi
call fcn.004ae801
add esp, 8
test eax, eax
je 0x45b4d3
sub eax, esi
sar eax, 1
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x45b4d3
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b0cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, 0x4df5f8
shr eax, 0x10
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x45b6d8
mov ecx, 0x4df5f8
movzx esi, cx
push esi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45b6f3
mov edx, esi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45b6f3
push esi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b6f3
movzx esi, word [ebx]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x45b678
push esi
lea ecx, [ebp - 0x18]
call fcn.004214f5
mov edi, dword [ebp - 0x18]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x2c], ebx
cmp eax, 0xffffffff
jne 0x45b690
push ebx
call fcn.004ae67a
add esp, 4
inc eax
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + eax]
push ecx
push edx
lea ebx, [esi + esi]
push ebx
push edi
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx eax, byte [eax + 0x45c4f0]
jmp dword [eax*4 + 0x45c4e0]
test esi, esi
jl 0x45b253
cmp esi, dword [edi - 8]
jg 0x45b253
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [ebx + edi], cx
jmp 0x45b6f3
push 0x4df5f8
call fcn.004ae67a
add esp, 4
push eax
push 0x4df5f8
lea ecx, [ebp - 0x18]
call fcn.004241cf
mov byte [ebp - 4], 7
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b0cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x34], 0
mov byte [ebp - 4], 8
jne 0x45b7f0
mov ecx, 0x4df5f8
movzx esi, cx
push esi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45b80e
mov edx, esi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45b80e
push esi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b80e
movzx esi, word [ebx]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x45b790
push esi
lea ecx, [ebp - 0x14]
call fcn.004214f5
mov edi, dword [ebp - 0x14]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x34], ebx
cmp eax, 0xffffffff
jne 0x45b7a8
push ebx
call fcn.004ae67a
add esp, 4
inc eax
mov edx, dword [ebp - 0x34]
lea ecx, [eax + eax]
push ecx
push edx
lea ebx, [esi + esi]
push ebx
push edi
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx eax, byte [eax + 0x45c554]
jmp dword [eax*4 + 0x45c544]
test esi, esi
jl 0x45b253
cmp esi, dword [edi - 8]
jg 0x45b253
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [ebx + edi], cx
jmp 0x45b80e
push 0x4df5f8
call fcn.004ae67a
add esp, 4
push eax
push 0x4df5f8
lea ecx, [ebp - 0x14]
call fcn.004241cf
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.004237ae
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x20]
cmp dword [ebx - 0xc], 0
jl 0x45c2a9
push str._bindingRedirect
push ebx
call fcn.004ae801
add esp, 8
test eax, eax
je 0x45c2a9
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x45c2a9
lea esi, [eax + 0x11]
test esi, esi
jge 0x45b862
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi - 0xc]
mov edx, 0x7fffffff
sub edx, esi
js 0x45b253
cmp esi, ecx
jle 0x45b87b
mov esi, ecx
test esi, esi
jle 0x45b8e1
mov ebx, ecx
sub ebx, esi
cmp dword [edi - 4], 1
jle 0x45b897
mov eax, ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042156b
mov edi, dword [ebp - 0x1c]
lea eax, [ebx + ebx + 2]
push eax
lea ecx, [edi + esi*2]
push ecx
push eax
push edi
call fcn.004ae1ce
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx edx, byte [eax + 0x45c5b8]
jmp dword [edx*4 + 0x45c5a8]
test ebx, ebx
jl 0x45b253
cmp ebx, dword [edi - 8]
jg 0x45b253
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
lea esi, [eax + 0x10]
test esi, esi
jge 0x45b8ea
xor esi, esi
mov edi, dword [ebx - 0xc]
mov ecx, 0x7fffffff
sub ecx, esi
js 0x45b253
cmp esi, edi
jle 0x45b900
mov esi, edi
test esi, esi
jle 0x45b95f
sub edi, esi
cmp dword [ebx - 4], 1
jle 0x45b91b
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.0042156b
mov ebx, dword [ebp - 0x20]
lea eax, [edi + edi + 2]
push eax
lea ecx, [ebx + esi*2]
push ecx
push eax
push ebx
call fcn.004ae1ce
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx edx, byte [eax + 0x45c61c]
jmp dword [edx*4 + 0x45c60c]
test edi, edi
jl 0x45b253
cmp edi, dword [ebx - 8]
jg 0x45b253
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], ax
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov ebx, esp
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x48], ebx
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b0cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
mov byte [ebp - 4], 0xb
test ecx, 0xffff0000
jne 0x45ba74
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a7eac
mov edi, eax
test edi, edi
je 0x45ba8e
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45ba8e
push esi
push eax
push edi
call fcn.004216d6
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45ba8e
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x45ba09
push esi
mov ecx, ebx
call fcn.004214f5
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x34], edx
cmp eax, 0xffffffff
jne 0x45ba23
push edi
call fcn.004ae67a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx edx, byte [eax + 0x45c680]
jmp dword [edx*4 + 0x45c670]
test esi, esi
jl 0x45b253
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x45b253
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x45ba8e
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
call fcn.004ae67a
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
mov ecx, ebx
call fcn.004241cf
push ecx
mov byte [ebp - 4], 0xc
mov ebx, esp
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x48], ebx
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b0cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xd
jne 0x45bba0
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004a7eac
mov edi, eax
test edi, edi
je 0x45bbba
mov edx, esi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45bbba
push esi
push eax
push edi
call fcn.004216d6
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45bbba
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x45bb34
push esi
mov ecx, ebx
call fcn.004214f5
movzx eax, word [edi]
mov ecx, dword [ebx]
add edi, 2
mov dword [ebp - 0x34], ecx
cmp eax, 0xffffffff
jne 0x45bb4e
push edi
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x34]
push edx
lea ecx, [esi + esi]
push edi
push ecx
push eax
mov dword [ebp - 0x2c], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45b371.1
movzx ecx, byte [eax + 0x45c6e4]
jmp dword [ecx*4 + 0x45c6d4]
test esi, esi
jl 0x45b253
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x45b253
mov ecx, dword [ebp - 0x2c]
mov dword [eax - 0xc], esi
mov edx, dword [ebx]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45bbba
push str.General
call fcn.004ae67a
add esp, 4
push eax
push str.General
mov ecx, ebx
call fcn.004241cf
mov byte [ebp - 4], 0xc
push 1
mov byte [ebp - 4], 0xa
call fcn.0046d7c0
push 0x4df5f8
call fcn.004ae67a
mov ebx, dword [ebp - 0x14]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x45bc36
mov esi, dword [ebx - 0x10]
cmp dword [ebx - 0xc], edi
lea eax, [ebx - 0x10]
je 0x45bcb7
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x45bc0c
cmp dword [ebx - 8], edi
jl 0x45b253
xor edx, edx
mov dword [ebx - 0xc], edi
mov word [ebx], dx
jmp 0x45bcb7
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bc22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
jmp 0x45bcb7
mov ecx, dword [ebx - 0xc]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx - 8]
mov esi, 0x4df5f8
mov eax, 1
sub eax, dword [ebx - 4]
sub esi, ebx
sub ecx, edi
sar esi, 1
or eax, ecx
jge 0x45bc62
push edi
lea ecx, [ebp - 0x14]
call fcn.004214f5
mov ebx, dword [ebp - 0x14]
cmp esi, dword [ebp - 0x34]
ja 0x45bc84
mov ecx, dword [ebx - 8]
lea eax, [edi + edi]
push eax
lea edx, [ebx + esi*2]
mov dword [ebp - 0x34], eax
push edx
lea eax, [ecx + ecx]
push eax
push ebx
call fcn.004ae1ce
mov esi, dword [ebp - 0x34]
jmp 0x45bc9a
mov eax, dword [ebx - 8]
lea esi, [edi + edi]
push esi
push 0x4df5f8
lea ecx, [eax + eax]
push ecx
push ebx
call fcn.004ae100
add esp, 0x10
test edi, edi
jl 0x45b253
cmp edi, dword [ebx - 8]
jg 0x45b253
xor edx, edx
mov dword [ebx - 0xc], edi
mov word [esi + ebx], dx
mov esi, dword [ebp - 0x18]
lea eax, [ebx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45bd10
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45bcfc
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x45bcfc
push eax
call fcn.00424240
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x45bcf4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0x10
mov dword [ebp - 0x18], ebx
jmp 0x45bd10
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.004241cf
lea esp, [esp]
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
mov ebx, dword [ebp - 0x20]
je 0x45bd29
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45c0c3
cmp dword [ebx - 0xc], 0
jle 0x45c0c3
push 0x3d
push ebx
call fcn.004af128
add esp, 8
test eax, eax
je 0x45c0c3
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x45c0c3
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004237ae
inc esi
push esi
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.00429322
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x10]
push str.__t_r_n_
push eax
call fcn.004b2757
add esp, 8
test eax, eax
je 0x45bf00
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x45bf00
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004237ae
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
lea eax, [edx - 0x10]
lea edi, [ecx - 0x10]
mov dword [ebp - 0x2c], edx
cmp eax, edi
je 0x45bedd
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x45be01
mov ebx, dword [eax]
cmp ebx, dword [edi]
jne 0x45be01
push eax
call fcn.00424240
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [esi], edx
dec edx
test edx, edx
jg 0x45bdf6
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0x10
mov dword [ebp - 0x10], ebx
jmp 0x45bedd
mov esi, dword [edx - 0xc]
test esi, esi
jne 0x45be62
cmp dword [edi + 4], 0
mov esi, dword [edi]
je 0x45bedd
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jge 0x45be3b
cmp dword [ecx - 8], 0
jl 0x45b253
mov dword [ecx - 0xc], 0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov word [ecx], ax
jmp 0x45bedd
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x45be51
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x45bedd
test edx, edx
je 0x45b253
mov eax, dword [ecx - 0xc]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 8]
mov edx, 1
sub edx, dword [edi + 0xc]
sub ebx, ecx
sub eax, esi
sar ebx, 1
or eax, edx
jge 0x45be94
push esi
lea ecx, [ebp - 0x10]
call fcn.004214f5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 8]
lea edi, [esi + esi]
add eax, eax
push edi
cmp ebx, dword [ebp - 0x34]
ja 0x45beaf
lea edx, [ecx + ebx*2]
push edx
push eax
push ecx
call fcn.004ae1ce
jmp 0x45beba
mov edx, dword [ebp - 0x2c]
push edx
push eax
push ecx
call fcn.004ae100
add esp, 0x10
test esi, esi
jl 0x45b253
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax - 8]
jg 0x45b253
mov dword [eax - 0xc], esi
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edi + edx], cx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [eax + ecx + 1]
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.00423656
push str.___t__r_n
lea eax, [ebp - 0x24]
call fcn.00433c57
mov ecx, dword [eax]
mov esi, dword [ebp - 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45bf7c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45bf6f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45bf6f
push eax
call fcn.00424240
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45bf67
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x24], ebx
jmp 0x45bf7c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.004241cf
push str.___t__r_n
lea eax, [ebp - 0x10]
call fcn.00433c57
mov ecx, dword [eax]
mov esi, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45bfdd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45bfd0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45bfd0
push eax
call fcn.00424240
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45bfc8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x10], ebx
jmp 0x45bfdd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.004241cf
mov ecx, dword [ebp - 0x24]
push str.oldVersion
push ecx
call fcn.004ae8c0
add esp, 8
test eax, eax
sete al
test al, al
je 0x45c04e
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45c074
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45c03f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45c03f
push eax
call fcn.00424240
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45c037
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x18], ebx
jmp 0x45c074
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004241cf
jmp 0x45c074
mov ecx, dword [ebp - 0x24]
push str.newVersion
push ecx
call fcn.004ae8c0
add esp, 8
test eax, eax
sete al
test al, al
je 0x45c074
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00423cda
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bd10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45bd10
mov ecx, dword [ebp - 0x14]
push ecx
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x44], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b0cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x45c11e
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a7eac
test eax, eax
je 0x45c138
push edi
push eax
mov ecx, esi
call fcn.00423c4c
jmp 0x45c138
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
call fcn.004ae67a
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
mov ecx, esi
call fcn.004241cf
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x44], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b0cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x13
jne 0x45c18e
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a7eac
test eax, eax
je 0x45c1a8
push edi
push eax
mov ecx, esi
call fcn.00423c4c
jmp 0x45c1a8
push str.General
call fcn.004ae67a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.004241cf
mov byte [ebp - 4], 0x12
push 1
mov byte [ebp - 4], 0xa
call fcn.0046d7c0
add esp, 0x14
push 0x4e0e6c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0042380e
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x14
call fcn.00429a41
add esp, 0xc
push eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 8]
add eax, 0x58
call fcn.00423959
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c23a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c25a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c27d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b5d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b5d6
add ebx, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c2c9
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c2e9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b4d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b4d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
sub ecx, dword [eax + 0x64]
mov edx, dword [eax + 8]
sar ecx, 2
push ecx
push eax
push edx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.LoadBindingRedirects_SxS_:_BindingRedirects__s__p_.size_d
call fcn.004235bf
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.General
call fcn.004235bf
push 1
mov byte [ebp - 4], 1
call fcn.0046d7c0
add esp, 0x18
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c379
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c39f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8