Function at 0x414520
Capabilities:
Check mutex on windows
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x472dfe
mov eax, dword fs:[0]
push eax
sub esp, 0x9e8
mov eax, dword [0x48dd78]
xor eax, esp
mov dword [esp + 0x9e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48dd78]
xor eax, esp
push eax
lea eax, [esp + 0x9fc]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebp
call fcn.0040b320
mov ecx, dword [ebp]
push 0
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0xa0c], 0
call fcn.0040c840
lea ecx, [esp + 0x34]
call fcn.0040b470
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp]
mov byte [esp + 0xa08], 1
call fcn.0040e080
mov edx, dword [esp + 0x48]
mov ebx, dword [edx]
mov esi, dword [esp + 0x34]
lea esp, [esp]
mov edi, dword [esp + 0x48]
test esi, esi
je 0x4145be
cmp esi, dword [esp + 0x34]
je 0x4145c3
call fcn.004405b3
cmp ebx, edi
je 0x41464f
test esi, esi
jne 0x41461e
call fcn.004405b3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4145e0
call fcn.004405b3
cmp dword [ebx + 0xc], 0
jle 0x41462a
test esi, esi
jne 0x414622
call fcn.004405b3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4145fb
call fcn.004405b3
test esi, esi
jne 0x414626
call fcn.004405b3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x414610
call fcn.004405b3
mov eax, dword [ebx + 0x10]
imul eax, eax, 0x7d0
add eax, dword [ebx + 0xc]
jmp 0x41462c
mov eax, dword [esi]
jmp 0x4145d6
mov eax, dword [esi]
jmp 0x4145f1
mov eax, dword [esi]
jmp 0x414606
xor eax, eax
add dword [ebp + 0x14], eax
test esi, esi
jne 0x41464b
call fcn.004405b3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x414644
call fcn.004405b3
mov ebx, dword [ebx]
jmp 0x4145b0
mov eax, dword [esi]
jmp 0x41463a
mov ecx, dword [ebp]
call fcn.004084e0
imul eax, eax, 0x7d0
add dword [ebp + 0x14], eax
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call fcn.00410cc0
xor edi, edi
cmp eax, edi
je 0x4146e7
lea ecx, [esp + 0x34]
call fcn.0040c080
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00428dc0
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x50], edi
call fcn.00428dc0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
add esp, 8
mov dword [esp + 0x68], edi
cmp eax, ecx
je 0x4146c6
mov esi, dword [eax]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x68]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x4146b1
push ecx
call fcn.00428dc0
mov eax, dword [esp + 0x54]
push eax
mov dword [esp + 0x6c], edi
call fcn.00428dc0
add esp, 8
mov eax, 1
jmp 0x415702
push 0x475570
lea esi, [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
lea ecx, [eax - 0xc]
jg 0x414707
cmp ebx, dword [eax - 4]
jle 0x41473f
add eax, 0xfffffff4
cmp eax, dword [0x48d12c]
je 0x414733
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41472b
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.0043f1b9
add esp, 4
mov ecx, dword [0x48d130]
mov dword [esi], ecx
push ebx
mov ecx, esi
call fcn.00403870
cmp eax, edi
je 0x414767
mov eax, dword [esi]
lea edi, [ebx + ebx]
lea edx, [edi + 2]
cmp edx, edi
jb 0x41475a
push edi
push 0x475570
push eax
call fcn.0043ea70
add esp, 0xc
mov eax, dword [esi]
mov dword [eax - 8], ebx
mov ecx, dword [esi]
xor edx, edx
mov word [edi + ecx], dx
push str.360sd_setup
push 0x104
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0xe0], 0
call fcn.0040fb40
xor ebx, ebx
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0xd4]
push ecx
push ebx
push ebx
mov byte [esp + 0xa10], 2
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xcc], eax
call edi
mov dword [esp + 0xd0], eax
cmp eax, 0xb7
je 0x4147d4
cmp eax, 5
je 0x4147d4
mov esi, dword [esp + 0xcc]
mov cl, 1
jmp 0x4147f8
mov esi, dword [esp + 0xcc]
cmp esi, ebx
je 0x4147f6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xd0]
xor esi, esi
mov dword [esp + 0xcc], esi
xor cl, cl
xor edx, edx
test cl, cl
sete dl
mov ecx, edx
cmp ecx, ebx
je 0x414866
cmp eax, ebx
jne 0x414822
cmp esi, ebx
je 0x414822
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.0040c080
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00428dc0
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x50], ebx
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x50]
call fcn.00409a00
mov eax, dword [esp + 0x50]
push eax
call fcn.00428dc0
add esp, 4
mov eax, 0x14
jmp 0x415702
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa08], 3
call fcn.00424770
test al, al
jne 0x414915
call edi
push eax
push str.Load_7z.dll_failed_with_error_0x_08x.
call fcn.00402380
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0xa04], 2
call fcn.004246e0
cmp dword [esp + 0xd0], ebx
jne 0x4148d1
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x4148d1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.0040c080
mov edx, dword [esp + 0x48]
push edx
call fcn.00428dc0
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x50], ebx
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x50]
call fcn.00409a00
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00428dc0
add esp, 4
mov eax, 2
jmp 0x415702
push str.Load_7z.dll_Successfully
call fcn.00402380
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp]
add esp, 4
add edx, 0x88
push edx
call fcn.00408ae0
mov eax, dword [ebp + 0x24]
movzx ecx, byte [eax + 1]
push ecx
mov ecx, dword [ebp]
call fcn.00408f70
mov ecx, dword [ebp]
call fcn.004075e0
mov edx, dword [esp + 0x48]
fstp dword [esp + 0x1c]
mov edi, dword [edx]
mov esi, dword [esp + 0x34]
lea ebx, [ebx]
mov ebx, dword [esp + 0x48]
test esi, esi
je 0x41496e
cmp esi, dword [esp + 0x34]
je 0x414973
call fcn.004405b3
cmp edi, ebx
je 0x414bb4
cmp byte [ebp + 8], 0
jne 0x414bb4
test esi, esi
jne 0x4149cb
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41499a
call fcn.004405b3
cmp dword [edi + 0xc], 0
jne 0x4149d3
test esi, esi
jne 0x4149cf
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4149b5
call fcn.004405b3
mov eax, dword [edi + 8]
push eax
push str.Ignored_Res__d_for_zero_size
call fcn.00402380
add esp, 8
jmp 0x414ae6
mov eax, dword [esi]
jmp 0x414990
mov eax, dword [esi]
jmp 0x4149ab
test esi, esi
jne 0x414b02
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4149ec
call fcn.004405b3
test esi, esi
jne 0x414b09
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414a05
call fcn.004405b3
mov ecx, dword [edi + 0x1c]
fld dword [edi + 0x18]
push ecx
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.0040e560
add esp, 0xc
test al, al
je 0x414ae6
test esi, esi
jne 0x414b10
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414a43
call fcn.004405b3
mov edx, dword [edi + 8]
push edx
push str.Begin_to_extract_a_7z_pack:_ResID__d
call fcn.00402380
add esp, 8
test esi, esi
jne 0x414b17
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414a6d
call fcn.004405b3
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00412700
test esi, esi
jne 0x414b1e
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414a96
call fcn.004405b3
mov edx, dword [edi + 8]
push edx
push str.Installer_has_extracted_a_7z_pack:_ResID__d
call fcn.00402380
add esp, 8
test esi, esi
jne 0x414b25
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414abc
call fcn.004405b3
lea eax, [edi + 0x20]
push eax
mov ecx, ebp
call fcn.00410cc0
test eax, eax
jne 0x414b31
test esi, esi
jne 0x414b29
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414ae0
call fcn.004405b3
mov ecx, dword [edi + 0xc]
add dword [ebp + 0x10], ecx
test esi, esi
jne 0x414b2d
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x414afb
call fcn.004405b3
mov edi, dword [edi]
jmp 0x414960
mov eax, dword [esi]
jmp 0x4149e2
mov eax, dword [esi]
jmp 0x4149fb
mov eax, dword [esi]
jmp 0x414a39
mov eax, dword [esi]
jmp 0x414a63
mov eax, dword [esi]
jmp 0x414a8c
mov eax, dword [esi]
jmp 0x414ab2
mov eax, dword [esi]
jmp 0x414ad6
mov eax, dword [esi]
jmp 0x414af1
lea ecx, [esp + 0x20]
mov byte [esp + 0xa04], 2
call fcn.004246e0
cmp dword [esp + 0xd0], 0
jne 0x414b6c
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x414b6c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esp + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.0040c080
mov eax, dword [esp + 0x48]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x50], 0
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x50]
call fcn.00409a00
mov edx, dword [esp + 0x50]
push edx
call fcn.00428dc0
add esp, 4
mov eax, 3
jmp 0x415702
lea ecx, [esp + 0x20]
call fcn.004246e0
push 4
call fcn.00428d90
add esp, 4
test eax, eax
je 0x414bd6
lea ecx, [esp + 0x88]
mov dword [eax], ecx
jmp 0x414bd8
xor eax, eax
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xa04], 4
call fcn.0040ffa0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov ecx, dword [0x48f650]
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0xa08], 5
call fcn.00413c20
test eax, eax
jle 0x415079
push eax
push str._d_Files_in_replace_list
call fcn.00402380
mov edx, dword [esp + 0x90]
add esp, 8
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x9c]
test ebx, ebx
je 0x414ca0
cmp ebx, dword [esp + 0x88]
je 0x414ca5
call fcn.004405b3
mov ebp, dword [esp + 0x28]
cmp ebp, esi
je 0x415079
mov esi, dword [0x48d130]
mov dword [esp + 0x2c], esi
mov edi, esi
mov dword [esp + 0x30], edi
mov byte [esp + 0xa04], 7
test ebx, ebx
jne 0x414e92
call fcn.004405b3
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x414ce2
call fcn.004405b3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
cmp esi, ecx
je 0x414d7d
mov eax, dword [esi - 0xc]
lea ebp, [esi - 0xc]
test eax, eax
jge 0x414d06
lea edx, [esi - 0xc]
cmp edx, dword [0x48d12c]
jne 0x414d10
cmp dword [ecx - 0xc], 0
jge 0x414e99
cmp eax, 1
mov ebx, dword [ecx - 8]
jg 0x414d1d
cmp ebx, dword [esi - 4]
jle 0x414d57
add esi, 0xfffffff4
cmp esi, dword [0x48d12c]
je 0x414d45
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414d3c
push ebp
call fcn.0043f1b9
add esp, 4
mov eax, dword [0x48d130]
mov dword [esp + 0x2c], eax
push ebx
lea ecx, [esp + 0x30]
call fcn.00403870
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x414d79
lea ebp, [ebx + ebx]
lea ecx, [ebp + 2]
cmp ecx, ebp
jb 0x414d70
mov edx, dword [esp + 0x1c]
push ebp
push edx
push esi
call fcn.0043ea70
add esp, 0xc
xor eax, eax
mov dword [esi - 8], ebx
mov word [esi + ebp], ax
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x414ed2
call fcn.004405b3
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x14]
jne 0x414d9a
call fcn.004405b3
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ebx, dword [edx]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0xa8], eax
test ebp, ebp
je 0x414dc3
cmp ebp, dword [esp + 0x88]
je 0x414dc8
call fcn.004405b3
cmp ebx, dword [esp + 0xa8]
je 0x41502d
test ebp, ebp
jne 0x414ed9
call fcn.004405b3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x414dee
call fcn.004405b3
mov ebx, dword [ebx + 8]
mov dword [esp + 0x1c], ebx
cmp edi, ebx
je 0x414f11
mov eax, dword [edi - 0xc]
mov ecx, dword [0x48d12c]
lea ebx, [edi - 0xc]
test eax, eax
jge 0x414e14
lea edx, [edi - 0xc]
cmp edx, ecx
jne 0x414e22
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
jge 0x414ee1
cmp eax, 1
mov edx, dword [esp + 0x1c]
mov ebp, dword [edx - 8]
jg 0x414e33
cmp ebp, dword [edi - 4]
jle 0x414e6d
add edi, 0xfffffff4
cmp edi, ecx
je 0x414e57
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414e4e
push ebx
call fcn.0043f1b9
add esp, 4
mov eax, dword [0x48d130]
mov dword [esp + 0x30], eax
push ebp
lea ecx, [esp + 0x34]
call fcn.00403870
mov edi, dword [esp + 0x30]
test eax, eax
je 0x414f11
lea ebx, [ebp + ebp]
lea ecx, [ebx + 2]
cmp ecx, ebx
jb 0x414e87
mov edx, dword [esp + 0x1c]
push ebx
push edx
push edi
call fcn.0043ea70
add esp, 0xc
xor eax, eax
mov dword [edi - 8], ebp
mov word [ebx + edi], ax
jmp 0x414f11
mov eax, dword [ebx]
jmp 0x414cd8
add esi, 0xfffffff4
cmp esi, dword [0x48d12c]
je 0x414eb8
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414eb8
push ebp
call fcn.0043f1b9
add esp, 4
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 8]
lea edx, [esi - 0xc]
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x414d7d
mov eax, dword [ebx]
jmp 0x414d8c
mov eax, dword [ebp]
jmp 0x414de4
add edi, 0xfffffff4
cmp edi, ecx
je 0x414efc
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414efc
push ebx
call fcn.0043f1b9
add esp, 4
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 8]
lea edx, [edi - 0xc]
push edx
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x414fa1
call fcn.004405b3
xor eax, eax
mov ebx, dword [esp + 0x28]
cmp ebx, dword [eax + 0x14]
jne 0x414f32
call fcn.004405b3
mov eax, dword [ebx]
push 0
lea ecx, [esp + 0xb0]
push ecx
push esi
mov dword [esp + 0x34], eax
call fcn.00427770
push 0
lea edx, [esp + 0xcc]
push edx
push edi
call fcn.00427770
push esi
push str.Tmp_File:__s
call fcn.00402380
push edi
push str.File_need_to_be_replaced:__s
call fcn.00402380
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.004286d0
add esp, 0x30
test al, al
je 0x414fa8
push esi
push str.Same_MD5_delete__s
call fcn.00402380
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x414fd4
mov eax, dword [eax]
jmp 0x414f24
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push edi
push esi
call ebx
test eax, eax
jne 0x414fd4
push edi
push str.Different_file__s_will_be_replaced_when_reboot
call fcn.00402380
add esp, 8
push 4
push edi
push esi
call ebx
mov edx, dword [esp + 0x18]
mov byte [edx + 9], 1
lea eax, [edi - 0xc]
cmp eax, dword [0x48d12c]
je 0x414ff6
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414ff6
push edi
call fcn.0043f1b9
add esp, 4
lea ecx, [esi - 0xc]
mov byte [esp + 0xa04], 5
cmp ecx, dword [0x48d12c]
je 0x414c88
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414c88
push esi
call fcn.0043f1b9
add esp, 4
jmp 0x414c88
lea edx, [edi - 0xc]
cmp edx, dword [0x48d12c]
je 0x41504f
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41504f
push edi
call fcn.0043f1b9
add esp, 4
lea eax, [esi - 0xc]
mov byte [esp + 0xa04], 5
cmp eax, dword [0x48d12c]
je 0x415079
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415079
push esi
call fcn.0043f1b9
add esp, 4
push 4
call fcn.00428d90
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x415091
lea ecx, [esp + 0x6c]
mov dword [eax], ecx
jmp 0x415093
xor eax, eax
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa04], 8
call fcn.004091e0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov edi, dword [esp + 0x18]
mov ecx, dword [edi]
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0xa08], 9
call fcn.0040c810
mov esi, dword [edi + 0x24]
cmp byte [esi + 1], 0
mov byte [esp + 0x17], 0
je 0x415396
push 0x4767d8
call fcn.00402380
add esp, 4
cmp byte [esi], 0
je 0x415104
push 0x4767bc
call fcn.00402380
add esp, 4
jmp 0x4154da
mov ecx, edi
call fcn.00410820
mov byte [esp + 0x17], al
test al, al
mov eax, str.True
jne 0x41511d
mov eax, str.False
push eax
push 0x476780
call fcn.00402380
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov edi, dword [esp + 0x74]
add esp, 8
mov ebp, eax
lea ebx, [ebx]
mov esi, dword [esp + 0x80]
cmp edi, ebx
je 0x415151
cmp edi, dword [esp + 0x6c]
je 0x415156
call fcn.004405b3
cmp ebp, esi
je 0x4151cb
cmp edi, ebx
jne 0x41519d
call fcn.004405b3
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x41516f
call fcn.004405b3
lea ecx, [ebp + 0x10]
mov eax, 0x476698
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4151a1
cmp dx, bx
je 0x415199
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4151a1
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x415177
xor eax, eax
jmp 0x4151a6
mov eax, dword [edi]
jmp 0x415165
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4151cb
cmp edi, ebx
jne 0x4151c7
call fcn.004405b3
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4151bf
call fcn.004405b3
mov ebp, dword [ebp]
jmp 0x415140
mov eax, dword [edi]
jmp 0x4151b5
mov esi, dword [esp + 0x80]
cmp edi, ebx
je 0x4151dc
cmp edi, dword [esp + 0x6c]
je 0x4151e1
call fcn.004405b3
cmp ebp, esi
je 0x41520b
cmp edi, ebx
jne 0x415367
call fcn.004405b3
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4151fe
call fcn.004405b3
mov ecx, dword [esp + 0x18]
add ebp, 8
push ebp
call fcn.00413930
cmp byte [esp + 0x17], 0
je 0x415392
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x206
lea edx, [esp + 0x7f6]
xor ecx, ecx
push ebx
push edx
mov esi, eax
mov word [esp + 0x7fc], cx
call fcn.0043e9f0
push 0x206
lea ecx, [esp + 0x3f2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x3f8], ax
call fcn.0043e9f0
push 0x206
lea eax, [esp + 0x606]
xor edx, edx
push ebx
push eax
mov word [esp + 0x60c], dx
call fcn.0043e9f0
push 0x206
lea edx, [esp + 0x202]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x208], cx
call fcn.0043e9f0
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
add esp, 0x30
lea eax, [esp + 0x1c]
push eax
call fcn.00405750
mov ebp, dword [esp + 0x1c]
push 0x104
lea edx, [esp + 0x1dc]
push ebp
push edx
call fcn.0043fecb
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
push 0x104
lea eax, [esp + 0x7f4]
push eax
push 0xe9
push esi
call edi
push 0x104
lea ecx, [esp + 0x5ec]
push ecx
push 0xea
push esi
call edi
lea edx, [esp + 0x1d8]
push edx
lea eax, [esp + 0x5ec]
push eax
lea ecx, [esp + 0x3e8]
push ecx
call fcn.004010c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0x24
lea edx, [esp + 0x3e4]
push edx
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x7f8]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x41536e
lea ecx, [ebp - 0xc]
cmp ecx, dword [0x48d12c]
je 0x4154da
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4154da
push esi
call fcn.0043f1b9
add esp, 4
jmp 0x4154da
mov eax, dword [edi]
jmp 0x4151f4
lea edx, [ebp - 0xc]
cmp edx, dword [0x48d12c]
je 0x4153a3
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4153a3
push esi
call fcn.0043f1b9
add esp, 4
jmp 0x4153a3
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x24]
cmp byte [eax + 1], 0
jne 0x4154da
mov ecx, dword [esp + 0x80]
mov edi, dword [ecx]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x80]
cmp esi, ebx
je 0x4153c1
cmp esi, dword [esp + 0x6c]
je 0x4153c6
call fcn.004405b3
cmp edi, ebp
je 0x4154c3
cmp byte [esp + 0x17], 0
je 0x415450
cmp esi, ebx
jne 0x415444
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4153ea
call fcn.004405b3
lea ebp, [edi + 0x218]
push ebp
push str._Group_
call fcn.0044081a
add esp, 8
test eax, eax
je 0x41549b
cmp esi, ebx
jne 0x415448
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41541b
call fcn.004405b3
push ebp
push 0x476768
call fcn.00402380
add esp, 8
cmp esi, ebx
jne 0x41544c
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41543e
call fcn.004405b3
lea edx, [edi + 8]
push edx
jmp 0x415492
mov eax, dword [esi]
jmp 0x4153e0
mov eax, dword [esi]
jmp 0x415411
mov eax, dword [esi]
jmp 0x415434
cmp esi, ebx
jne 0x4154b7
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x415465
call fcn.004405b3
lea eax, [edi + 0x218]
push eax
push 0x476754
call fcn.00402380
add esp, 8
cmp esi, ebx
jne 0x4154bb
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41548e
call fcn.004405b3
lea ecx, [edi + 8]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004135f0
cmp esi, ebx
jne 0x4154bf
call fcn.004405b3
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4154b0
call fcn.004405b3
mov edi, dword [edi]
jmp 0x4153b0
mov eax, dword [esi]
jmp 0x41545b
mov eax, dword [esi]
jmp 0x415484
mov eax, dword [esi]
jmp 0x4154a6
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x5c], ebx
je 0x4154da
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00413c80
mov ecx, dword [esi]
push 1
lea eax, [esp + 0x54]
push eax
call fcn.0040c840
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00410cc0
cmp eax, ebx
je 0x415646
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x80]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x84], ebx
cmp eax, ecx
je 0x415548
mov edi, edi
mov esi, dword [eax]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x84]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x415530
push ecx
call fcn.00428dc0
mov edx, dword [esp + 0x70]
push edx
mov dword [esp + 0x88], ebx
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x88]
call fcn.00411a60
mov eax, dword [esp + 0x9c]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x8c]
push ecx
mov dword [esp + 0xa4], ebx
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0xa04], 2
call fcn.004246e0
cmp dword [esp + 0xd0], ebx
jne 0x4155cc
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x4155cc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esp + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.0040c080
mov eax, dword [esp + 0x48]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x50], ebx
call fcn.00428dc0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
add esp, 8
mov dword [esp + 0x68], ebx
cmp eax, ecx
je 0x415625
jmp 0x415610
mov esi, dword [eax]
push eax
call fcn.00428dc0
mov ecx, dword [esp + 0x68]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x415610
push ecx
call fcn.00428dc0
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0x6c], ebx
call fcn.00428dc0
add esp, 8
mov eax, 5
jmp 0x415702
lea ecx, [esp + 0x6c]
call fcn.00409b00
mov eax, dword [esp + 0x6c]
push eax
call fcn.00428dc0
add esp, 4
lea ecx, [esp + 0x88]
call fcn.00411a60
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00428dc0
mov edx, dword [esp + 0x8c]
push edx
mov dword [esp + 0xa4], ebx
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0xa04], 2
call fcn.004246e0
cmp dword [esp + 0xd0], ebx
jne 0x4156c6
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x4156c6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.0040c080
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00428dc0
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x50], ebx
call fcn.00428dc0
add esp, 8
lea ecx, [esp + 0x50]
call fcn.00409a00
mov eax, dword [esp + 0x50]
push eax
call fcn.00428dc0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x9fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9e4]
xor ecx, esp
call fcn.0043e9e1
add esp, 0x9f4
ret