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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x512f18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45aa39
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 - 0x20], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004242c0
add esp, 4
lea edi, [eax + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
lea eax, [edi - 0x10]
setne bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45aa89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x45aae6
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45aaac
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
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 0x45aad2
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
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x40], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ab0d
push 0x80004005
call fcn.00421000
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_:_assembly_policy_file_s
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x45ab46
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a6e27
test eax, eax
je 0x45ab60
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x45ab60
push str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
call fcn.004ad5da
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_assembly_policy_file_s
mov ecx, esi
call fcn.0042424f
push ecx
mov bl, 3
mov byte [ebp - 4], bl
mov esi, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x40], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ab88
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, str.General
shr eax, 0x10
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x45abc6
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a6e27
test eax, eax
je 0x45abe0
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x45abe0
push str.General
call fcn.004ad5da
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042424f
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 1
call fcn.004696d0
mov eax, dword [ebp + 0xc]
add esp, 0x10
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x44], esp
mov esi, esp
push eax
mov dword [ebp - 0x28], 0
lea ebx, [ebp - 0x28]
lea edi, [ebp - 0x24]
call fcn.004242c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00465210
or esi, 0xffffffff
add esp, 8
cmp eax, esi
jne 0x45ac63
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ac4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jmp 0x45aac6
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x45ac78
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004add25
add esp, 4
jmp 0x45ac29
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00464f70
add esp, 8
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00423d5a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x45acc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45acc0
mov esi, dword [ebp - 0x20]
cmp dword [esi - 0xc], 0
jl 0x45bb41
push str._dependentAssembly_
push esi
call fcn.004ad761
add esp, 8
test eax, eax
je 0x45bb41
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x45bb41
lea edi, [eax + 0x13]
test edi, edi
jge 0x45acf9
xor edi, edi
mov ebx, dword [esi - 0xc]
mov ecx, SysReAllocString
sub ecx, edi
js 0x45bba7
cmp edi, ebx
jle 0x45ad0f
mov edi, ebx
test edi, edi
jle 0x45ad6e
sub ebx, edi
cmp dword [esi - 4], 1
jle 0x45ad2a
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00421553
mov esi, dword [ebp - 0x20]
lea eax, [ebx + ebx + 2]
push eax
lea ecx, [esi + edi*2]
push ecx
push eax
push esi
call fcn.004ad133
add esp, 0x10
cmp eax, 0x50
ja case.0x45b436.1
movzx edx, byte [eax + 0x45bbd0]
jmp dword [edx*4 + 0x45bbc0]
test ebx, ebx
jl 0x45bba7
cmp ebx, dword [esi - 8]
jg 0x45bba7
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [esi - 0xc], 0
jl 0x45acc0
push str.__dependentAssembly_
push esi
call fcn.004ad761
add esp, 8
test eax, eax
je 0x45ad96
sub eax, esi
sar eax, 1
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x45adc6
cmp dword [esi - 0xc], 0
jl 0x45acc0
push 0x4f2044
push esi
call fcn.004ad761
add esp, 8
test eax, eax
je 0x45acc0
sub eax, esi
sar eax, 1
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x45acc0
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45aa2f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov eax, 0x4de948
shr eax, 0x10
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x45aeca
mov ecx, 0x4de948
movzx esi, cx
push esi
call fcn.004a6e27
mov ebx, eax
test ebx, ebx
je 0x45aee5
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 0x45aee5
push esi
push eax
push ebx
call fcn.004216dd
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45aee5
movzx esi, word [ebx]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x45ae68
push esi
lea ecx, [ebp - 0x1c]
call fcn.004214fc
mov edi, dword [ebp - 0x1c]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x28], ebx
cmp eax, 0xffffffff
jne 0x45ae82
mov ecx, ebx
push ecx
call fcn.004ad5da
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x28]
push edx
push eax
lea ebx, [esi + esi]
push ebx
push edi
call fcn.004ad065
add esp, 0x10
cmp eax, 0x50
ja case.0x45b436.1
movzx ecx, byte [eax + 0x45bc34]
jmp dword [ecx*4 + 0x45bc24]
test esi, esi
jl 0x45bba7
cmp esi, dword [edi - 8]
jg 0x45bba7
xor edx, edx
mov dword [edi - 0xc], esi
mov word [ebx + edi], dx
jmp 0x45aee5
push 0x4de948
call fcn.004ad5da
add esp, 4
push eax
push 0x4de948
lea ecx, [ebp - 0x1c]
call fcn.0042424f
mov byte [ebp - 4], 7
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45aa2f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], 0
jne 0x45afe2
mov ecx, 0x4de948
movzx esi, cx
push esi
call fcn.004a6e27
mov ebx, eax
test ebx, ebx
je 0x45affd
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 0x45affd
push esi
push eax
push ebx
call fcn.004216dd
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45affd
mov eax, dword [ebp - 0x14]
movzx esi, word [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x45af82
push esi
lea ecx, [ebp - 0x14]
call fcn.004214fc
movzx eax, word [ebx]
lea edi, [ebx + 2]
cmp eax, 0xffffffff
jne 0x45af97
push edi
call fcn.004ad5da
add esp, 4
inc eax
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax]
push ecx
push edi
lea ebx, [esi + esi]
push ebx
push edx
call fcn.004ad065
add esp, 0x10
cmp eax, 0x50
ja case.0x45b436.1
movzx eax, byte [eax + 0x45bc98]
jmp dword [eax*4 + 0x45bc88]
test esi, esi
jl 0x45bba7
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax - 8]
jg 0x45bba7
xor ecx, ecx
mov dword [eax - 0xc], esi
mov word [ebx + eax], cx
jmp 0x45affd
push 0x4de948
call fcn.004ad5da
add esp, 4
push eax
push 0x4de948
lea ecx, [ebp - 0x14]
call fcn.0042424f
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.004237f6
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 0xc], 0
jl 0x45bae2
push str._bindingRedirect
push ebx
call fcn.004ad761
add esp, 8
test eax, eax
je 0x45bae2
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x45bae2
lea edi, [eax + 0x11]
test edi, edi
jge 0x45b051
xor edi, edi
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi - 0xc]
mov edx, SysReAllocString
sub edx, edi
js 0x45bba7
cmp edi, ecx
jle 0x45b06a
mov edi, ecx
test edi, edi
jle 0x45b0d0
mov ebx, ecx
sub ebx, edi
cmp dword [esi - 4], 1
jle 0x45b086
mov eax, ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00421553
mov esi, dword [ebp - 0x20]
lea eax, [ebx + ebx + 2]
push eax
lea ecx, [esi + edi*2]
push ecx
push eax
push esi
call fcn.004ad133
add esp, 0x10
cmp eax, 0x50
ja case.0x45b436.1
movzx edx, byte [eax + 0x45bcfc]
jmp dword [edx*4 + 0x45bcec]
test ebx, ebx
jl 0x45bba7
cmp ebx, dword [esi - 8]
jg 0x45bba7
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
lea edi, [eax + 0x10]
test edi, edi
jge 0x45b0d9
xor edi, edi
mov esi, dword [ebx - 0xc]
mov ecx, SysReAllocString
sub ecx, edi
js 0x45bba7
cmp edi, esi
jle 0x45b0ef
mov edi, esi
test edi, edi
jle 0x45b14e
sub esi, edi
cmp dword [ebx - 4], 1
jle 0x45b10a
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [ebp - 0x24]
call fcn.00421553
mov ebx, dword [ebp - 0x24]
lea eax, [esi + esi + 2]
push eax
lea ecx, [ebx + edi*2]
push ecx
push eax
push ebx
call fcn.004ad133
add esp, 0x10
cmp eax, 0x50
ja case.0x45b436.1
movzx edx, byte [eax + 0x45bd60]
jmp dword [edx*4 + 0x45bd50]
test esi, esi
jl 0x45bba7
cmp esi, dword [ebx - 8]
jg 0x45bba7
xor eax, eax
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], ax
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x28], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45aa2f
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_in_Policy_file__s
mov byte [ebp - 4], 0xb
test ecx, 0xffff0000
jne 0x45b1a8
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a6e27
test eax, eax
je 0x45b1c2
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x45b1c2
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
call fcn.004ad5da
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found_in_Policy_file__s
mov ecx, esi
call fcn.0042424f
push ecx
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45aa2f
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], 0xd
jne 0x45b218
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a6e27
test eax, eax
je 0x45b232
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x45b232
push str.General
call fcn.004ad5da
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042424f
mov byte [ebp - 4], 0xc
push 1
mov byte [ebp - 4], 0xa
call fcn.004696d0
push 0x4de948
call fcn.004ad5da
add esp, 0x14
push eax
push 0x4de948
lea ecx, [ebp - 0x14]
call fcn.0042424f
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b2b1
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b2a4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b2a4
push eax
call fcn.004242c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b29c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
jmp 0x45b2b1
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042424f
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 0xc], 0
je 0x45b2c7
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
jne 0x45b8a3
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 0xc], 0
jle 0x45b8a3
push 0x3d
push ebx
call fcn.004ae088
add esp, 8
test eax, eax
je 0x45b8a3
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x45b8a3
push esi
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x24]
call fcn.004237f6
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00429e94
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
push str.__t_r_n_
push ecx
call fcn.004b1843
add esp, 8
test eax, eax
je 0x45b3cc
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x45b3cc
push eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x10]
call fcn.004237f6
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
mov esi, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b3a9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b39c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b39c
push eax
call fcn.004242c0
mov dword [ebp - 0x34], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b391
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
jmp 0x45b3a9
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042424f
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45b3cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
mov esi, dword [edx - 0xc]
lea esi, [esi + eax + 1]
test esi, esi
jge 0x45b3e2
xor esi, esi
mov edi, dword [ebx - 0xc]
mov eax, SysReAllocString
sub eax, esi
js 0x45bba7
cmp esi, edi
jle 0x45b3f8
mov esi, edi
test esi, esi
jle 0x45b457
sub edi, esi
cmp dword [ebx - 4], 1
jle 0x45b413
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00421553
mov ebx, dword [ebp - 0x24]
lea eax, [edi + edi + 2]
push eax
lea edx, [ebx + esi*2]
push edx
push eax
push ebx
call fcn.004ad133
add esp, 0x10
cmp eax, 0x50
ja case.0x45b436.1
movzx eax, byte [eax + 0x45bdc4]
jmp dword [eax*4 + 0x45bdb4]
test edi, edi
jl 0x45bba7
cmp edi, dword [ebx - 8]
jg 0x45bba7
xor ecx, ecx
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], cx
push str.___t__r_n
lea eax, [ebp - 0x18]
call fcn.00438cdc
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
lea edi, [eax - 0x10]
lea esi, [edx - 0x10]
mov dword [ebp - 0x28], eax
cmp edi, esi
je 0x45b5e6
cmp dword [esi + 0xc], 0
jl 0x45b50e
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x45b50e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x45b4af
cmp eax, dword [edi]
jne 0x45b4af
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45b4ea
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x45bbbb
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004ad065
add esp, 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45b503
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 0x45b5e6
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jne 0x45b56b
mov edi, dword [esi]
cmp dword [esi + 4], ebx
je 0x45b5e6
cmp dword [esi + 0xc], ebx
lea eax, [esi + 0xc]
jge 0x45b544
cmp dword [edx - 8], ebx
jl 0x45bba7
mov dword [edx - 0xc], ebx
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov word [edx], cx
jmp 0x45b5e6
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45b55a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x45b5e6
test eax, eax
je 0x45bba7
mov ecx, dword [edx - 0xc]
mov edi, dword [ebp - 0x28]
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], ecx
mov ecx, 1
sub ecx, dword [esi + 0xc]
sub edi, edx
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x45b59d
push ebx
lea ecx, [ebp - 0x18]
call fcn.004214fc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 8]
lea esi, [ebx + ebx]
add eax, eax
push esi
cmp edi, dword [ebp - 0x34]
ja 0x45b5b8
lea ecx, [edx + edi*2]
push ecx
push eax
push edx
call fcn.004ad133
jmp 0x45b5c3
mov ecx, dword [ebp - 0x28]
push ecx
push eax
push edx
call fcn.004ad065
add esp, 0x10
test ebx, ebx
jl 0x45bba7
mov eax, dword [ebp - 0x18]
cmp ebx, dword [eax - 8]
jg 0x45bba7
mov dword [eax - 0xc], ebx
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov word [esi + edx], cx
push str.___t__r_n
lea eax, [ebp - 0x10]
call fcn.00438cdc
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
lea edi, [eax - 0x10]
lea esi, [edx - 0x10]
mov dword [ebp - 0x28], eax
cmp edi, esi
je 0x45b775
cmp dword [esi + 0xc], 0
jl 0x45b69d
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x45b69d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x45b63e
cmp eax, dword [edi]
jne 0x45b63e
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x45b679
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x45bbbb
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004ad065
add esp, 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45b692
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 0x45b775
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jne 0x45b6fa
mov edi, dword [esi]
cmp dword [esi + 4], ebx
je 0x45b775
cmp dword [esi + 0xc], ebx
lea eax, [esi + 0xc]
jge 0x45b6d3
cmp dword [edx - 8], ebx
jl 0x45bba7
mov dword [edx - 0xc], ebx
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx], cx
jmp 0x45b775
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45b6e9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x45b775
test eax, eax
je 0x45bba7
mov ecx, dword [edx - 0xc]
mov edi, dword [ebp - 0x28]
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], ecx
mov ecx, 1
sub ecx, dword [esi + 0xc]
sub edi, edx
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x45b72c
push ebx
lea ecx, [ebp - 0x10]
call fcn.004214fc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
lea esi, [ebx + ebx]
add eax, eax
push esi
cmp edi, dword [ebp - 0x34]
ja 0x45b747
lea ecx, [edx + edi*2]
push ecx
push eax
push edx
call fcn.004ad133
jmp 0x45b752
mov ecx, dword [ebp - 0x28]
push ecx
push eax
push edx
call fcn.004ad065
add esp, 0x10
test ebx, ebx
jl 0x45bba7
mov eax, dword [ebp - 0x10]
cmp ebx, dword [eax - 8]
jg 0x45bba7
mov dword [eax - 0xc], ebx
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [esi + edx], cx
mov eax, dword [ebp - 0x18]
push str.oldVersion
push eax
call fcn.004ad820
add esp, 8
test eax, eax
sete al
test al, al
je 0x45b7e5
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b854
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b7db
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b7db
push eax
call fcn.004242c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b7d3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
jmp 0x45b854
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
jmp 0x45b84f
mov ecx, dword [ebp - 0x18]
push str.newVersion
push ecx
call fcn.004ad820
add esp, 8
test eax, eax
sete al
test al, al
je 0x45b854
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b854
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b847
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b847
push eax
call fcn.004242c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b83f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x45b854
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042424f
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 0x45b877
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b2b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45b2b1
mov ecx, dword [ebp - 0x14]
push ecx
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x28], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45aa2f
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 0x45b8fe
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a6e27
test eax, eax
je 0x45b918
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x45b918
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
call fcn.004ad5da
add esp, 4
push eax
push str.LoadBindingRedirects_SxS_:_bindingRedirect_found:__s___s
mov ecx, esi
call fcn.0042424f
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x28], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45aa2f
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 0x45b96e
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a6e27
test eax, eax
je 0x45b988
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x45b988
push str.General
call fcn.004ad5da
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042424f
mov byte [ebp - 4], 0x12
push 1
mov byte [ebp - 4], 0xa
call fcn.004696d0
add esp, 0x14
push 0x4e01bc
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00423856
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 0x14
call fcn.0042a7f3
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 0x15
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x64]
add edi, 0x58
test eax, eax
jne 0x45b9db
xor ecx, ecx
jmp 0x45b9e3
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x45ba11
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
push eax
push ecx
push ebx
push 1
push esi
call fcn.00424d18
add esp, 0x14
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45ba2a
cmp eax, esi
jbe 0x45ba1a
call fcn.004ad751
mov eax, dword [edi]
push esi
push eax
push ebx
lea edx, [ebp - 0x4c]
push edx
mov eax, edi
call fcn.00423f26
mov byte [ebp - 4], 0x14
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 0x45ba4d
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 - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ba70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
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 0x45ba93
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 0x45bab6
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45adc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45adc6
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 0x45bb02
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
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 0x45bb25
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x45aca9
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.00423607
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.General
call fcn.00423607
push 1
mov byte [ebp - 4], 1
call fcn.004696d0
add esi, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45aaac
mov ecx, dword [esi]
push esi
jmp 0x45aaa5
push 0x80070057
call fcn.00421000
call fcn.0049f45b
call fcn.0049f493
call fcn.00421548
push esp
lodsd eax, dword [esi]
inc ebp
add byte [ecx - 0x49ffba45], dh
mov ebx, 0xbbb60045
inc ebp
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
lea ecx, [ecx]
scasb al, byte es:[edi]
scasb al, byte es:[edi]
inc ebp
add byte [ecx - 0x49ffba45], dh
mov ebx, 0xbbb60045
inc ebp
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
lea ecx, [ecx]
ret