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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab209
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x5026c4]
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 0x42aa1f
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42aa0f
call fcn.00438b60
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42a631
push 0x63
push 0x4d58e0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], al
call fcn.0040a700
push 3
push 0x4d5944
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.0040a700
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.004060a0
push 0xffffffffffffffff
push 0x4b4fe8
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.0040b960
push 0xffffffffffffffff
push 0x4b4fec
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x154], eax
call fcn.0040b960
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00469a40
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42a4ef
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42a4ef
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 0x42b7ae
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.0040a700
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.00405b40
add esp, 0x10
lea ecx, [ebp - 0x138]
call fcn.00406da0
jmp 0x42a505
push 0x16d
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405b40
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.00407380
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407380
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 3
push str.Start_download:
push eax
call fcn.00407380
mov ecx, dword [esi + 8]
add esp, 0x18
add ecx, 0x98
cmp dword [ecx + 0x14], 8
jb 0x42a55f
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b4fd8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004055f0
add esp, 8
call fcn.00438b60
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.004074b0
mov edx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42a5d5
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a5cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
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 0x42a631
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a627
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
add esp, 8
mov eax, dword [esi + 8]
sub eax, 0xffffff80
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a64b
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x42b7c2
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.00407ce0
test al, al
jne 0x42a7ea
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a7df
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a6a3
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a7df
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 0x42b7b8
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a715
push dword [ebp - 0x160]
lea ecx, [ebp - 0x164]
call fcn.00408a50
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a78f
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 0x42a7c5
test eax, eax
jne 0x42a759
call fcn.0046d091
mov dword [eax], 0x16
call fcn.0046cf88
jmp 0x42a7b3
cmp dword [ebp - 0x154], 0
je 0x42a747
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a77d
call fcn.0046d091
mov dword [eax], 0x22
call fcn.0046cf88
jmp 0x42a7b3
push edx
push dword [ebp - 0x154]
push eax
call fcn.004694c0
add esp, 0xc
jmp 0x42a7b3
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.0040c030
add esp, 0x10
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b7b8
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x164]
mov word [edx + eax], cx
jmp 0x42a7ea
lea ecx, [ebp - 0x164]
call fcn.0040e0f0
mov eax, dword [esi + 8]
add eax, 0x34
mov dword [ebp - 4], 5
mov dword [ebp - 0x154], eax
cmp dword [eax + 0x14], 8
jb 0x42a80b
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x42b7c2
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.00407ce0
test al, al
jne 0x42a9a7
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x42a99c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a860
sub ecx, dword [ebp - 0x158]
sar ecx, 1
mov dword [ebp - 0x160], ecx
je 0x42a99c
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 0x42b7b8
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x160]
or ecx, edx
jge 0x42a8d2
push dword [ebp - 0x160]
lea ecx, [ebp - 0x168]
call fcn.00408a50
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x15c]
ja 0x42a94c
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 0x42a982
test eax, eax
jne 0x42a916
call fcn.0046d091
mov dword [eax], 0x16
call fcn.0046cf88
jmp 0x42a970
cmp dword [ebp - 0x154], 0
je 0x42a904
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x42a93a
call fcn.0046d091
mov dword [eax], 0x22
call fcn.0046cf88
jmp 0x42a970
push edx
push dword [ebp - 0x154]
push eax
call fcn.004694c0
add esp, 0xc
jmp 0x42a970
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.0040c030
add esp, 0x10
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
cmp ecx, dword [eax - 8]
jg 0x42b7b8
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x168]
mov word [edx + eax], cx
jmp 0x42a9a7
lea ecx, [ebp - 0x168]
call fcn.0040e0f0
push 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041b970
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 0x42a9ea
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 0x42aa0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x42a350
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 0x42b769
nop dword [eax]
cmp byte [ecx + 4], 0
jne 0x42b73a
mov eax, dword [esi + 8]
cmp byte [eax + 0x7c], 0
je 0x42b73a
mov byte [ebp - 4], 9
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x42b7c2
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.0041bad0
add esp, 0xc
mov dword [ebp - 0x164], eax
test eax, eax
je 0x42adcd
call fcn.00438b60
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b718
push 0x63
push 0x4d5960
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], al
call fcn.0040a700
push 3
push 0x4d595c
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.0040a700
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.004060a0
push 0xffffffffffffffff
push 0x4b4fe8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.0040b960
push 0xffffffffffffffff
push 0x4b4fec
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x154], eax
call fcn.0040b960
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00469a40
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42ac9f
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42ac9f
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 0x42b7ae
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.0040a700
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.00405b40
mov edx, dword [ebp - 0xdc]
add esp, 0x10
cmp edx, 0x10
jb 0x42ac82
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ac78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
jmp 0x42acb5
push 0x180
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405b40
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.00407380
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407380
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0xe
push str.AsyncHttpGetResponse_failed:
push eax
call fcn.00407380
add esp, 0x18
lea ecx, [ebp - 0x20c]
push dword [ebp - 0x164]
call fcn.00415970
call fcn.00438b60
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.004074b0
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x42ad6b
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ad61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
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 0x42b718
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42adbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
add esp, 8
jmp 0x42b718
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42addb
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b108
call fcn.00438b60
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b718
push 0x63
push 0x4d59e8
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a700
push 3
push 0x4d59e4
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.0040a700
push 1
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x10
call fcn.004060a0
push 0xffffffffffffffff
push 0x4b4fe8
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.0040b960
push 0xffffffffffffffff
push 0x4b4fec
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x154], eax
call fcn.0040b960
push 0x64
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00469a40
mov ecx, dword [ebp - 0x158]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x42afc3
mov edx, dword [ebp - 0x154]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x42afc3
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 0x42b7ae
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.0040a700
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.00405b40
mov edx, dword [ebp - 0x124]
add esp, 0x10
cmp edx, 0x10
jb 0x42afa6
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42af9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
jmp 0x42afd9
push 0x186
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405b40
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.00407380
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407380
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0x12
push str.File_not_exists:
push eax
call fcn.00407380
mov ecx, dword [esi + 8]
add esp, 0x18
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 8
jb 0x42b030
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b4fd8
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004055f0
add esp, 8
call fcn.00438b60
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.004074b0
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42b0a6
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b09c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
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 0x42b718
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b0f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7b3
push edx
push ecx
call fcn.0043b702
add esp, 8
jmp 0x42b718
mov eax, dword [esi + 8]
sub eax, 0xffffff80
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004325a0
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 0x42b1c7
mov edi, dword [ebp - 0x164]
mov esi, ecx
nop dword [eax + eax]
movsx eax, byte [edx + edi]
push eax
call fcn.00479c32
mov ecx, dword [ebp - 0x168]
add esp, 4
mov edx, dword [ebp - 0x16c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x42b1a0
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 0x42b1e9
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], ecx
jb 0x42b1f9
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 0x42b21b
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 0x42b26b
mov esi, dword [ebp - 0x168]
mov edi, edx
nop word [eax + eax]
movsx eax, byte [esi + edi]
push eax
call fcn.00479c32
mov ecx, dword [ebp - 0x158]
add esp, 4
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x16c]
jne 0x42b240
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 0x42b290
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x110]
jne 0x42b5c9
sub eax, 4
mov dword [ebp - 0x154], eax
jb 0x42b2c4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42b2c9
mov eax, dword [ebp - 0x154]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x154], eax
jae 0x42b2a7
cmp eax, 0xfffffffc
je 0x42b309
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42b302
cmp dword [ebp - 0x154], 0xfffffffd
je 0x42b309
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42b302
cmp dword [ebp - 0x154], 0xfffffffe
je 0x42b309
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42b302
cmp dword [ebp - 0x154], 0xffffffff
je 0x42b309
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42b309
sbb eax, eax
or eax, 1
jmp 0x42b30b
xor eax, eax
test eax, eax
jne 0x42b5c9
mov eax, dword [ebp - 0x170]
add eax, 0x28
mov dword [ebp - 0x158], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b32c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b350
mov eax, dword [ebp - 0x158]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b347
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 0x42b361
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x14], 8
jb 0x42b36f
mov eax, dword [eax]
push 0
push ecx
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00459540
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 0x42b3b0
sub ecx, dword [ebp - 0x16c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.0040a7f0
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 0x42b3f2
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 0x42b414
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42b53d
call fcn.00438b60
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b518
push 0x63
push 0x4d5ae0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a700
push 3
push 0x4d5b44
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.0040a700
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.004064e0
mov dword [ebp - 0x158], eax
push str.MoveFile_failed:
push eax
mov byte [ebp - 4], 0x1c
call fcn.00407380
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x158]
push eax
call fcn.00407210
call fcn.00438b60
push dword [ebp - 0x158]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.004074b0
lea ecx, [ebp - 0xd8]
call fcn.00406da0
lea ecx, [ebp - 0xc0]
call fcn.00406da0
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42b526
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x150]
call fcn.00406df0
jmp 0x42b70d
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xf4], eax
je 0x42b5a6
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.00406df0
jmp 0x42b70d
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041f6a0
lea ecx, [ebp - 0x150]
call fcn.00406df0
jmp 0x42b70d
call fcn.00438b60
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42b6f8
push 0x63
push 0x4d5a60
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040a700
push 3
push 0x4d5ac4
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.0040a700
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.004064e0
mov dword [ebp - 0x154], eax
push str.Md5_not_same:
push eax
mov byte [ebp - 4], 0x16
call fcn.00407380
mov ecx, dword [esi + 8]
add esp, 8
add ecx, 0x4c
cmp dword [ecx + 0x14], 0x10
jb 0x42b686
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x154]
call fcn.00407380
push 0x4d5ad8
push dword [ebp - 0x154]
call fcn.00407380
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0x154]
call fcn.00407380
add esp, 0x18
call fcn.00438b60
push dword [ebp - 0x154]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.004074b0
lea ecx, [ebp - 0xd8]
call fcn.00406da0
lea ecx, [ebp - 0xc0]
call fcn.00406da0
mov eax, dword [esi + 8]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x42b706
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x120]
call fcn.00406da0
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 0x42b73a
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.0041baa0
mov esi, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x154], esi
cmp esi, edi
jne 0x42aa60
mov esi, dword [ebp - 0xfc]
jmp 0x42b76b
xor esi, esi
mov edi, dword [ebp - 0xf8]
cmp esi, edi
je 0x42b788
push esi
call fcn.0042a040
mov ecx, dword [ebp - 0x170]
add esi, 0x18
cmp esi, edi
jne 0x42b775
lea ecx, [ebp - 0xfc]
call fcn.004208c0
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.0043b9b8
mov esp, ebp
pop ebp
ret
call fcn.0040a1b0
call fcn.0046cf98
push 0x80070057
call fcn.00407a90
push 0x80004005
call fcn.00407a90
int3