Function at 0x42ba20
Capabilities:
Check if file exists
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad289
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x4ef6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x170], ecx
mov edi, dword [ecx + 0x18]
mov esi, dword [edi]
cmp esi, edi
je 0x42c12f
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42c11f
call fcn.0043a380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42bd41
push 0x63
push 0x4c5dd0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], al
call fcn.0040a7c0
push 3
push 0x4c5e34
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0040a7c0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.00406150
push 0xffffffffffffffff
push 0x4b6b60
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.0040ba20
push 0xffffffffffffffff
push 0x4b6b64
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x154], eax
call fcn.0040ba20
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0046b3e0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42bbff
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42bbff
lea eax, [edx + 1]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp eax, dword [ebp - 0x154]
jb 0x42cebe
sub eax, dword [ebp - 0x154]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x154]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.0040a7c0
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
push 0x16d
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00405bf0
add esp, 0x10
lea ecx, [ebp - 0x138]
call fcn.00406e50
jmp 0x42bc15
push 0x16d
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405bf0
add esp, 0xc
cmp dword [ebp - 0xf4], 0x10
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407430
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407430
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 3
push str.Start_download:
push eax
call fcn.00407430
mov ecx, dword [esi + 8]
add esp, 0x18
add ecx, 0x98
cmp dword [ecx + 0x14], 8
jb 0x42bc6f
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b6b50
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004056a0
add esp, 8
call fcn.0043a380
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407560
mov edx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42bce5
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bcdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x42bd41
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bd37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42bd5b
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42ced2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x164], eax
push dword [ebp - 0x154]
lea ecx, [ebp - 0x164]
mov dword [ebp - 4], 4
call fcn.00407d90
test al, al
jne 0x42befa
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42beef
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bdb3
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42beef
mov eax, dword [ebp - 0x164]
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x154]
sub edx, eax
sar edx, 1
mov dword [ebp - 0x158], edx
test ecx, ecx
js 0x42cec8
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42be25
push dword [ebp - 0x160]
lea ecx, [ebp - 0x164]
call fcn.00408b10
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42be9f
lea edx, [eax + ecx*2]
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x154], edx
lea edx, [ecx + ecx]
mov dword [ebp - 0x15c], edx
test edx, edx
je 0x42bed5
test eax, eax
jne 0x42be69
call fcn.0046ea31
mov dword [eax], 0x16
call fcn.0046e928
jmp 0x42bec3
cmp dword [ebp - 0x154], 0
je 0x42be57
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42be8d
call fcn.0046ea31
mov dword [eax], 0x22
call fcn.0046e928
jmp 0x42bec3
push edx
push dword [ebp - 0x154]
push eax
call fcn.0046ae60
add esp, 0xc
jmp 0x42bec3
mov edx, dword [ebp - 0x160]
mov ecx, dword [eax - 8]
add edx, edx
push edx
push dword [ebp - 0x154]
add ecx, ecx
mov dword [ebp - 0x15c], edx
push ecx
push eax
call fcn.0040c0f0
add esp, 0x10
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42cec8
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x164]
mov word [edx + eax], cx
jmp 0x42befa
lea ecx, [ebp - 0x164]
call fcn.0040e1a0
mov eax, dword [esi + 8]
add eax, 0x34
mov dword [ebp - 4], 5
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42bf1b
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42ced2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x168], eax
push dword [ebp - 0x154]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 6
call fcn.00407d90
test al, al
jne 0x42c0b7
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42c0ac
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bf70
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42c0ac
mov eax, dword [ebp - 0x168]
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x154]
sub edx, eax
sar edx, 1
mov dword [ebp - 0x158], edx
test ecx, ecx
js 0x42cec8
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42bfe2
push dword [ebp - 0x160]
lea ecx, [ebp - 0x168]
call fcn.00408b10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42c05c
lea edx, [eax + ecx*2]
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x154], edx
lea edx, [ecx + ecx]
mov dword [ebp - 0x15c], edx
test edx, edx
je 0x42c092
test eax, eax
jne 0x42c026
call fcn.0046ea31
mov dword [eax], 0x16
call fcn.0046e928
jmp 0x42c080
cmp dword [ebp - 0x154], 0
je 0x42c014
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42c04a
call fcn.0046ea31
mov dword [eax], 0x22
call fcn.0046e928
jmp 0x42c080
push edx
push dword [ebp - 0x154]
push eax
call fcn.0046ae60
add esp, 0xc
jmp 0x42c080
mov edx, dword [ebp - 0x160]
mov ecx, dword [eax - 8]
add edx, edx
push edx
push dword [ebp - 0x154]
add ecx, ecx
mov dword [ebp - 0x15c], edx
push ecx
push eax
call fcn.0040c0f0
add esp, 0x10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42cec8
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x168]
mov word [edx + eax], cx
jmp 0x42c0b7
lea ecx, [ebp - 0x168]
call fcn.0040e1a0
push 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041ba40
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [ecx + 0xb0], eax
or eax, 0xffffffff
mov edx, dword [ebp - 0x168]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c0fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x164]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c11f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x42ba60
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov edi, dword [ecx + 0x18]
mov dword [ebp - 4], 8
mov dword [ebp - 0x160], edi
mov esi, dword [edi]
mov dword [ebp - 0x154], esi
cmp esi, edi
je 0x42ce79
nop dword [eax]
cmp byte [ecx + 4], 0
jne 0x42ce4a
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42ce4a
mov byte [ebp - 4], 9
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42ced2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x15c], eax
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x15c]
push 0xffffffffffffffff
push ecx
mov byte [ebp - 4], 0xa
push dword [eax + 0xb0]
call fcn.0041bba0
add esp, 0xc
mov dword [ebp - 0x164], eax
test eax, eax
je 0x42c4dd
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42ce28
push 0x63
push 0x4c5e50
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], al
call fcn.0040a7c0
push 3
push 0x4c5e4c
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0040a7c0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.00406150
push 0xffffffffffffffff
push 0x4b6b60
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.0040ba20
push 0xffffffffffffffff
push 0x4b6b64
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x154], eax
call fcn.0040ba20
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0046b3e0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42c3af
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42c3af
lea eax, [edx + 1]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
cmp eax, dword [ebp - 0x154]
jb 0x42cebe
sub eax, dword [ebp - 0x154]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xc4], 0x10
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0x154]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040a7c0
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
push eax
push 0x180
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00405bf0
mov edx, dword [ebp - 0xdc]
add esp, 0x10
cmp edx, 0x10
jb 0x42c392
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c388
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
jmp 0x42c3c5
push 0x180
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405bf0
add esp, 0xc
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407430
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407430
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0xe
push str.AsyncHttpGetResponse_failed:
push eax
call fcn.00407430
add esp, 0x18
lea ecx, [ebp - 0x20c]
push dword [ebp - 0x164]
call fcn.00415a70
call fcn.0043a380
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407560
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x42c47b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c471
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x42ce28
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c4ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
jmp 0x42ce28
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42c4eb
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c818
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42ce28
push 0x63
push 0x4c5ed8
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a7c0
push 3
push 0x4c5ed4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
call fcn.0040a7c0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x10
call fcn.00406150
push 0xffffffffffffffff
push 0x4b6b60
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.0040ba20
push 0xffffffffffffffff
push 0x4b6b64
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x154], eax
call fcn.0040ba20
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0046b3e0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42c6d3
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42c6d3
lea eax, [edx + 1]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp eax, dword [ebp - 0x154]
jb 0x42cebe
sub eax, dword [ebp - 0x154]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x154]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.0040a7c0
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
push 0x186
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00405bf0
mov edx, dword [ebp - 0x124]
add esp, 0x10
cmp edx, 0x10
jb 0x42c6b6
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c6ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
jmp 0x42c6e9
push 0x186
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405bf0
add esp, 0xc
cmp dword [ebp - 0xc4], 0x10
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407430
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407430
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0x12
push str.File_not_exists:
push eax
call fcn.00407430
mov ecx, dword [esi + 8]
add esp, 0x18
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 8
jb 0x42c740
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b6b50
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004056a0
add esp, 8
call fcn.0043a380
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407560
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42c7b6
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c7ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x42ce28
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cec3
push edx
push ecx
call fcn.0043cf22
add esp, 8
jmp 0x42ce28
mov eax, dword [esi + 8]
sub eax, 0xffffff80
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00433dc0
add esp, 8
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x158], 0
cmovae eax, dword [ebp - 0x120]
lea edx, [ebp - 0x120]
cmovae ecx, dword [ebp - 0x120]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x110]
add eax, ecx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x10c], 0x10
mov ecx, eax
mov dword [ebp - 0x164], 0
cmovae edx, dword [ebp - 0x120]
sub ecx, edx
mov dword [ebp - 0x16c], edx
cmp edx, eax
cmova ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x42c8d7
mov edi, dword [ebp - 0x164]
mov esi, ecx
nop dword [eax + eax]
movsx eax, byte [edx + edi]
push eax
call fcn.0047b58f
mov ecx, dword [ebp - 0x168]
add esp, 4
mov edx, dword [ebp - 0x16c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x42c8b0
mov esi, dword [ebp - 0x154]
mov ecx, dword [esi + 8]
add ecx, 0x4c
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x158], ecx
mov edx, dword [ecx + 0x14]
cmp edx, 0x10
jb 0x42c8f9
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], ecx
jb 0x42c909
mov eax, dword [ecx]
mov dword [ebp - 0x164], eax
mov eax, dword [ecx + 0x10]
add eax, dword [ebp - 0x164]
mov edi, dword [ebp - 0x160]
mov dword [ebp - 0x16c], eax
cmp edx, 0x10
jb 0x42c92b
mov ecx, dword [ecx]
mov dword [ebp - 0x168], ecx
sub eax, ecx
xor edx, edx
cmp ecx, dword [ebp - 0x16c]
cmova eax, edx
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x42c97b
mov esi, dword [ebp - 0x168]
mov edi, edx
nop word [eax + eax]
movsx eax, byte [esi + edi]
push eax
call fcn.0047b58f
mov ecx, dword [ebp - 0x158]
add esp, 4
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x16c]
jne 0x42c950
mov esi, dword [ebp - 0x154]
mov edi, dword [ebp - 0x160]
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x120]
add ecx, 0x4c
cmp dword [ebp - 0x10c], 0x10
cmovae edx, dword [ebp - 0x120]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x42c9a0
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x110]
jne 0x42ccd9
sub eax, 4
mov dword [ebp - 0x154], eax
jb 0x42c9d4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42c9d9
mov eax, dword [ebp - 0x154]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x154], eax
jae 0x42c9b7
cmp eax, 0xfffffffc
je 0x42ca19
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42ca12
cmp dword [ebp - 0x154], 0xfffffffd
je 0x42ca19
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42ca12
cmp dword [ebp - 0x154], 0xfffffffe
je 0x42ca19
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42ca12
cmp dword [ebp - 0x154], 0xffffffff
je 0x42ca19
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42ca19
sbb eax, eax
or eax, 1
jmp 0x42ca1b
xor eax, eax
test eax, eax
jne 0x42ccd9
mov eax, dword [ebp - 0x170]
add eax, 0x28
mov dword [ebp - 0x158], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42ca3c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ca60
mov eax, dword [ebp - 0x158]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42ca57
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esi + 8]
add ecx, 0x98
cmp dword [ecx + 0x14], 8
jb 0x42ca71
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x14], 8
jb 0x42ca7f
mov eax, dword [eax]
push 0
push ecx
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.0045aef0
add esp, 0x10
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x150], ax
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x16c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cac0
sub ecx, dword [ebp - 0x16c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.0040a8b0
mov edx, dword [ebp - 0x174]
or eax, 0xffffffff
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cb02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x13c], 8
lea ecx, [ebp - 0x150]
mov eax, dword [esi + 8]
cmovae ecx, dword [ebp - 0x150]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42cb24
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42cc4d
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42cc28
push 0x63
push 0x4c5fd0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a7c0
push 3
push 0x4c6034
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
call fcn.0040a7c0
push 0x1a0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406590
mov dword [ebp - 0x158], eax
push str.MoveFile_failed:
push eax
mov byte [ebp - 4], 0x1c
call fcn.00407430
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x158]
push eax
call fcn.004072c0
call fcn.0043a380
push dword [ebp - 0x158]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00407560
lea ecx, [ebp - 0xd8]
call fcn.00406e50
lea ecx, [ebp - 0xc0]
call fcn.00406e50
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42cc36
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x150]
call fcn.00406ea0
jmp 0x42ce1d
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xf4], eax
je 0x42ccb6
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x150]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x140]
movq qword [eax + 0x10], xmm0
add eax, 0x18
mov word [ebp - 0x150], cx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov dword [ebp - 0xf8], eax
call fcn.00406ea0
jmp 0x42ce1d
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041f820
lea ecx, [ebp - 0x150]
call fcn.00406ea0
jmp 0x42ce1d
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42ce08
push 0x63
push 0x4c5f50
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a7c0
push 3
push 0x4c5fb4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
call fcn.0040a7c0
push 0x194
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00406590
mov dword [ebp - 0x154], eax
push str.Md5_not_same:
push eax
mov byte [ebp - 4], 0x16
call fcn.00407430
mov ecx, dword [esi + 8]
add esp, 8
add ecx, 0x4c
cmp dword [ecx + 0x14], 0x10
jb 0x42cd96
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x154]
call fcn.00407430
push 0x4c5fc8
push dword [ebp - 0x154]
call fcn.00407430
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0x154]
call fcn.00407430
add esp, 0x18
call fcn.0043a380
push dword [ebp - 0x154]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407560
lea ecx, [ebp - 0xd8]
call fcn.00406e50
lea ecx, [ebp - 0xc0]
call fcn.00406e50
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42ce16
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x120]
call fcn.00406e50
mov edx, dword [ebp - 0x15c]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ce4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
add eax, 0xb0
push eax
call fcn.0041bb70
mov esi, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x154], esi
cmp esi, edi
jne 0x42c170
mov esi, dword [ebp - 0xfc]
jmp 0x42ce7b
xor esi, esi
mov edi, dword [ebp - 0xf8]
cmp esi, edi
je 0x42ce98
push esi
call fcn.0042b750
mov ecx, dword [ebp - 0x170]
add esi, 0x18
cmp esi, edi
jne 0x42ce85
lea ecx, [ebp - 0xfc]
call fcn.004210b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d1d8
mov esp, ebp
pop ebp
ret
call fcn.0040a270
call fcn.0046e938
push 0x80070057
call fcn.00407b40
push 0x80004005
call fcn.00407b40
int3