Function at 0x42d720
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517b86
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x5746cc]
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 dword [ebp - 0xa38], 0
call fcn.00441610
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx]
mov ebx, eax
test ebx, ebx
je 0x42d8ab
mov dword [ebp - 4], 0
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x42de0b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa38], 1
mov dword [ebp - 0xa34], eax
lea eax, [ebx - 1]
cmp eax, 3
ja case.default.0x42d7a4
jmp dword [eax*4 + 0x42de38]
push 0x10
push 0x52ff44
jmp 0x42d7cd
push 0x10
push 0x52ff68
jmp 0x42d7cd
push 0x11
push 0x52ff8c
jmp 0x42d7cd
push 0x1a
push str._rN_f
lea ecx, [ebp - 0xa34]
call fcn.0040ab90
mov esi, dword [ebp - 0xa34]
push 0
push 0
push esi
push 0
call fcn.0043e310
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42d80b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
push str.PreInitCheck_failed__ret___d__exit
call fcn.00436cf0
add esp, 8
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x42de15
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
push ebx
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa34]
mov dword [ebp - 4], 1
push str._sPreInitCheck:_d
push eax
call fcn.004094c0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa38], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa34]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 2
call fcn.0041d260
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00418740
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42d8a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x42ddef
push str.PreInitCheck_success.
call fcn.00436cf0
mov eax, dword [edi]
add esp, 4
push str.DLL_7Z
push 0xcb
push dword [0x577df0]
push edi
call dword [eax + 4]
test eax, eax
jne 0x42d97a
push eax
push eax
push str.7z.dll_
push eax
call fcn.0043e310
push str.Init_7z_failed__exit
call fcn.00436cf0
add esp, 4
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x42de1f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa34]
mov dword [ebp - 4], 3
push str._sInit7Z:_d
push eax
call fcn.004094c0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa38], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa34]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 4
call fcn.0041d260
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00418740
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x42d89a
push str.Init_7z_success.
call fcn.00436cf0
mov eax, dword [edi]
add esp, 4
push str.EXE_KB931125
push 0x361
push dword [0x577df0]
push edi
call dword [eax + 0xc]
test eax, eax
je 0x42d9ae
push str.Init_Sign_Patch_success.
call fcn.00436cf0
add esp, 4
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x42da3e
push esi
push str.PreInstallCheck_failed__ret___d__exit
call fcn.00436cf0
mov ecx, dword [edi]
add esp, 8
push str.EXE_KB931125
push 0x361
push dword [0x577df0]
push edi
call dword [ecx + 0xc]
test eax, eax
je 0x42d9ee
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x42da3e
push esi
push str.PreInstallCheck_failed2__ret___d__exit
call fcn.00436cf0
call fcn.0042e370
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0xa38], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.install_file_fail
mov dword [ebp - 4], 5
call fcn.0041d260
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00418740
xor eax, eax
jmp 0x42ddef
push str.PreInstallCheck_success.
call fcn.00436cf0
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.004a3360
mov eax, dword [edi]
lea ecx, [ebp - 0xa18]
add esp, 0x10
push ecx
push str.DLL_NETUL
push 0xf1
push dword [0x577df0]
push edi
call dword [eax + 8]
test eax, eax
jne 0x42db61
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dac5
mov eax, dword [edi]
push str.EXE_KB931125
push 0x361
push dword [0x577df0]
push edi
call dword [eax + 0xc]
test eax, eax
je 0x42dac5
lea eax, [ebp - 0xa18]
push eax
call fcn.0045eae0
add esp, 4
test eax, eax
jne 0x42db61
push str.Init_NetULEx_failed__exit
call fcn.00436cf0
add esp, 4
call fcn.0042e370
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x42de29
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa34]
mov dword [ebp - 4], 6
push str._sInitNetULEx:_d
push eax
call fcn.004094c0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa38], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa34]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 7
call fcn.0041d260
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00418740
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x42d89a
push str.Init_NetUL_success.
call fcn.00436cf0
call fcn.00409a60
mov ebx, eax
lea eax, [ebp - 0xa18]
push eax
call fcn.0045eae0
add esp, 8
test eax, eax
je 0x42dbea
cmp dword [ebx], 0
jne 0x42dbea
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x42dbea
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 0x42dbea
call eax
mov dword [ebx + 0xc], eax
push str.Init_NetUL_success.
call fcn.00436cf0
add esp, 4
call fcn.0042d280
mov ecx, eax
call fcn.00423f60
test eax, eax
je 0x42ddb1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a3360
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x577df0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xa34]
call fcn.00408cc0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa38]
call fcn.00408c10
lea eax, [ebp - 0xa34]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xa38]
push eax
call fcn.004095b0
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa38]
call fcn.00408f90
push 0x530448
lea ecx, [ebp - 0xa30]
call fcn.00408de0
push ecx
mov esi, esp
mov dword [ebp - 0xa38], esp
mov dword [ebp - 0xa3c], esi
mov eax, dword [ebp - 0xa34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
push eax
call fcn.0040d2a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xb
call fcn.0042d280
mov ecx, eax
call fcn.00421ea0
push ecx
mov esi, esp
mov dword [ebp - 0xa3c], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040d2a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xa30]
mov byte [ebp - 4], 0xa
push eax
call fcn.00409f70
mov edx, dword [ebp - 0xa1c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 8
sete bl
cmp edx, 0x10
jb 0x42dd42
mov ecx, dword [ebp - 0xa30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42dd38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42de33
push edx
push ecx
call fcn.004864f3
add esp, 8
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 0xf
mov byte [ebp - 0xa30], 0
test bl, bl
je 0x42dd9f
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa3c], esp
mov dword [eax + 0x24], 0
push 1
push 0
push 0x53044c
mov byte [ebp - 4], 0xc
call fcn.0041d260
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00418740
lea ecx, [ebp - 0xa34]
call fcn.00408f90
xor eax, eax
jmp 0x42ddef
lea ecx, [ebp - 0xa34]
mov dword [ebp - 4], 0xffffffff
call fcn.00408f90
lea eax, [ebp - 0xa18]
push eax
call fcn.0042d4a0
mov ecx, eax
call fcn.004313d0
mov esi, dword [edi]
call fcn.0042d280
mov ecx, eax
call fcn.00423f60
push eax
push edi
call dword [esi + 0x58]
mov esi, dword [edi]
call fcn.0042d280
mov ecx, eax
call fcn.004232d0
push eax
push edi
call dword [esi + 0x5c]
mov eax, 1
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.004864b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
call fcn.004be5e3
stosd dword es:[edi], eax
xlatb
inc edx
add byte [edi + edx*8 - 0x2842ffbe], dh
inc edx
add dh, al
xlatb
inc edx
add ah, cl
int3