Function at 0x405fc0
Capabilities:
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1d56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8c
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x30], edi
mov ebp, ecx
mov eax, dword [0x4e2138]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
call fcn.00405a20
xor ebx, ebx
mov dword [esp + 0xca4], ebx
mov dword [0x4e2128], ebx
mov dword [0x4e212c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0x247
mov ecx, ebp
mov dword [0x4e2124], eax
call fcn.00452b00
push ebx
push ebx
mov edx, eax
mov ecx, 0x100000
call fcn.00460520
push eax
push 0x10000
push 1
push 1
push ebx
push ebx
lea edx, [ebx + 4]
mov ecx, 0x100000
call fcn.0044f740
mov esi, eax
cmp esi, ebx
jne 0x406087
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ecx
call esi
mov edx, dword [esp + 0x1c]
push ebx
push edx
call esi
xor al, al
mov ecx, dword [esp + 0xc9c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
push 0x10
push 0x2710
mov edx, ebp
mov ecx, esi
call fcn.004686d0
test al, al
je 0x406059
mov ecx, esi
call fcn.0044c550
mov ecx, dword [esp + 0x18]
mov edx, 5
call fcn.0046a1c0
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x4060c2
call fcn.0048c48f
mov dword [esp + 0x10], edi
mov ebx, esi
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
mov dword [esp + 0x14], ebx
jbe 0x4060d9
call fcn.0048c48f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4060e5
cmp eax, edi
je 0x4060ea
call fcn.0048c48f
cmp ebx, esi
je 0x40671e
cmp byte [0x4e2a89], 0
jne 0x40671e
push 0x104
mov edx, 0x4e2248
lea ecx, [esp + 0x144]
call fcn.00444b20
push 0x4e2248
push 0x4e2248
push str.Data_s_backup__s.MPQ
lea eax, [esp + 0x56c]
push 0x104
push eax
call fcn.0044e200
push str.Datapatch.MPQ
lea ecx, [esp + 0x788]
push 0x104
push ecx
call fcn.0044e200
push 0x4e2248
push 0x4e2248
push str.Data_spatch__s.MPQ
lea edx, [esp + 0x694]
push 0x104
push edx
call fcn.0044e200
push str.Datapatch_2.MPQ
lea eax, [esp + 0x280]
push 0x104
push eax
call fcn.0044e200
add esp, 0x40
push 0x4e2248
push 0x4e2248
push str.Data_spatch__s_2.MPQ
lea ecx, [esp + 0x35c]
push 0x104
push ecx
call fcn.0044e200
push str.Datapatch_3.MPQ
lea edx, [esp + 0x260]
push 0x104
push edx
call fcn.0044e200
push 0x4e2248
push 0x4e2248
push str.Data_spatch__s_3.MPQ
lea eax, [esp + 0x37c]
push 0x104
push eax
call fcn.0044e200
push str.Datapatch_4.MPQ
lea ecx, [esp + 0x280]
push 0x104
push ecx
call fcn.0044e200
add esp, 0x40
push 0x4e2248
push 0x4e2248
push str.Data_spatch__s_4.MPQ
lea edx, [esp + 0x35c]
push 0x104
push edx
call fcn.0044e200
lea eax, [esp + 0x784]
push eax
push ebp
call fcn.0048c315
add esp, 0x1c
test eax, eax
je 0x406522
lea ecx, [esp + 0x668]
push ecx
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x406522
lea edx, [esp + 0x248]
push edx
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x40651b
lea eax, [esp + 0x350]
push eax
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x40651b
lea ecx, [esp + 0x878]
push ecx
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x4064ed
lea edx, [esp + 0xa88]
push edx
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x4064ed
lea eax, [esp + 0x980]
push eax
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x4064bf
lea ecx, [esp + 0xb90]
push ecx
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
je 0x4064bf
lea edx, [esp + 0x560]
push edx
push ebp
call fcn.0048c315
add esp, 8
test eax, eax
jne 0x40633c
push 0x104
mov edx, str.http:___s_repair_WoW._s_WoW._s.MPQ.PC._s_
lea ecx, [esp + 0x3c]
call fcn.00444b20
lea ecx, [esp + 0x10]
call fcn.00470a00
cmp dword [eax + 0x18], 0x10
jb 0x406320
mov eax, dword [eax + 4]
jmp 0x406323
add eax, 4
push 0x104
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00444b70
mov edi, dword [esp + 0x10]
jmp 0x406568
mov edi, str.Datacommon.MPQ
mov esi, ebp
mov ecx, 0x10
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x406388
mov edi, str.Datacommon_2.MPQ
mov esi, ebp
mov ecx, 0x12
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x406388
mov edi, str.Dataexpansion.MPQ
mov esi, ebp
mov ecx, 0x13
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x406388
mov edi, str.Datalichking.MPQ
mov esi, ebp
mov ecx, 0x12
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40644a
mov edi, 0x4a859c
mov esi, 0x4e2248
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x406434
mov edi, 0x4a8584
mov esi, 0x4e2248
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x406434
mov edi, 0x4a858c
mov esi, 0x4e2248
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x406434
mov edi, 0x4a857c
mov esi, 0x4e2248
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x406434
mov edi, 0x4a855c
mov esi, 0x4e2248
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4063fc
mov edx, 0x4a8564
jmp 0x406439
mov edi, 0x4a856c
mov esi, 0x4e2248
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406418
mov edx, 0x4a8574
jmp 0x406439
mov edi, 0x4a85ac
mov esi, 0x4e2248
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40644a
mov edx, 0x4a85b4
jmp 0x406439
mov edx, 0x4a8594
push 0x104
lea ecx, [esp + 0x144]
call fcn.00444b20
push 0x104
mov edx, str.http:___s_repair_WoW._s_WoW._s.MPQ.PC._s_
lea ecx, [esp + 0x3c]
call fcn.00444b20
lea ecx, [esp + 0x10]
call fcn.00470a00
cmp dword [eax + 0x18], 0x10
jb 0x406471
mov eax, dword [eax + 4]
jmp 0x406474
add eax, 4
push 0x104
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00444b70
movsx ecx, byte [0x4e2248]
movsx edx, byte [0x4e2249]
movsx eax, byte [0x4e224a]
shl ecx, 8
or ecx, edx
movsx edx, byte [0x4e224b]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
call fcn.00408090
mov edi, dword [esp + 0x10]
mov esi, eax
jmp 0x40656d
push 0x104
mov edx, str.http:___s_repair_WoW._s_WoW._s.Patch_4.MPQ.PC._s_
lea ecx, [esp + 0x3c]
call fcn.00444b20
lea ecx, [esp + 0x10]
call fcn.00470a00
cmp dword [eax + 0x18], 0x10
jb 0x406320
mov eax, dword [eax + 4]
jmp 0x406323
push 0x104
mov edx, str.http:___s_repair_WoW._s_WoW._s.Patch_3.MPQ.PC._s_
lea ecx, [esp + 0x3c]
call fcn.00444b20
lea ecx, [esp + 0x10]
call fcn.00470a00
cmp dword [eax + 0x18], 0x10
jb 0x406320
mov eax, dword [eax + 4]
jmp 0x406323
mov edx, str.http:___s_repair_WoW._s_WoW._s.Patch_2.MPQ.PC._s_
jmp 0x406527
mov edx, str.http:___s_repair_WoW._s_WoW._s.Patch.MPQ.PC._s_
push 0x104
lea ecx, [esp + 0x3c]
call fcn.00444b20
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x406542
call fcn.0048c48f
cmp ebx, dword [edi + 8]
jb 0x40654c
call fcn.0048c48f
cmp dword [ebx + 0x18], 0x10
jb 0x406557
mov edx, dword [ebx + 4]
jmp 0x40655a
lea edx, [ebx + 4]
push 0x104
lea ecx, [esp + 0x3c]
call fcn.00444b70
mov esi, 0x4e2140
push bind
mov edx, str.base_
mov ecx, ebp
call fcn.0044a540
test eax, eax
jne 0x406597
push bind
mov edx, str.backup_
mov ecx, ebp
call fcn.0044a540
test eax, eax
je 0x4065c7
test edi, edi
jne 0x4065a0
call fcn.0048c48f
cmp ebx, dword [edi + 8]
jb 0x4065aa
call fcn.0048c48f
push 0x16
push 0
push str.World_of_Warcraft.app_
mov ecx, ebx
call fcn.00405e20
cmp eax, 0xffffffff
jne 0x4066ca
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x4065d0
call fcn.0048c48f
cmp ebx, dword [edi + 8]
jb 0x4065da
call fcn.0048c48f
cmp dword [ebx + 0x18], 0x10
lea ebp, [ebx + 4]
jb 0x4065e8
mov eax, dword [ebp]
jmp 0x4065ea
mov eax, ebp
push eax
mov eax, dword [0x4e2138]
push eax
lea ecx, [esp + 0x148]
push ecx
push esi
lea edx, [esp + 0x48]
lea ecx, [esp + 0x468]
call fcn.00401190
test eax, eax
je 0x4066c1
xor eax, eax
mov byte [0x4e2ede], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea edi, [esp + 0x28]
lea ecx, [esp + 0x458]
mov byte [esp + 0xca4], 1
call fcn.00405ee0
test al, al
mov edi, dword [esp + 0x2c]
je 0x4066aa
mov edx, dword [esp + 0x10]
cmp ebx, dword [edx + 8]
jb 0x406651
call fcn.0048c48f
cmp dword [ebx + 0x18], 0x10
jb 0x40665c
mov edx, dword [ebp]
jmp 0x40665e
mov edx, ebp
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push 0x201
push esi
call fcn.0046e890
test al, al
je 0x40669c
mov ecx, dword [esp + 0x24]
push esi
mov edx, edi
call fcn.004437f0
test al, al
je 0x40669c
mov ecx, dword [esp + 0x24]
call fcn.0044d430
mov ecx, dword [esp + 0x18]
call fcn.0046a0a0
lea ecx, [esp + 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
mov byte [esp + 0xca4], 0
je 0x4066ca
push edi
call fcn.00409f40
add esp, 4
jmp 0x4066ca
cmp byte [0x4e2a89], 0
je 0x4066e8
mov edx, dword [esp + 0x10]
cmp ebx, dword [edx + 8]
jb 0x4066d8
call fcn.0048c48f
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
add ebx, 0x1c
jmp 0x4060c8
mov ecx, dword [esp + 0x18]
call fcn.00468670
test al, al
lea ecx, [esp + 0x1c]
je 0x406701
mov dword [esp + 0x18], 0
call fcn.00405a80
xor al, al
mov ecx, dword [esp + 0xc9c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
call fcn.00468670
test al, al
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
jne 0x40675b
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call esi
xor al, al
mov ecx, dword [esp + 0xc9c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x24]
push edx
call esi
mov eax, dword [esp + 0x1c]
push 0
push eax
call esi
mov ecx, dword [esp + 0xc9c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret