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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aba69
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x5036c4]
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 0x42a9cf
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42a9bf
call fcn.00438c20
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42a5e1
push 0x63
push 0x4d67d0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], al
call fcn.0040a7b0
push 3
push 0x4d6834
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.0040a7b0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.00406150
push 0xffffffffffffffff
push 0x4b5fe8
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.0040ba10
push 0xffffffffffffffff
push 0x4b5fec
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x154], eax
call fcn.0040ba10
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00469cf0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42a49f
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42a49f
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 0x42b75e
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.0040a7b0
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 0x42a4b5
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 0x42a50f
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b5fd8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004056a0
add esp, 8
call fcn.00438c20
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 0x42a585
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a57b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
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 0x42a5e1
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a5d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a5fb
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42b772
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 0x42a79a
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a78f
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a653
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a78f
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 0x42b768
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a6c5
push dword [ebp - 0x160]
lea ecx, [ebp - 0x164]
call fcn.00408b00
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a73f
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 0x42a775
test eax, eax
jne 0x42a709
call fcn.0046d351
mov dword [eax], 0x16
call fcn.0046d248
jmp 0x42a763
cmp dword [ebp - 0x154], 0
je 0x42a6f7
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a72d
call fcn.0046d351
mov dword [eax], 0x22
call fcn.0046d248
jmp 0x42a763
push edx
push dword [ebp - 0x154]
push eax
call fcn.00469770
add esp, 0xc
jmp 0x42a763
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.0040c0e0
add esp, 0x10
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b768
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x164]
mov word [edx + eax], cx
jmp 0x42a79a
lea ecx, [ebp - 0x164]
call fcn.0040e190
mov eax, dword [esi + 8]
add eax, 0x34
mov dword [ebp - 4], 5
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a7bb
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42b772
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 0x42a957
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a94c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a810
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a94c
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 0x42b768
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a882
push dword [ebp - 0x160]
lea ecx, [ebp - 0x168]
call fcn.00408b00
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a8fc
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 0x42a932
test eax, eax
jne 0x42a8c6
call fcn.0046d351
mov dword [eax], 0x16
call fcn.0046d248
jmp 0x42a920
cmp dword [ebp - 0x154], 0
je 0x42a8b4
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a8ea
call fcn.0046d351
mov dword [eax], 0x22
call fcn.0046d248
jmp 0x42a920
push edx
push dword [ebp - 0x154]
push eax
call fcn.00469770
add esp, 0xc
jmp 0x42a920
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.0040c0e0
add esp, 0x10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b768
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x168]
mov word [edx + eax], cx
jmp 0x42a957
lea ecx, [ebp - 0x168]
call fcn.0040e190
push 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041ba00
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 0x42a99a
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 0x42a9bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x42a300
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 0x42b719
nop dword [eax]
cmp byte [ecx + 4], 0
jne 0x42b6ea
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42b6ea
mov byte [ebp - 4], 9
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42b772
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.0041bb60
add esp, 0xc
mov dword [ebp - 0x164], eax
test eax, eax
je 0x42ad7d
call fcn.00438c20
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b6c8
push 0x63
push 0x4d6850
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], al
call fcn.0040a7b0
push 3
push 0x4d684c
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.0040a7b0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.00406150
push 0xffffffffffffffff
push 0x4b5fe8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.0040ba10
push 0xffffffffffffffff
push 0x4b5fec
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x154], eax
call fcn.0040ba10
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00469cf0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42ac4f
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42ac4f
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 0x42b75e
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.0040a7b0
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 0x42ac32
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ac28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
jmp 0x42ac65
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.00415a10
call fcn.00438c20
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 0x42ad1b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ad11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
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 0x42b6c8
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ad6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
add esp, 8
jmp 0x42b6c8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42ad8b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b0b8
call fcn.00438c20
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b6c8
push 0x63
push 0x4d68d8
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a7b0
push 3
push 0x4d68d4
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.0040a7b0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x10
call fcn.00406150
push 0xffffffffffffffff
push 0x4b5fe8
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.0040ba10
push 0xffffffffffffffff
push 0x4b5fec
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x154], eax
call fcn.0040ba10
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00469cf0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42af73
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42af73
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 0x42b75e
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.0040a7b0
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 0x42af56
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42af4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
jmp 0x42af89
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 0x42afe0
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b5fd8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004056a0
add esp, 8
call fcn.00438c20
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 0x42b056
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b04c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
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 0x42b6c8
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b0a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b763
push edx
push ecx
call fcn.0043b7c2
add esp, 8
jmp 0x42b6c8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00432650
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 0x42b177
mov edi, dword [ebp - 0x164]
mov esi, ecx
nop dword [eax + eax]
movsx eax, byte [edx + edi]
push eax
call fcn.00479ef2
mov ecx, dword [ebp - 0x168]
add esp, 4
mov edx, dword [ebp - 0x16c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x42b150
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 0x42b199
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], ecx
jb 0x42b1a9
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 0x42b1cb
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 0x42b21b
mov esi, dword [ebp - 0x168]
mov edi, edx
nop word [eax + eax]
movsx eax, byte [esi + edi]
push eax
call fcn.00479ef2
mov ecx, dword [ebp - 0x158]
add esp, 4
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x16c]
jne 0x42b1f0
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 0x42b240
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x110]
jne 0x42b579
sub eax, 4
mov dword [ebp - 0x154], eax
jb 0x42b274
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42b279
mov eax, dword [ebp - 0x154]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x154], eax
jae 0x42b257
cmp eax, 0xfffffffc
je 0x42b2b9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42b2b2
cmp dword [ebp - 0x154], 0xfffffffd
je 0x42b2b9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42b2b2
cmp dword [ebp - 0x154], 0xfffffffe
je 0x42b2b9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42b2b2
cmp dword [ebp - 0x154], 0xffffffff
je 0x42b2b9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42b2b9
sbb eax, eax
or eax, 1
jmp 0x42b2bb
xor eax, eax
test eax, eax
jne 0x42b579
mov eax, dword [ebp - 0x170]
add eax, 0x28
mov dword [ebp - 0x158], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b2dc
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b300
mov eax, dword [ebp - 0x158]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b2f7
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 0x42b311
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x14], 8
jb 0x42b31f
mov eax, dword [eax]
push 0
push ecx
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.004597e0
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 0x42b360
sub ecx, dword [ebp - 0x16c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.0040a8a0
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 0x42b3a2
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 0x42b3c4
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42b4ed
call fcn.00438c20
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b4c8
push 0x63
push 0x4d69d0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a7b0
push 3
push 0x4d6a34
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.0040a7b0
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.00438c20
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 0x42b4d6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x150]
call fcn.00406ea0
jmp 0x42b6bd
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xf4], eax
je 0x42b556
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 0x42b6bd
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041f730
lea ecx, [ebp - 0x150]
call fcn.00406ea0
jmp 0x42b6bd
call fcn.00438c20
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b6a8
push 0x63
push 0x4d6950
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a7b0
push 3
push 0x4d69b4
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.0040a7b0
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 0x42b636
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x154]
call fcn.00407430
push 0x4d69c8
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.00438c20
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 0x42b6b6
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 0x42b6ea
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.0041bb30
mov esi, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x154], esi
cmp esi, edi
jne 0x42aa10
mov esi, dword [ebp - 0xfc]
jmp 0x42b71b
xor esi, esi
mov edi, dword [ebp - 0xf8]
cmp esi, edi
je 0x42b738
push esi
call fcn.00429ff0
mov ecx, dword [ebp - 0x170]
add esi, 0x18
cmp esi, edi
jne 0x42b725
lea ecx, [ebp - 0xfc]
call fcn.00420950
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.0043ba78
mov esp, ebp
pop ebp
ret
call fcn.0040a260
call fcn.0046d258
push 0x80070057
call fcn.00407b40
push 0x80004005
call fcn.00407b40
int3