Function at 0x40f600
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7826
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x208], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x94], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
call fcn.0040f4c0
lea edi, [esi + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x40f69d
mov edi, dword [edi]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40f6a2
sub esi, ecx
lea ecx, [ebp - 0x1e0]
call fcn.0040f550
lea ecx, [ebp - 0x1e0]
call fcn.0040f4c0
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
push eax
sub esp, 0x10
lea ecx, [ebp - 0x1c]
push esi
push edi
push edx
call fcn.0040f290
add esp, 0x20
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0x1e0]
push str.UpdateFiles
push eax
call fcn.0040f440
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x40f705
mov esi, dword [eax + 0x10]
jmp 0x40f707
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 0x1e4], esi
test esi, esi
je 0x4105cf
push str.Name
lea eax, [ebp - 0x20c]
mov ebx, 2
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040f440
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x40f74c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f74c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f751
mov edx, 0x664cdc
mov ecx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f768
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004053a0
push 0x6656d4
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040f440
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x40f7ae
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f7ae
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f7b3
mov edx, 0x664cdc
mov ecx, edx
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f7d3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x100]
call fcn.004053a0
push 0x6656d8
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040f440
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x40f81c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f81c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f821
mov edx, 0x664cdc
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f838
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004053a0
push 0x6656dc
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040f440
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x40f87e
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f87e
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f883
mov edx, 0x664cdc
mov ecx, edx
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f8a3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.004053a0
push str.Length
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040f440
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x40f8ec
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f8ec
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f8f1
mov edx, 0x664cdc
mov ecx, edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f911
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.004053a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x118]
cmovae edx, dword [ebp - 0x40]
call fcn.00406000
mov edi, eax
push 0x664fc4
lea edx, [ebp + 8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x21c]
call fcn.00411850
add esp, 4
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 8
jb 0x40f969
mov edi, dword [edi]
push edi
mov edx, eax
lea ecx, [ebp - 0x1fc]
call fcn.00411850
add esp, 4
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f99c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x40f9e0
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
xor eax, eax
mov dword [ebp - 0x108], 0
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x104], 7
cmovae edx, dword [ebp - 0x58]
mov word [ebp - 0x118], ax
call fcn.00406000
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x40fa1c
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x1fc]
lea ecx, [ebp - 0x1e8]
call fcn.00411850
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40fa6f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x8c], 0x10
lea edi, [ebp - 0xa0]
push eax
cmovae edi, dword [ebp - 0xa0]
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1e4], eax
xor ecx, ecx
inc eax
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451543
mov ecx, dword [ebp - 0x1e4]
mov ebx, eax
mov dword [ebp - 0x1ec], ebx
lea ecx, [ecx*2 + 2]
push ecx
push 0
push ebx
call fcn.005c8440
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fae6
push dword [ebp - 0x1e4]
sub ecx, edx
push ebx
push ecx
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea edi, [ebx + 1]
push edi
call fcn.00451543
push edi
mov edi, eax
mov dword [ebp - 0x204], eax
push 0
push edi
call fcn.005c8440
add esp, 0x10
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x1ec]
push edi
push dword [ebp - 0x1e4]
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fb70
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004053a0
or dword [ebp - 0x208], 1
push edi
call fcn.0045153e
push ebx
call fcn.0045153e
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005d2199
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x1e4], ebx
cmp edx, 0x10
jb 0x40fbe6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x88]
call fcn.00411e40
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, 1
mov eax, dword [ebp - 0x1e8]
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x40fc28
push 0
lea ecx, [ebp - 0x1e8]
call fcn.0040c320
mov eax, dword [ebp - 0x1e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0x218], edi
test eax, eax
jne 0x40ff68
lea ecx, [ebp - 0x24]
call fcn.00410b30
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x20], ebx
cmovae edx, dword [ebp - 0x58]
call fcn.00406000
mov edx, eax
mov byte [ebp - 4], 0x12
cmp dword [edx + 0x14], 8
jb 0x40fc76
mov edx, dword [edx]
test edx, edx
jne 0x40fc7e
xor ecx, ecx
jmp 0x40fc92
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fc83
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0040c160
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40fce0
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fcd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40fd33
cmp dword [edi + 0xc], 0
jl 0x40fd27
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40fd27
mov ecx, ebx
call fcn.00411a90
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fd1f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x40fd33
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040c160
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
cmovae edx, dword [ebp - 0x88]
call fcn.00406000
mov edx, eax
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 8
jb 0x40fd5d
mov edx, dword [edx]
test edx, edx
jne 0x40fd65
xor ecx, ecx
jmp 0x40fd7f
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fd70
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040c160
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40fdcd
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fdc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov eax, dword [ebp - 0x1fc]
mov ebx, dword [ebp - 0x14]
lea ecx, [eax - 0x10]
lea edi, [ebx - 0x10]
cmp ecx, edi
je 0x40fe2b
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40fe1c
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x40fe1c
call fcn.00411a90
mov dword [ebp - 0x1ec], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x40fe14
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1ec]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
jmp 0x40fe2b
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040c160
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1f4]
mov dword [ebp - 0x204], edi
cmp dword [ebp - 0x1f0], edi
je 0x40fece
mov dword [ebp - 0x210], edi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x1ec], edi
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
add edi, 8
mov dword [ebp - 0x210], edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x204]
mov byte [ebp - 4], 0x15
add edi, 0xc
mov dword [ebp - 0x210], edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x204]
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 0x16
add edi, 0x10
mov dword [ebp - 0x210], edi
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
add dword [ebp - 0x1f4], 0x14
jmp 0x40fee1
lea eax, [ebp - 0x24]
push eax
push edi
lea ecx, [ebp - 0x1f8]
call fcn.00411f80
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x214]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1e4]
add ebx, 0xfffffff0
add dword [ecx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x10
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff11
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4103d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4103d1
mov edx, dword [ebp - 0x1e8]
lea ecx, [ebp - 0xb8]
call fcn.004061f0
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x70]
call fcn.00401e10
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x40ffc5
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ffbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
cmp dword [ebp - 0xbc], 0x10
lea ecx, [ebp - 0xd0]
mov ebx, dword [ebp - 0x70]
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, edi
cmp dword [ebp - 0x5c], 0x10
mov edi, eax
mov dword [ebp - 0xa8], 0
cmovae edx, ebx
mov dword [ebp - 0xa4], 0xf
cmp dword [ebp - 0xc0], eax
mov byte [ebp - 0xb8], 0
cmovb edi, dword [ebp - 0xc0]
sub edi, 4
jb 0x410025
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41002a
add edx, 4
add ecx, 4
sub edi, 4
jae 0x410014
cmp edi, 0xfffffffc
je 0x41005e
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x410057
cmp edi, 0xfffffffd
je 0x41005e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x410057
cmp edi, 0xfffffffe
je 0x41005e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x410057
cmp edi, 0xffffffff
je 0x41005e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x41005e
sbb eax, eax
or eax, 1
jmp 0x410060
xor eax, eax
test eax, eax
jne 0x410082
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc0]
cmp ecx, eax
jbe 0x410076
or eax, 0xffffffff
jmp 0x41007a
sbb eax, eax
neg eax
test eax, eax
je 0x410397
lea ecx, [ebp - 0x24]
call fcn.00410b30
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1e4]
cmovae edx, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
call fcn.00406000
mov edx, eax
mov byte [ebp - 4], 0x1b
cmp dword [edx + 0x14], 8
jb 0x4100bb
mov edx, dword [edx]
test edx, edx
jne 0x4100c3
xor ecx, ecx
jmp 0x4100df
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4100d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0040c160
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x41012d
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410123
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x410180
cmp dword [edi + 0xc], 0
jl 0x410174
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x410174
mov ecx, ebx
call fcn.00411a90
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41016c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x410180
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040c160
mov eax, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x4101d3
cmp dword [edi + 0xc], 0
jl 0x4101c7
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x4101c7
mov ecx, ebx
call fcn.00411a90
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4101bf
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x4101d3
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040c160
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xe8]
cmovae edx, dword [ebp - 0x88]
call fcn.00406000
mov edx, eax
mov byte [ebp - 4], 0x1c
cmp dword [edx + 0x14], 8
jb 0x4101fd
mov edx, dword [edx]
test edx, edx
jne 0x410205
xor ecx, ecx
jmp 0x41021f
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410210
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040c160
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x41026d
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410263
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov ebx, dword [ebp - 0x1f4]
cmp dword [ebp - 0x1f0], ebx
je 0x410301
mov dword [ebp - 0x1ec], ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x210], ebx
call fcn.00411a90
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x1d
lea edi, [ebx + 8]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1ec], edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebx + 4], eax
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1e
lea edi, [ebx + 0xc]
mov dword [ebp - 0x1ec], edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1f
lea edi, [ebx + 0x10]
mov dword [ebp - 0x1ec], edi
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx - 0x10]
call fcn.00411a90
add eax, 0x10
mov dword [edi], eax
add dword [ebp - 0x1f4], 0x14
jmp 0x410314
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x1f8]
call fcn.00411f80
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x214]
lea edx, [ebx - 0x10]
mov eax, dword [ebp - 0x1e4]
or edi, 0xffffffff
add dword [ecx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x19
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410344
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41035e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410378
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410392
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x70]
jmp 0x41039a
or edi, 0xffffffff
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x4103d1
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4103c7
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push ecx
push ebx
call fcn.004514dd
add esp, 8
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x41040c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410402
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x78], 0
add edx, 0xfffffff0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410442
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x1fc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410463
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x4104a1
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x4104fc
mov edx, dword [ebp - 0x218]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4104f2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push ecx
push edx
call fcn.004514dd
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x410534
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41052a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x410584
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41057a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4105bc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
test esi, esi
je 0x4105c8
mov esi, dword [esi + 0x18]
jmp 0x40f70a
xor esi, esi
jmp 0x40f70a
mov esi, dword [ebp - 0x214]
push 0
mov dword [esi + 0x70], 0
call fcn.005d0bb7
mov ecx, dword [ebp - 0x1f4]
add esp, 4
mov dword [esi + 0x98], eax
mov eax, 0x66666667
mov esi, dword [ebp - 0x1f8]
sub ecx, esi
imul ecx
mov dword [ebp - 0x20c], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x410a27
xor ebx, ebx
push dword [esi + ebx + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410743
mov eax, dword [ebp - 0x1f8]
mov edx, dword [eax + ebx + 0x10]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410660
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00405df0
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xe8]
cmovae edx, dword [ebp - 0x40]
call fcn.004061f0
cmp dword [eax + 0x14], 0x10
jb 0x41069b
mov eax, dword [eax]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov edx, dword [ebp - 0xd4]
test eax, eax
sete al
mov byte [ebp - 0x1fd], al
cmp edx, 0x10
jb 0x4106ed
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4106dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
mov al, byte [ebp - 0x1fd]
add esp, 8
test al, al
je 0x410705
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410743
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push edx
push ecx
call fcn.004514dd
add esp, 8
mov edx, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1e8]
add edx, 0x10
push str.temp.pak
add edx, ebx
call fcn.00411850
mov byte [ebp - 4], 0x21
mov esi, esp
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x210], esp
mov ecx, dword [eax + ebx + 0xc]
sub ecx, 0x10
call fcn.00411a90
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x22
mov esi, esp
mov dword [ebp - 0x1ec], esi
mov ecx, dword [ebp - 0x1e8]
add ecx, 0xfffffff0
mov dword [ebp - 0x218], esp
call fcn.00411a90
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x1f8]
push ecx
mov esi, esp
mov dword [ebp - 0x1ec], esi
mov ecx, dword [eax + ebx]
sub ecx, 0x10
call fcn.00411a90
add eax, 0x10
push ecx
mov ecx, dword [ebp - 0x214]
mov dword [esi], eax
mov byte [ebp - 4], 0x21
call fcn.00411050
test eax, eax
jg 0x4109eb
mov eax, dword [ebp - 0x1f8]
push dword [eax + ebx + 8]
call edi
mov eax, dword [ebp - 0x1f8]
mov esi, dword [eax + ebx + 0x10]
mov eax, dword [ebp - 0x1e8]
cmp dword [eax - 4], 1
jle 0x41081e
push dword [eax - 0xc]
lea ecx, [ebp - 0x1e8]
call fcn.0040c3c0
mov eax, dword [ebp - 0x1e8]
push fcn.00402e40
push esi
push eax
call fcn.00452eac
add esp, 0xc
push dword [ebp - 0x1e8]
call edi
mov edi, dword [ebp - 0x1f8]
mov byte [ebp - 4], 0x24
mov eax, dword [edi + ebx + 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x410853
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x410867
call fcn.004066d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x410b13
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x208], 4
mov ecx, dword [edi + ebx + 0x10]
mov dword [ebp - 0x218], ecx
lea esi, [eax + 0x10]
mov eax, dword [edi + ebx + 0xc]
mov dword [ebp - 0x1ec], eax
mov edi, dword [ecx - 0xc]
mov dword [ebp - 0x1fc], esi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x21c], edi
lea edx, [edi + eax]
test edx, edx
js 0x410b09
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4108d2
push edx
lea ecx, [ebp - 0x1fc]
call fcn.0040c320
mov esi, dword [ebp - 0x1fc]
add edi, edi
mov ecx, esi
push edi
push dword [ebp - 0x218]
mov edx, edi
call fcn.0040de30
mov eax, dword [ebp - 0x204]
lea ecx, [edi + esi]
lea edx, [eax + eax]
push edx
push dword [ebp - 0x1ec]
call fcn.0040de30
mov eax, dword [ebp - 0x21c]
add esp, 0x10
add eax, dword [ebp - 0x204]
cmp eax, dword [esi - 8]
jg 0x410b09
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [ebp - 0x1fc]
push str..tmp
lea ecx, [ebp - 0x1e4]
call fcn.00411850
and dword [ebp - 0x208], 0xfffffffb
or edi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0x21
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41095b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f8]
push dword [eax + ebx + 8]
push dword [ebp - 0x1e4]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x1e4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41098e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x1e8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4109af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1f4]
mov eax, 0x66666667
mov esi, dword [ebp - 0x1f8]
add ebx, 0x14
mov edi, dword [ebp - 0x20c]
sub ecx, esi
imul ecx
inc edi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x20c], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41061d
or edi, 0xffffffff
jmp 0x410a27
push 1
push 0
push 0
push str.https:__www.zuhaowan.cn_download__sourcesy
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x1e8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410a27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x410b1d
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x1e0]
call fcn.0040f550
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x410acc
mov edx, dword [ebp - 0x1f4]
push ecx
call fcn.00412430
mov ecx, dword [ebp - 0x1f0]
mov eax, 0x66666667
mov esi, dword [ebp - 0x1f8]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x410aa4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b22
push ecx
push esi
call fcn.004514dd
add esp, 8
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x410aeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004514cc
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004064c0
push 0x80004005
call fcn.004064c0
call fcn.0044f217
call fcn.005cbcb9
int3