Function at 0x10046b40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012efc1
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x1017d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x100472a9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x440], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.100ce270
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x101826e4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.netul.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.1001f540
mov ebx, eax
cmp dword [ebx], 0
jne 0x10046c5f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x10046c5f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call esi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call esi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x10046c5f
call eax
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 0x438]
mov dword [ebp - method.mf_bind_t_class_CInstaller__class_CInstaller___void_.virtual_0], vtable.mf_bind_t_class_CInstaller__class_CInstaller___void_.0
mov dword [ebp - 0x428], 0x100461a0
mov dword [ebp - 0x424], ebx
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push eax
call fcn.1003cf10
add esp, 4
mov byte [ebp - 4], 0
call fcn.1003f260
mov esi, eax
call fcn.1003f2e0
mov ecx, eax
call fcn.1003f400
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x24]
push eax
push str.install_type:_d__install_version:_s
call fcn.10042220
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 2
push eax
call fcn.1003cf10
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebx + 4]
push esi
call fcn.1003f2e0
mov ecx, eax
call fcn.1003f410
push eax
call fcn.10050f90
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 2
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 3
push eax
call fcn.1003cf10
mov esi, dword [esi]
lea ecx, [ebp - 0x430]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.100517a0
push esi
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 4
call fcn.10051d80
lea ecx, [ebp - 0x430]
call fcn.10052090
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0
call fcn.100518b0
push str.remove_all_pending_files
call fcn.10042220
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 3
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 5
push eax
call fcn.1003cf10
push str..tmp
push dword [ebx + 4]
lea esi, [ebx + 4]
mov byte [ebp - 4], 0
call fcn.100053f0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 4
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
call fcn.1003cf10
push dword [esi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.10042220
push str.update
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.10028900
push dword [eax]
mov byte [ebp - 4], 7
call fcn.10004aa0
mov edx, dword [ebp - 0x438]
or esi, 0xffffffff
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046e59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10028900
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.10042220
mov edx, dword [ebp - 0x438]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046ea2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 5
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 9
push eax
call fcn.1003cf10
add esp, 4
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.10045450
and eax, 1
mov dword [ebp - 0x438], eax
jne 0x10046f18
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x440]
call fcn.1001eaf0
mov edi, dword [ebp - 0x440]
mov ecx, ebx
push 0x12
push edi
push 0
call fcn.10047ab0
jmp 0x1004726d
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0x5d
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xa
push eax
call fcn.1003cf10
push dword [ebx + 4]
mov byte [ebp - 4], 0
call fcn.100530d0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0x60
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xb
push eax
call fcn.1003cf10
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.1003f260
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
test al, 1
je 0x10046fbd
call fcn.10023320
mov ecx, eax
call fcn.10021700
mov dword [ebp - 0x434], 1
test eax, eax
je 0x10046fc7
mov dword [ebp - 0x434], 0
call fcn.1003f260
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
test al, 2
je 0x10046fec
call fcn.10023320
mov ecx, eax
call fcn.100218e0
test eax, eax
jne 0x10046fec
lea esi, [eax + 1]
jmp 0x10046fee
xor esi, esi
push 0
call fcn.10023320
mov ecx, eax
call fcn.10021bc0
neg eax
sbb eax, eax
inc eax
push eax
call fcn.10023320
mov ecx, eax
call fcn.100219e0
neg eax
sbb eax, eax
inc eax
push eax
push esi
push dword [ebp - 0x434]
push ecx
mov esi, esp
mov dword [ebp - 0x434], esi
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.10004430
add esp, 4
lea ecx, [ebp - 0x45c]
add eax, 0x10
mov dword [esi], eax
call fcn.10040450
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0xc
call fcn.10040ef0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0x61
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xd
push eax
call fcn.1003cf10
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x45c]
call fcn.100408a0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x42c], 0x100461b0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0x62
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xe
push eax
call fcn.1003cf10
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xc
push 0x208
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100ce270
add esp, 0x10
lea eax, [ebp - 0x420]
push str.LdsSecurity.exe
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x100472b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x43c]
call fcn.100042f0
test al, al
jne 0x10047169
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10047147
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.100056e0
mov byte [ebp - 4], 0x10
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x100472bd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
push 0x1013ef1c
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x11
call fcn.100042f0
test al, al
jne 0x100471b4
push 0xb
push 0x1013ef1c
lea ecx, [ebp - 0x434]
call fcn.100056e0
mov esi, dword [ebp - 0x434]
lea ecx, [ebp - 0x441]
push esi
push dword [ebp - 0x43c]
mov byte [ebp - 4], 0x12
call fcn.10045870
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x10
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100471ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x43c]
mov eax, esi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004720f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.10047380
test eax, eax
jne 0x10047238
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x438], eax
call fcn.1001eaf0
mov edi, dword [ebp - 0x440]
push str.install_end.
call fcn.10042220
add esp, 4
mov ecx, ebx
push 0
push edi
push dword [ebp - 0x438]
call fcn.10047ab0
push str.real_install_end.
call fcn.10042220
add esp, 4
lea ecx, [ebp - 0x45c]
call fcn.100405e0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x10047289
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100845e8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.100042d0
push 0x80004005
call fcn.100042d0
push 0x80004005
call fcn.100042d0
int3