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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9149
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x4ff5e4]
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 0x42a6cf
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42a6bf
call fcn.00438810
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42a2e1
push 0x63
push 0x4d37d0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], al
call fcn.0040a3e0
push 3
push 0x4d3834
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.0040a3e0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.00405d80
push 0xffffffffffffffff
push 0x4b2fe8
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.0040b640
push 0xffffffffffffffff
push 0x4b2fec
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x154], eax
call fcn.0040b640
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004679d0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42a19f
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42a19f
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 0x42b45e
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.0040a3e0
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.00405820
add esp, 0x10
lea ecx, [ebp - 0x138]
call fcn.00406a80
jmp 0x42a1b5
push 0x16d
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405820
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.00407060
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407060
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 3
push str.Start_download:
push eax
call fcn.00407060
mov ecx, dword [esi + 8]
add esp, 0x18
add ecx, 0x98
cmp dword [ecx + 0x14], 8
jb 0x42a20f
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b2fd8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004052d0
add esp, 8
call fcn.00438810
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407190
mov edx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42a285
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a27b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
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 0x42a2e1
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a2d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
add esp, 8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a2fb
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.00407d10
mov ecx, eax
test ecx, ecx
je 0x42b472
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.004079c0
test al, al
jne 0x42a49a
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a48f
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a353
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a48f
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 0x42b468
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a3c5
push dword [ebp - 0x160]
lea ecx, [ebp - 0x164]
call fcn.00408730
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a43f
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 0x42a475
test eax, eax
jne 0x42a409
call fcn.0046b021
mov dword [eax], 0x16
call fcn.0046af18
jmp 0x42a463
cmp dword [ebp - 0x154], 0
je 0x42a3f7
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a42d
call fcn.0046b021
mov dword [eax], 0x22
call fcn.0046af18
jmp 0x42a463
push edx
push dword [ebp - 0x154]
push eax
call fcn.00467450
add esp, 0xc
jmp 0x42a463
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.0040bd10
add esp, 0x10
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b468
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x164]
mov word [edx + eax], cx
jmp 0x42a49a
lea ecx, [ebp - 0x164]
call fcn.0040ddd0
mov eax, dword [esi + 8]
add eax, 0x34
mov dword [ebp - 4], 5
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a4bb
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.00407d10
mov ecx, eax
test ecx, ecx
je 0x42b472
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.004079c0
test al, al
jne 0x42a657
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a64c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a510
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a64c
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 0x42b468
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a582
push dword [ebp - 0x160]
lea ecx, [ebp - 0x168]
call fcn.00408730
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a5fc
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 0x42a632
test eax, eax
jne 0x42a5c6
call fcn.0046b021
mov dword [eax], 0x16
call fcn.0046af18
jmp 0x42a620
cmp dword [ebp - 0x154], 0
je 0x42a5b4
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a5ea
call fcn.0046b021
mov dword [eax], 0x22
call fcn.0046af18
jmp 0x42a620
push edx
push dword [ebp - 0x154]
push eax
call fcn.00467450
add esp, 0xc
jmp 0x42a620
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.0040bd10
add esp, 0x10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b468
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x168]
mov word [edx + eax], cx
jmp 0x42a657
lea ecx, [ebp - 0x168]
call fcn.0040ddd0
push 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041b630
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 0x42a69a
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 0x42a6bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x42a000
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 0x42b419
nop dword [eax]
cmp byte [ecx + 4], 0
jne 0x42b3ea
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42b3ea
mov byte [ebp - 4], 9
call fcn.00407d10
mov ecx, eax
test ecx, ecx
je 0x42b472
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.0041b790
add esp, 0xc
mov dword [ebp - 0x164], eax
test eax, eax
je 0x42aa7d
call fcn.00438810
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b3c8
push 0x63
push 0x4d3850
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], al
call fcn.0040a3e0
push 3
push 0x4d384c
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.0040a3e0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.00405d80
push 0xffffffffffffffff
push 0x4b2fe8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.0040b640
push 0xffffffffffffffff
push 0x4b2fec
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x154], eax
call fcn.0040b640
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004679d0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42a94f
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42a94f
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 0x42b45e
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.0040a3e0
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.00405820
mov edx, dword [ebp - 0xdc]
add esp, 0x10
cmp edx, 0x10
jb 0x42a932
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a928
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
jmp 0x42a965
push 0x180
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405820
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.00407060
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407060
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0xe
push str.AsyncHttpGetResponse_failed:
push eax
call fcn.00407060
add esp, 0x18
lea ecx, [ebp - 0x20c]
push dword [ebp - 0x164]
call fcn.00415640
call fcn.00438810
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407190
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x42aa1b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42aa11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
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 0x42b3c8
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42aa6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
add esp, 8
jmp 0x42b3c8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42aa8b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42adb8
call fcn.00438810
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b3c8
push 0x63
push 0x4d38d8
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a3e0
push 3
push 0x4d38d4
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.0040a3e0
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x10
call fcn.00405d80
push 0xffffffffffffffff
push 0x4b2fe8
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.0040b640
push 0xffffffffffffffff
push 0x4b2fec
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x154], eax
call fcn.0040b640
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004679d0
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42ac73
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42ac73
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 0x42b45e
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.0040a3e0
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.00405820
mov edx, dword [ebp - 0x124]
add esp, 0x10
cmp edx, 0x10
jb 0x42ac56
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ac4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
jmp 0x42ac89
push 0x186
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405820
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.00407060
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407060
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0x12
push str.File_not_exists:
push eax
call fcn.00407060
mov ecx, dword [esi + 8]
add esp, 0x18
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 8
jb 0x42ace0
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b2fd8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004052d0
add esp, 8
call fcn.00438810
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407190
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42ad56
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ad4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
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 0x42b3c8
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ada9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b463
push edx
push ecx
call fcn.0043b3b2
add esp, 8
jmp 0x42b3c8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00432250
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 0x42ae77
mov edi, dword [ebp - 0x164]
mov esi, ecx
nop dword [eax + eax]
movsx eax, byte [edx + edi]
push eax
call fcn.00477bc2
mov ecx, dword [ebp - 0x168]
add esp, 4
mov edx, dword [ebp - 0x16c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x42ae50
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 0x42ae99
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], ecx
jb 0x42aea9
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 0x42aecb
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 0x42af1b
mov esi, dword [ebp - 0x168]
mov edi, edx
nop word [eax + eax]
movsx eax, byte [esi + edi]
push eax
call fcn.00477bc2
mov ecx, dword [ebp - 0x158]
add esp, 4
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x16c]
jne 0x42aef0
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 0x42af40
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x110]
jne 0x42b279
sub eax, 4
mov dword [ebp - 0x154], eax
jb 0x42af74
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42af79
mov eax, dword [ebp - 0x154]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x154], eax
jae 0x42af57
cmp eax, 0xfffffffc
je 0x42afb9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42afb2
cmp dword [ebp - 0x154], 0xfffffffd
je 0x42afb9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42afb2
cmp dword [ebp - 0x154], 0xfffffffe
je 0x42afb9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42afb2
cmp dword [ebp - 0x154], 0xffffffff
je 0x42afb9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42afb9
sbb eax, eax
or eax, 1
jmp 0x42afbb
xor eax, eax
test eax, eax
jne 0x42b279
mov eax, dword [ebp - 0x170]
add eax, 0x28
mov dword [ebp - 0x158], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42afdc
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b000
mov eax, dword [ebp - 0x158]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42aff7
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 0x42b011
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x14], 8
jb 0x42b01f
mov eax, dword [eax]
push 0
push ecx
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00457360
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 0x42b060
sub ecx, dword [ebp - 0x16c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.0040a4d0
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 0x42b0a2
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 0x42b0c4
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42b1ed
call fcn.00438810
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b1c8
push 0x63
push 0x4d39d0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a3e0
push 3
push 0x4d3a34
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.0040a3e0
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.004061c0
mov dword [ebp - 0x158], eax
push str.MoveFile_failed:
push eax
mov byte [ebp - 4], 0x1c
call fcn.00407060
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x158]
push eax
call fcn.00406ef0
call fcn.00438810
push dword [ebp - 0x158]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00407190
lea ecx, [ebp - 0xd8]
call fcn.00406a80
lea ecx, [ebp - 0xc0]
call fcn.00406a80
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42b1d6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x150]
call fcn.00406ad0
jmp 0x42b3bd
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xf4], eax
je 0x42b256
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.00406ad0
jmp 0x42b3bd
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041f360
lea ecx, [ebp - 0x150]
call fcn.00406ad0
jmp 0x42b3bd
call fcn.00438810
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b3a8
push 0x63
push 0x4d3950
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a3e0
push 3
push 0x4d39b4
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.0040a3e0
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.004061c0
mov dword [ebp - 0x154], eax
push str.Md5_not_same:
push eax
mov byte [ebp - 4], 0x16
call fcn.00407060
mov ecx, dword [esi + 8]
add esp, 8
add ecx, 0x4c
cmp dword [ecx + 0x14], 0x10
jb 0x42b336
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x154]
call fcn.00407060
push 0x4d39c8
push dword [ebp - 0x154]
call fcn.00407060
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0x154]
call fcn.00407060
add esp, 0x18
call fcn.00438810
push dword [ebp - 0x154]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407190
lea ecx, [ebp - 0xd8]
call fcn.00406a80
lea ecx, [ebp - 0xc0]
call fcn.00406a80
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42b3b6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x120]
call fcn.00406a80
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 0x42b3ea
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.0041b760
mov esi, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x154], esi
cmp esi, edi
jne 0x42a710
mov esi, dword [ebp - 0xfc]
jmp 0x42b41b
xor esi, esi
mov edi, dword [ebp - 0xf8]
cmp esi, edi
je 0x42b438
push esi
call fcn.00429cf0
mov ecx, dword [ebp - 0x170]
add esi, 0x18
cmp esi, edi
jne 0x42b425
lea ecx, [ebp - 0xfc]
call fcn.00420580
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.0043b668
mov esp, ebp
pop ebp
ret
call fcn.00409e90
call fcn.0046af28
push 0x80070057
call fcn.00407770
push 0x80004005
call fcn.00407770
int3