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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8389
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x4ff4f4]
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 0x42a72f
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42a71f
call fcn.004380d0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42a341
push 0x63
push 0x4d32f8
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], al
call fcn.0040a230
push 3
push 0x4d335c
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.0040a230
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.00405bc0
push 0xffffffffffffffff
push 0x4b1ef8
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.0040b490
push 0xffffffffffffffff
push 0x4b1efc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x154], eax
call fcn.0040b490
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00466d80
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42a1ff
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42a1ff
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 0x42b4be
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.0040a230
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.00405660
add esp, 0x10
lea ecx, [ebp - 0x138]
call fcn.004068c0
jmp 0x42a215
push 0x16d
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405660
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.00406ea0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00406ea0
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 3
push str.Start_download:
push eax
call fcn.00406ea0
mov ecx, dword [esi + 8]
add esp, 0x18
add ecx, 0x98
cmp dword [ecx + 0x14], 8
jb 0x42a26f
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b1ee8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00405110
add esp, 8
call fcn.004380d0
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00406fe0
mov edx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42a2e5
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a2db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
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 0x42a341
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a337
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
add esp, 8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a35b
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x42b4d2
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.00407810
test al, al
jne 0x42a4fa
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a4ef
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a3b3
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a4ef
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 0x42b4c8
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a425
push dword [ebp - 0x160]
lea ecx, [ebp - 0x164]
call fcn.00408580
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a49f
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 0x42a4d5
test eax, eax
jne 0x42a469
call fcn.0046a3d1
mov dword [eax], 0x16
call fcn.0046a2c8
jmp 0x42a4c3
cmp dword [ebp - 0x154], 0
je 0x42a457
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a48d
call fcn.0046a3d1
mov dword [eax], 0x22
call fcn.0046a2c8
jmp 0x42a4c3
push edx
push dword [ebp - 0x154]
push eax
call fcn.00466800
add esp, 0xc
jmp 0x42a4c3
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.0040bb60
add esp, 0x10
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b4c8
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x164]
mov word [edx + eax], cx
jmp 0x42a4fa
lea ecx, [ebp - 0x164]
call fcn.0040dc10
mov eax, dword [esi + 8]
add eax, 0x34
mov dword [ebp - 4], 5
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a51b
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x42b4d2
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.00407810
test al, al
jne 0x42a6b7
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a6ac
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a570
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a6ac
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 0x42b4c8
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a5e2
push dword [ebp - 0x160]
lea ecx, [ebp - 0x168]
call fcn.00408580
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a65c
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 0x42a692
test eax, eax
jne 0x42a626
call fcn.0046a3d1
mov dword [eax], 0x16
call fcn.0046a2c8
jmp 0x42a680
cmp dword [ebp - 0x154], 0
je 0x42a614
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a64a
call fcn.0046a3d1
mov dword [eax], 0x22
call fcn.0046a2c8
jmp 0x42a680
push edx
push dword [ebp - 0x154]
push eax
call fcn.00466800
add esp, 0xc
jmp 0x42a680
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.0040bb60
add esp, 0x10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b4c8
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x168]
mov word [edx + eax], cx
jmp 0x42a6b7
lea ecx, [ebp - 0x168]
call fcn.0040dc10
push 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041b6a0
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 0x42a6fa
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 0x42a71f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x42a060
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 0x42b479
nop dword [eax]
cmp byte [ecx + 4], 0
jne 0x42b44a
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42b44a
mov byte [ebp - 4], 9
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x42b4d2
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.0041b800
add esp, 0xc
mov dword [ebp - 0x164], eax
test eax, eax
je 0x42aadd
call fcn.004380d0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b428
push 0x63
push 0x4d3378
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], al
call fcn.0040a230
push 3
push 0x4d3374
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.0040a230
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.00405bc0
push 0xffffffffffffffff
push 0x4b1ef8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.0040b490
push 0xffffffffffffffff
push 0x4b1efc
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x154], eax
call fcn.0040b490
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00466d80
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42a9af
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42a9af
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 0x42b4be
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.0040a230
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.00405660
mov edx, dword [ebp - 0xdc]
add esp, 0x10
cmp edx, 0x10
jb 0x42a992
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a988
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
jmp 0x42a9c5
push 0x180
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405660
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.00406ea0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00406ea0
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0xe
push str.AsyncHttpGetResponse_failed:
push eax
call fcn.00406ea0
add esp, 0x18
lea ecx, [ebp - 0x20c]
push dword [ebp - 0x164]
call fcn.00415d40
call fcn.004380d0
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00406fe0
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x42aa7b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42aa71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
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 0x42b428
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42aace
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
add esp, 8
jmp 0x42b428
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42aaeb
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ae18
call fcn.004380d0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b428
push 0x63
push 0x4d3400
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a230
push 3
push 0x4d33fc
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.0040a230
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x10
call fcn.00405bc0
push 0xffffffffffffffff
push 0x4b1ef8
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.0040b490
push 0xffffffffffffffff
push 0x4b1efc
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x154], eax
call fcn.0040b490
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00466d80
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42acd3
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42acd3
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 0x42b4be
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.0040a230
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.00405660
mov edx, dword [ebp - 0x124]
add esp, 0x10
cmp edx, 0x10
jb 0x42acb6
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42acac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
jmp 0x42ace9
push 0x186
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405660
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.00406ea0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00406ea0
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0x12
push str.File_not_exists:
push eax
call fcn.00406ea0
mov ecx, dword [esi + 8]
add esp, 0x18
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 8
jb 0x42ad40
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b1ee8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00405110
add esp, 8
call fcn.004380d0
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00406fe0
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42adb6
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42adac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
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 0x42b428
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ae09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4c3
push edx
push ecx
call fcn.0043ac72
add esp, 8
jmp 0x42b428
mov eax, dword [esi + 8]
sub eax, 0xffffff80
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00431bd0
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 0x42aed7
mov edi, dword [ebp - 0x164]
mov esi, ecx
nop dword [eax + eax]
movsx eax, byte [edx + edi]
push eax
call fcn.004770ff
mov ecx, dword [ebp - 0x168]
add esp, 4
mov edx, dword [ebp - 0x16c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x42aeb0
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 0x42aef9
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], ecx
jb 0x42af09
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 0x42af2b
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 0x42af7b
mov esi, dword [ebp - 0x168]
mov edi, edx
nop word [eax + eax]
movsx eax, byte [esi + edi]
push eax
call fcn.004770ff
mov ecx, dword [ebp - 0x158]
add esp, 4
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x16c]
jne 0x42af50
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 0x42afa0
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x110]
jne 0x42b2d9
sub eax, 4
mov dword [ebp - 0x154], eax
jb 0x42afd4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42afd9
mov eax, dword [ebp - 0x154]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x154], eax
jae 0x42afb7
cmp eax, 0xfffffffc
je 0x42b019
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42b012
cmp dword [ebp - 0x154], 0xfffffffd
je 0x42b019
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42b012
cmp dword [ebp - 0x154], 0xfffffffe
je 0x42b019
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42b012
cmp dword [ebp - 0x154], 0xffffffff
je 0x42b019
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42b019
sbb eax, eax
or eax, 1
jmp 0x42b01b
xor eax, eax
test eax, eax
jne 0x42b2d9
mov eax, dword [ebp - 0x170]
add eax, 0x28
mov dword [ebp - 0x158], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b03c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b060
mov eax, dword [ebp - 0x158]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b057
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 0x42b071
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x14], 8
jb 0x42b07f
mov eax, dword [eax]
push 0
push ecx
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00456840
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 0x42b0c0
sub ecx, dword [ebp - 0x16c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.0040a320
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 0x42b102
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 0x42b124
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42b24d
call fcn.004380d0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b228
push 0x63
push 0x4d34f8
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a230
push 3
push 0x4d355c
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.0040a230
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.00406000
mov dword [ebp - 0x158], eax
push str.MoveFile_failed:
push eax
mov byte [ebp - 4], 0x1c
call fcn.00406ea0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x158]
push eax
call fcn.00406d30
call fcn.004380d0
push dword [ebp - 0x158]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00406fe0
lea ecx, [ebp - 0xd8]
call fcn.004068c0
lea ecx, [ebp - 0xc0]
call fcn.004068c0
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42b236
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x150]
call fcn.00406910
jmp 0x42b41d
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xf4], eax
je 0x42b2b6
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.00406910
jmp 0x42b41d
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041f220
lea ecx, [ebp - 0x150]
call fcn.00406910
jmp 0x42b41d
call fcn.004380d0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b408
push 0x63
push 0x4d3478
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a230
push 3
push 0x4d34dc
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.0040a230
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.00406000
mov dword [ebp - 0x154], eax
push str.Md5_not_same:
push eax
mov byte [ebp - 4], 0x16
call fcn.00406ea0
mov ecx, dword [esi + 8]
add esp, 8
add ecx, 0x4c
cmp dword [ecx + 0x14], 0x10
jb 0x42b396
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x154]
call fcn.00406ea0
push 0x4d34f0
push dword [ebp - 0x154]
call fcn.00406ea0
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0x154]
call fcn.00406ea0
add esp, 0x18
call fcn.004380d0
push dword [ebp - 0x154]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00406fe0
lea ecx, [ebp - 0xd8]
call fcn.004068c0
lea ecx, [ebp - 0xc0]
call fcn.004068c0
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42b416
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x120]
call fcn.004068c0
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 0x42b44a
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.0041b7d0
mov esi, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x154], esi
cmp esi, edi
jne 0x42a770
mov esi, dword [ebp - 0xfc]
jmp 0x42b47b
xor esi, esi
mov edi, dword [ebp - 0xf8]
cmp esi, edi
je 0x42b498
push esi
call fcn.00429d50
mov ecx, dword [ebp - 0x170]
add esi, 0x18
cmp esi, edi
jne 0x42b485
lea ecx, [ebp - 0xfc]
call fcn.00420350
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.0043af28
mov esp, ebp
pop ebp
ret
call fcn.00409ce0
call fcn.0046a2d8
push 0x80070057
call fcn.004075c0
push 0x80004005
call fcn.004075c0
int3