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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d16a8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x50cc94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45b589
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.004242ab
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 0x45b5d9
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test ebx, ebx
je 0x45c809
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x24], edi
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45b608
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 0x45b70d
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a91be
mov ebx, eax
test ebx, ebx
je 0x45b727
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 0x45b727
push edi
push eax
push ebx
call fcn.00421708
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b727
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 0x45b694
push edi
mov ecx, edx
call fcn.00421527
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 0x45b6b1
push ebx
call fcn.004af97a
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.004af400
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx ecx, byte [eax + 0x45c874]
jmp dword [ecx*4 + 0x45c864]
call fcn.004a17ee
test edi, edi
jl 0x45b703
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
cmp edi, dword [ecx - 8]
jg 0x45b703
mov dword [ecx - 0xc], edi
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45b727
push 0x80070057
call fcn.00421000
push str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
call fcn.004af97a
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
mov ecx, edi
call fcn.0042423a
push ecx
mov byte [ebp - 4], 3
mov edi, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x24], edi
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45b74e
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 0x45b853
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a91be
mov ebx, eax
test ebx, ebx
je 0x45b86d
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 0x45b86d
push edi
push eax
push ebx
call fcn.00421708
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b86d
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 0x45b7e0
mov ecx, dword [ebp - 0x24]
push edi
call fcn.00421527
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 0x45b7fd
push ebx
call fcn.004af97a
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.004af400
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx ecx, byte [eax + 0x45c8d8]
jmp dword [ecx*4 + 0x45c8c8]
call fcn.004a1826
test edi, edi
jl 0x45b703
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x45b703
mov dword [eax - 0xc], edi
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45b86d
push str.General
call fcn.004af97a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.0042423a
mov byte [ebp - 4], 3
push 1
mov byte [ebp - 4], 1
call fcn.0046e660
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.004242ab
mov edx, dword [ebp - 0x2c]
add eax, 0x10
add esp, 4
mov dword [edx], eax
call fcn.00469690
add esp, 8
cmp eax, 0xffffffff
je 0x45c809
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x45b8e9
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004b00c5
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 0x45c81d
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004693f0
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x45b951
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x45b941
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x45b941
push eax
call fcn.004242ab
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x45b939
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 0x45b951
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042423a
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 0x45b983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b983
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
jl 0x45c7c5
push str._dependentAssembly_
push esi
call fcn.004afb01
add esp, 8
test eax, eax
je 0x45c7c5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x45c7c5
lea edi, [eax + 0x13]
test edi, edi
jge 0x45b9b9
xor edi, edi
mov ebx, dword [esi - 0xc]
mov ecx, 0x7fffffff
sub ecx, edi
js 0x45b703
cmp edi, ebx
jle 0x45b9cf
mov edi, ebx
test edi, edi
jle 0x45ba2e
sub ebx, edi
cmp dword [esi - 4], 1
jle 0x45b9ea
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042159d
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.004af4ce
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx edx, byte [eax + 0x45c93c]
jmp dword [edx*4 + 0x45c92c]
test ebx, ebx
jl 0x45b703
cmp ebx, dword [esi - 8]
jg 0x45b703
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [esi - 0xc], 0
jl 0x45c7c5
push str.__dependentAssembly_
push esi
call fcn.004afb01
add esp, 8
test eax, eax
je 0x45ba56
sub eax, esi
sar eax, 1
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x45ba86
cmp dword [esi - 0xc], 0
jl 0x45c7c5
push 0x4f0884
push esi
call fcn.004afb01
add esp, 8
test eax, eax
je 0x45b983
sub eax, esi
sar eax, 1
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x45b983
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b57f
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, 0x4e0608
shr eax, 0x10
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x45bb88
mov ecx, 0x4e0608
movzx esi, cx
push esi
call fcn.004a91be
mov ebx, eax
test ebx, ebx
je 0x45bba3
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 0x45bba3
push esi
push eax
push ebx
call fcn.00421708
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45bba3
movzx esi, word [ebx]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x45bb28
push esi
lea ecx, [ebp - 0x18]
call fcn.00421527
mov edi, dword [ebp - 0x18]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x2c], ebx
cmp eax, 0xffffffff
jne 0x45bb40
push ebx
call fcn.004af97a
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.004af400
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx eax, byte [eax + 0x45c9a0]
jmp dword [eax*4 + 0x45c990]
test esi, esi
jl 0x45b703
cmp esi, dword [edi - 8]
jg 0x45b703
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [ebx + edi], cx
jmp 0x45bba3
push 0x4e0608
call fcn.004af97a
add esp, 4
push eax
push 0x4e0608
lea ecx, [ebp - 0x18]
call fcn.0042423a
mov byte [ebp - 4], 7
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b57f
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 0x45bca0
mov ecx, 0x4e0608
movzx esi, cx
push esi
call fcn.004a91be
mov ebx, eax
test ebx, ebx
je 0x45bcbe
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 0x45bcbe
push esi
push eax
push ebx
call fcn.00421708
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45bcbe
movzx esi, word [ebx]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x45bc40
push esi
lea ecx, [ebp - 0x14]
call fcn.00421527
mov edi, dword [ebp - 0x14]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x34], ebx
cmp eax, 0xffffffff
jne 0x45bc58
push ebx
call fcn.004af97a
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.004af400
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx eax, byte [eax + 0x45ca04]
jmp dword [eax*4 + 0x45c9f4]
test esi, esi
jl 0x45b703
cmp esi, dword [edi - 8]
jg 0x45b703
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [ebx + edi], cx
jmp 0x45bcbe
push 0x4e0608
call fcn.004af97a
add esp, 4
push eax
push 0x4e0608
lea ecx, [ebp - 0x14]
call fcn.0042423a
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.004237e1
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x20]
cmp dword [ebx - 0xc], 0
jl 0x45c759
push str._bindingRedirect
push ebx
call fcn.004afb01
add esp, 8
test eax, eax
je 0x45c759
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x45c759
lea esi, [eax + 0x11]
test esi, esi
jge 0x45bd12
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi - 0xc]
mov edx, 0x7fffffff
sub edx, esi
js 0x45b703
cmp esi, ecx
jle 0x45bd2b
mov esi, ecx
test esi, esi
jle 0x45bd91
mov ebx, ecx
sub ebx, esi
cmp dword [edi - 4], 1
jle 0x45bd47
mov eax, ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042159d
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.004af4ce
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx edx, byte [eax + 0x45ca68]
jmp dword [edx*4 + 0x45ca58]
test ebx, ebx
jl 0x45b703
cmp ebx, dword [edi - 8]
jg 0x45b703
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 0x45bd9a
xor esi, esi
mov edi, dword [ebx - 0xc]
mov ecx, 0x7fffffff
sub ecx, esi
js 0x45b703
cmp esi, edi
jle 0x45bdb0
mov esi, edi
test esi, esi
jle 0x45be0f
sub edi, esi
cmp dword [ebx - 4], 1
jle 0x45bdcb
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.0042159d
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.004af4ce
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx edx, byte [eax + 0x45cacc]
jmp dword [edx*4 + 0x45cabc]
test edi, edi
jl 0x45b703
cmp edi, dword [ebx - 8]
jg 0x45b703
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.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b57f
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 0x45bf24
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a91be
mov edi, eax
test edi, edi
je 0x45bf3e
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 0x45bf3e
push esi
push eax
push edi
call fcn.00421708
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45bf3e
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 0x45beb9
push esi
mov ecx, ebx
call fcn.00421527
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x34], edx
cmp eax, 0xffffffff
jne 0x45bed3
push edi
call fcn.004af97a
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.004af400
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx edx, byte [eax + 0x45cb30]
jmp dword [edx*4 + 0x45cb20]
test esi, esi
jl 0x45b703
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x45b703
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x45bf3e
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
call fcn.004af97a
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
mov ecx, ebx
call fcn.0042423a
push ecx
mov byte [ebp - 4], 0xc
mov ebx, esp
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x48], ebx
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b57f
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 0x45c050
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004a91be
mov edi, eax
test edi, edi
je 0x45c06a
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 0x45c06a
push esi
push eax
push edi
call fcn.00421708
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45c06a
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 0x45bfe4
push esi
mov ecx, ebx
call fcn.00421527
movzx eax, word [edi]
mov ecx, dword [ebx]
add edi, 2
mov dword [ebp - 0x34], ecx
cmp eax, 0xffffffff
jne 0x45bffe
push edi
call fcn.004af97a
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.004af400
add esp, 0x10
cmp eax, 0x50
ja case.0x45b821.1
movzx ecx, byte [eax + 0x45cb94]
jmp dword [ecx*4 + 0x45cb84]
test esi, esi
jl 0x45b703
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x45b703
mov ecx, dword [ebp - 0x2c]
mov dword [eax - 0xc], esi
mov edx, dword [ebx]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45c06a
push str.General
call fcn.004af97a
add esp, 4
push eax
push str.General
mov ecx, ebx
call fcn.0042423a
mov byte [ebp - 4], 0xc
push 1
mov byte [ebp - 4], 0xa
call fcn.0046e660
push 0x4e0608
call fcn.004af97a
mov ebx, dword [ebp - 0x14]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x45c0e6
mov esi, dword [ebx - 0x10]
cmp dword [ebx - 0xc], edi
lea eax, [ebx - 0x10]
je 0x45c167
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x45c0bc
cmp dword [ebx - 8], edi
jl 0x45b703
xor edx, edx
mov dword [ebx - 0xc], edi
mov word [ebx], dx
jmp 0x45c167
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c0d2
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 0x45c167
mov ecx, dword [ebx - 0xc]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx - 8]
mov esi, 0x4e0608
mov eax, 1
sub eax, dword [ebx - 4]
sub esi, ebx
sub ecx, edi
sar esi, 1
or eax, ecx
jge 0x45c112
push edi
lea ecx, [ebp - 0x14]
call fcn.00421527
mov ebx, dword [ebp - 0x14]
cmp esi, dword [ebp - 0x34]
ja 0x45c134
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.004af4ce
mov esi, dword [ebp - 0x34]
jmp 0x45c14a
mov eax, dword [ebx - 8]
lea esi, [edi + edi]
push esi
push 0x4e0608
lea ecx, [eax + eax]
push ecx
push ebx
call fcn.004af400
add esp, 0x10
test edi, edi
jl 0x45b703
cmp edi, dword [ebx - 8]
jg 0x45b703
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 0x45c1c0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45c1ac
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x45c1ac
push eax
call fcn.004242ab
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x45c1a4
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 0x45c1c0
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.0042423a
lea esp, [esp]
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
mov ebx, dword [ebp - 0x20]
je 0x45c1d9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45c573
cmp dword [ebx - 0xc], 0
jle 0x45c573
push 0x3d
push ebx
call fcn.004b0428
add esp, 8
test eax, eax
je 0x45c573
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x45c573
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004237e1
inc esi
push esi
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.004293c3
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x10]
push str.__t_r_n_
push eax
call fcn.004b3a57
add esp, 8
test eax, eax
je 0x45c3b0
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x45c3b0
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004237e1
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 0x45c38d
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x45c2b1
mov ebx, dword [eax]
cmp ebx, dword [edi]
jne 0x45c2b1
push eax
call fcn.004242ab
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [esi], edx
dec edx
test edx, edx
jg 0x45c2a6
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 0x45c38d
mov esi, dword [edx - 0xc]
test esi, esi
jne 0x45c312
cmp dword [edi + 4], 0
mov esi, dword [edi]
je 0x45c38d
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jge 0x45c2eb
cmp dword [ecx - 8], 0
jl 0x45b703
mov dword [ecx - 0xc], 0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov word [ecx], ax
jmp 0x45c38d
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x45c301
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 0x45c38d
test edx, edx
je 0x45b703
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 0x45c344
push esi
lea ecx, [ebp - 0x10]
call fcn.00421527
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 0x45c35f
lea edx, [ecx + ebx*2]
push edx
push eax
push ecx
call fcn.004af4ce
jmp 0x45c36a
mov edx, dword [ebp - 0x2c]
push edx
push eax
push ecx
call fcn.004af400
add esp, 0x10
test esi, esi
jl 0x45b703
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax - 8]
jg 0x45b703
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 0x45c3b0
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.00423689
push str.___t__r_n
lea eax, [ebp - 0x24]
call fcn.004341a9
mov ecx, dword [eax]
mov esi, dword [ebp - 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45c42c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45c41f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45c41f
push eax
call fcn.004242ab
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45c417
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 0x45c42c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.0042423a
push str.___t__r_n
lea eax, [ebp - 0x10]
call fcn.004341a9
mov ecx, dword [eax]
mov esi, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45c48d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45c480
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45c480
push eax
call fcn.004242ab
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45c478
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 0x45c48d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042423a
mov ecx, dword [ebp - 0x24]
push str.oldVersion
push ecx
call fcn.004afbc0
add esp, 8
test eax, eax
sete al
test al, al
je 0x45c4fe
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45c524
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45c4ef
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45c4ef
push eax
call fcn.004242ab
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45c4e7
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 0x45c524
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042423a
jmp 0x45c524
mov ecx, dword [ebp - 0x24]
push str.newVersion
push ecx
call fcn.004afbc0
add esp, 8
test eax, eax
sete al
test al, al
je 0x45c524
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00423d45
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 0x45c547
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 0x45c1c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45c1c0
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.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b57f
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 0x45c5ce
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a91be
test eax, eax
je 0x45c5e8
push edi
push eax
mov ecx, esi
call fcn.00423cb7
jmp 0x45c5e8
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
call fcn.004af97a
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
mov ecx, esi
call fcn.0042423a
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x44], esi
call fcn.004a1286
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b57f
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 0x45c63e
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a91be
test eax, eax
je 0x45c658
push edi
push eax
mov ecx, esi
call fcn.00423cb7
jmp 0x45c658
push str.General
call fcn.004af97a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042423a
mov byte [ebp - 4], 0x12
push 1
mov byte [ebp - 4], 0xa
call fcn.0046e660
add esp, 0x14
push 0x4e1e7c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00423841
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x14
call fcn.00429a78
add esp, 0xc
push eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 8]
add eax, 0x58
call fcn.0042398c
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 0x45c6c7
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 0x45c6ea
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 0x45c70a
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 0x45c72d
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 0x45ba86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45ba86
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 0x45c779
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 0x45c799
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 0x45b980
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b980
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.004235f2
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.General
call fcn.004235f2
push 1
mov byte [ebp - 4], 1
call fcn.0046e660
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 0x45c829
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 0x45c84f
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