Function at 0x42c8f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520052
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x57c8b4]
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 - 0xa34], 0
call fcn.00445180
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx]
mov ebx, eax
mov dword [ebp - 0xa40], ebx
test ebx, ebx
je 0x42ca85
mov dword [ebp - 4], 0
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x42d12a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], 1
dec ebx
mov dword [ebp - 0xa38], eax
cmp ebx, 3
ja case.default.0x42c978
jmp dword [ebx*4 + 0x42d158]
push 0x10
push 0x5395c8
jmp 0x42c9a1
push 0x10
push 0x5395ec
jmp 0x42c9a1
push 0x11
push 0x539610
jmp 0x42c9a1
push 0x1a
push str._rN_f
lea ecx, [ebp - 0xa38]
call fcn.0040a4c0
mov esi, dword [ebp - 0xa38]
push 0
push 0
push esi
push 0
call fcn.0043ddd0
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42c9df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xa40]
push esi
push str.PreInitCheck_failed__ret___d__exit
call fcn.00436ff0
add esp, 8
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x42d134
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa38], eax
push esi
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa38]
mov dword [ebp - 4], 1
push str._sPreInitCheck:_d
push eax
call fcn.00408d00
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa34], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa38]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 2
call fcn.0041c940
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00416b10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42ca7e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x42d10e
push str.PreInitCheck_success.
call fcn.00436ff0
mov eax, dword [edi]
add esp, 4
push str.DLL_7Z
push 0xcb
push dword [0x57fc98]
push edi
call dword [eax + 4]
test eax, eax
jne 0x42cb54
push eax
push eax
push str.7z.dll_
push eax
call fcn.0043ddd0
push str.Init_7z_failed__exit
call fcn.00436ff0
add esp, 4
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x42d13e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa38], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa38]
mov dword [ebp - 4], 3
push str._sInit7Z:_d
push eax
call fcn.00408d00
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa34], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa38]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 4
call fcn.0041c940
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00416b10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x42ca74
push str.Init_7z_success.
call fcn.00436ff0
add esp, 4
cmp dword [0x57ae8c], 0
je 0x42cc0f
push str.ntdll.dll
mov dword [ebp - 0xa40], 0
xor ebx, ebx
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa38], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42cc05
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cbd8
lea ecx, [ebp - 0xa38]
push ecx
lea ecx, [ebp - 0xa34]
push ecx
lea ecx, [ebp - 0xa40]
push ecx
call eax
movzx eax, word [ebp - 0xa38]
mov ebx, 1
mov dword [ebp - 0xa38], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x42cc05
cmp dword [ebp - 0xa40], 6
jne 0x42cc05
mov eax, dword [0x57fc90]
mov ecx, 1
cmp dword [ebp - 0xa34], 1
cmove eax, ecx
mov dword [0x57fc90], eax
mov dword [0x57ae8c], 0
cmp dword [0x57fc90], 0
je 0x42cc3f
mov eax, dword [edi]
push str.EXE_KB931125
push 0x361
push dword [0x57fc98]
push edi
call dword [eax + 8]
test eax, eax
je 0x42cc3f
push str.Init_Sign_Patch_success.
call fcn.00436ff0
add esp, 4
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x42cccf
push esi
push str.PreInstallCheck_failed__ret___d__exit
call fcn.00436ff0
mov ecx, dword [edi]
add esp, 8
push str.EXE_KB931125
push 0x361
push dword [0x57fc98]
push edi
call dword [ecx + 8]
test eax, eax
je 0x42cc7f
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x42cccf
push esi
push str.PreInstallCheck_failed2__ret___d__exit
call fcn.00436ff0
call fcn.0042d680
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0xa34], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.install_file_fail
mov dword [ebp - 4], 5
call fcn.0041c940
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00416b10
xor eax, eax
jmp 0x42d10e
push str.PreInstallCheck_success.
call fcn.00436ff0
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.004a99f0
add esp, 0x10
lea eax, [ebp - 0xa34]
lea ecx, [ebp - 0xa39]
push eax
call fcn.0042a100
mov ecx, dword [edi]
lea edx, [ebp - 0xa18]
push edx
push dword [eax]
mov dword [ebp - 4], 6
push 0xf1
push dword [0x57fc98]
push edi
call dword [ecx + 0xc]
mov edx, dword [ebp - 0xa34]
or ebx, 0xffffffff
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42cd4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x42ce44
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0xa39]
call fcn.00429d70
push dword [eax]
mov dword [ebp - 4], 7
call fcn.00436ff0
mov edx, dword [ebp - 0xa34]
add esp, 4
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cd9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042d680
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x42d148
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0xa40]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa39]
call fcn.00429c80
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
push dword [eax]
lea eax, [ebp - 0xa34]
mov byte [ebp - 4], 9
push eax
call fcn.00408d00
mov edx, dword [ebp - 0xa40]
add esp, 0x10
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ce12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa40], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa34]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 0xa
call fcn.0041c940
mov byte [ebp - 4], 8
jmp 0x42ca5b
call fcn.004092a0
mov esi, eax
lea eax, [ebp - 0xa18]
push eax
call fcn.00468a00
add esp, 4
test eax, eax
je 0x42ced1
cmp dword [esi], 0
jne 0x42ced1
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x42ced1
push str.HttpInit
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpUninit
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.zlib_uncompress
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.zlib_compress
push dword [esi]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.zlib_compressBound
push dword [esi]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42ced1
call eax
mov dword [esi + 0xc], eax
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0xa39]
call fcn.0042aa60
push dword [eax]
mov dword [ebp - 4], 0xb
call fcn.00436ff0
mov edx, dword [ebp - 0xa34]
add esp, 4
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42cf16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042c380
mov ecx, eax
call fcn.00423050
test eax, eax
je 0x42d0d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a99f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x57fc98]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xa38]
call fcn.00408260
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xa34]
call fcn.004081b0
lea eax, [ebp - 0xa38]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xa34]
push eax
call fcn.00408df0
add esp, 8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa34]
call fcn.00408530
push 0x5399a8
lea ecx, [ebp - 0xa30]
call fcn.00408380
push ecx
mov esi, esp
mov dword [ebp - 0xa34], esp
mov dword [ebp - 0xa40], esi
mov eax, dword [ebp - 0xa38]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
push eax
call fcn.0040ad50
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xf
call fcn.0042c380
mov ecx, eax
call fcn.004214c0
push ecx
mov esi, esp
mov dword [ebp - 0xa40], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040ad50
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xa30]
mov byte [ebp - 4], 0xe
push eax
call fcn.004097b0
mov edx, dword [ebp - 0xa1c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xc
sete bl
cmp edx, 0x10
jb 0x42d061
mov ecx, dword [ebp - 0xa30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d057
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d152
push edx
push ecx
call fcn.00490273
add esp, 8
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 0xf
mov byte [ebp - 0xa30], 0
test bl, bl
je 0x42d0be
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa34], esp
mov dword [eax + 0x24], 0
push 1
push 0
push 0x5399ac
mov byte [ebp - 4], 0x10
call fcn.0041c940
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00416b10
lea ecx, [ebp - 0xa38]
call fcn.00408530
xor eax, eax
jmp 0x42d10e
lea ecx, [ebp - 0xa38]
mov dword [ebp - 4], 0xffffffff
call fcn.00408530
lea eax, [ebp - 0xa18]
push eax
call fcn.0042c5a0
mov ecx, eax
call fcn.00432660
mov esi, dword [edi]
call fcn.0042c380
mov ecx, eax
call fcn.00423050
push eax
push edi
call dword [esi + 0x58]
mov esi, dword [edi]
call fcn.0042c380
mov ecx, eax
call fcn.00422570
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.00490238
mov esp, ebp
pop ebp
ret
xor dword [esi], eax
add byte [ebx + 0x68c35de5], cl
add eax, 0xe8800040
cmp al, 0xba
std
jmp [eax + 5]
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
call fcn.004c4d16
nop
jg 0x42d123
inc edx
add byte [eax - 0x6effbd37], cl
leave
inc edx
add byte [edx - 0x33ffbd37], bl
int3