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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5f18
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x67b374]
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 ebx, ecx
mov dword [ebp - 0x200], ebx
mov dword [ebp - 0x204], 0
mov dword [ebp - 4], 0
mov dword [ebx + 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.0040eb00
lea edi, [ebx + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x40ecdd
mov edi, dword [edi]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40ece2
sub esi, ecx
lea ecx, [ebp - 0x1e0]
call fcn.0040eb90
lea ecx, [ebp - 0x1e0]
call fcn.0040eb00
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.0040e8d0
add esp, 0x20
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x1e0]
push str.UpdateFiles
push eax
call fcn.0040ea80
mov eax, dword [ebp - 0x208]
test eax, eax
je 0x40ed45
mov esi, dword [eax + 0x10]
jmp 0x40ed47
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 0x1e4], esi
test esi, esi
je 0x40fb0f
push str.Name
lea eax, [ebp - 0x208]
mov ebx, 2
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040ea80
mov eax, dword [ebp - 0x208]
test eax, eax
je 0x40ed8c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40ed8c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40ed91
mov edx, 0x66393c
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 0x40eda8
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004053a0
push 0x664354
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040ea80
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x40edee
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40edee
mov edx, dword [edx + 8]
test edx, edx
jne 0x40edf3
mov edx, 0x66393c
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 0x40ee13
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x100]
call fcn.004053a0
push 0x664358
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040ea80
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x40ee5c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40ee5c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40ee61
mov edx, 0x66393c
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 0x40ee78
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004053a0
push 0x66435c
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040ea80
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x40eebe
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40eebe
mov edx, dword [edx + 8]
test edx, edx
jne 0x40eec3
mov edx, 0x66393c
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 0x40eee3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.004053a0
push str.Length
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040ea80
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x40ef2c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40ef2c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40ef31
mov edx, 0x66393c
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 0x40ef51
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.00405ff0
mov edi, eax
push 0x663c24
lea edx, [ebp + 8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x21c]
call fcn.00410fb0
add esp, 4
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 8
jb 0x40efa9
mov edi, dword [edi]
push edi
mov edx, eax
lea ecx, [ebp - 0x1fc]
call fcn.00410fb0
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 0x40efdc
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 0x40f020
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f016
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
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.00405ff0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x40f05c
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x1fc]
lea ecx, [ebp - 0x1e8]
call fcn.00410fb0
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40f0af
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
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.00450d2e
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.005c7c50
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f126
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.00450d2e
push edi
mov edi, eax
mov dword [ebp - 0x220], eax
push 0
push edi
call fcn.005c7c50
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 0x40f1b0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004053a0
or dword [ebp - 0x204], 1
push edi
call fcn.00450d29
push ebx
call fcn.00450d29
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005d1a72
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x1e4], ebx
cmp edx, 0x10
jb 0x40f226
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f21c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x88]
call fcn.004115a0
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 0x40f268
push 0
lea ecx, [ebp - 0x1e8]
call fcn.0040bc10
mov eax, dword [ebp - 0x1e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0x1ec], edi
test eax, eax
jne 0x40f518
lea ecx, [ebp - 0x24]
call fcn.00410150
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.00405ff0
mov edx, eax
mov byte [ebp - 4], 0x12
cmp dword [edx + 0x14], 8
jb 0x40f2b6
mov edx, dword [edx]
test edx, edx
jne 0x40f2be
xor ecx, ecx
jmp 0x40f2d2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f2c3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0040ba00
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40f320
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f316
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40f373
cmp dword [edi + 0xc], 0
jl 0x40f367
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40f367
mov ecx, ebx
call fcn.004111f0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f35f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x40f373
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040ba00
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
cmovae edx, dword [ebp - 0x88]
call fcn.00405ff0
mov edx, eax
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 8
jb 0x40f39d
mov edx, dword [edx]
test edx, edx
jne 0x40f3a5
xor ecx, ecx
jmp 0x40f3bf
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f3b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040ba00
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40f40d
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
mov eax, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40f460
cmp dword [edi + 0xc], 0
jl 0x40f454
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40f454
mov ecx, ebx
call fcn.004111f0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f44c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x40f460
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040ba00
mov eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x24]
push ecx
cmp dword [ebp - 0x1f0], eax
je 0x40f482
mov ecx, eax
call fcn.00411bb0
add dword [ebp - 0x1f4], 0x14
jmp 0x40f48e
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004116e0
mov ebx, dword [ebp - 0x200]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1e4]
add dword [ebx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f4c1
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 0x40f4db
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 0x40f4f5
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 0x40f911
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f911
mov edx, dword [ebp - 0x1e8]
lea ecx, [ebp - 0xb8]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
call fcn.00401e10
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x40f575
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f56b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
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 0x40f5d5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40f5da
add edx, 4
add ecx, 4
sub edi, 4
jae 0x40f5c4
cmp edi, 0xfffffffc
je 0x40f60e
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40f607
cmp edi, 0xfffffffd
je 0x40f60e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40f607
cmp edi, 0xfffffffe
je 0x40f60e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40f607
cmp edi, 0xffffffff
je 0x40f60e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40f60e
sbb eax, eax
or eax, 1
jmp 0x40f610
xor eax, eax
test eax, eax
jne 0x40f632
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc0]
cmp ecx, eax
jbe 0x40f626
or eax, 0xffffffff
jmp 0x40f62a
sbb eax, eax
neg eax
test eax, eax
je 0x40f8d1
lea ecx, [ebp - 0x24]
call fcn.00410150
mov byte [ebp - 4], 0x17
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.00405ff0
mov edx, eax
mov byte [ebp - 4], 0x18
cmp dword [edx + 0x14], 8
jb 0x40f66b
mov edx, dword [edx]
test edx, edx
jne 0x40f673
xor ecx, ecx
jmp 0x40f68f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f680
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0040ba00
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40f6dd
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40f730
cmp dword [edi + 0xc], 0
jl 0x40f724
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40f724
mov ecx, ebx
call fcn.004111f0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f71c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x40f730
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040ba00
mov eax, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40f783
cmp dword [edi + 0xc], 0
jl 0x40f777
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40f777
mov ecx, ebx
call fcn.004111f0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f76f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x40f783
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040ba00
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xe8]
cmovae edx, dword [ebp - 0x88]
call fcn.00405ff0
mov edx, eax
mov byte [ebp - 4], 0x19
cmp dword [edx + 0x14], 8
jb 0x40f7ad
mov edx, dword [edx]
test edx, edx
jne 0x40f7b5
xor ecx, ecx
jmp 0x40f7cf
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f7c0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040ba00
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40f81d
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f813
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
mov eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x24]
push ecx
cmp dword [ebp - 0x1f0], eax
je 0x40f83f
mov ecx, eax
call fcn.00411bb0
add dword [ebp - 0x1f4], 0x14
jmp 0x40f84b
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004116e0
mov ecx, dword [ebp - 0x200]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1e4]
add dword [ecx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f87e
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 0x40f898
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 0x40f8b2
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 0x40f8cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x70]
jmp 0x40f8d4
or edi, 0xffffffff
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x40f90b
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40f901
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push ecx
push ebx
call fcn.00450cc8
add esp, 8
mov ebx, dword [ebp - 0x200]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x40f94c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
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 0x40f982
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 0x40f9a3
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 0x40f9e1
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
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 0x40fa3c
mov edx, dword [ebp - 0x1ec]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fa32
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push ecx
push edx
call fcn.00450cc8
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40fa74
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
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 0x40fac4
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40faba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40fafc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40faf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
test esi, esi
je 0x40fb08
mov esi, dword [esi + 0x18]
jmp 0x40ed4a
xor esi, esi
jmp 0x40ed4a
push 0
mov dword [ebx + 0x70], 0
call fcn.005d0423
mov ecx, dword [ebp - 0x1f4]
add esp, 4
mov esi, dword [ebp - 0x1f8]
sub ecx, esi
mov dword [ebx + 0x98], eax
mov eax, 0x66666667
imul ecx
mov dword [ebp - 0x208], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40ffff
xor ebx, ebx
mov dword [ebp - 0x1fc], ebx
nop dword [eax]
push dword [esi + ebx + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fc72
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fb95
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00405de0
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xe8]
cmovae edx, dword [ebp - 0x40]
call fcn.004061e0
cmp dword [eax + 0x14], 0x10
jb 0x40fbd0
mov eax, dword [eax]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov edx, dword [ebp - 0xd4]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x40fc16
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
test bl, bl
je 0x40fc2e
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 0x40fc6c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push edx
push ecx
call fcn.00450cc8
add esp, 8
mov ebx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1e8]
add edx, 0x10
push str.temp.pak
add edx, ebx
call fcn.00410fb0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x214], esp
mov dword [ebp - 0x220], esp
mov eax, dword [eax + ebx + 0xc]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x40fccc
cmp ecx, dword [esi]
jne 0x40fccc
lock inc dword [eax]
jmp 0x40fcfb
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x410138
mov ecx, dword [edi]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x1ec]
call fcn.0040bb80
add esp, 8
mov ecx, dword [ebp - 0x220]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x1c
push ecx
mov dword [ebp - 0x21c], esp
mov esi, dword [ebp - 0x1e8]
mov dword [ebp - 0x210], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40fd3d
cmp ecx, dword [esi - 0x10]
jne 0x40fd3d
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40fd67
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x410138
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.0040bb80
add esp, 8
mov ecx, dword [ebp - 0x21c]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x1f8]
push ecx
mov dword [ebp - 0x218], esp
mov eax, dword [eax + ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x40fdab
cmp ecx, dword [esi]
jne 0x40fdab
lock inc dword [eax]
jmp 0x40fdda
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x410138
mov ecx, dword [edi]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x1ec]
call fcn.0040bb80
add esp, 8
mov ecx, dword [ebp - 0x218]
lea eax, [esi + 0x10]
push ecx
mov dword [ecx], eax
mov ecx, dword [ebp - 0x200]
mov byte [ebp - 4], 0x1b
call fcn.00410670
test eax, eax
jg 0x41000c
mov eax, dword [ebp - 0x1f8]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
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 0x40fe39
push dword [eax - 0xc]
lea ecx, [ebp - 0x1e8]
call fcn.0040bcb0
mov eax, dword [ebp - 0x1e8]
push fcn.00402e40
push esi
push eax
call fcn.0045269c
add esp, 0xc
push dword [ebp - 0x1e8]
call edi
mov edi, dword [ebp - 0x1f8]
mov byte [ebp - 4], 0x1e
mov eax, dword [edi + ebx + 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40fe6e
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x40fe82
call fcn.00406640
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x41012e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x204], 4
mov ecx, dword [edi + ebx + 0x10]
mov dword [ebp - 0x1ec], ecx
lea esi, [eax + 0x10]
mov eax, dword [edi + ebx + 0xc]
mov dword [ebp - 0x210], eax
mov ebx, dword [ecx - 0xc]
mov dword [ebp - 0x1e4], esi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x214], eax
lea edi, [ebx + eax]
test edi, edi
js 0x410124
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40fee7
push edi
lea ecx, [ebp - 0x1e4]
call fcn.0040bc10
mov esi, dword [ebp - 0x1e4]
push ebx
push dword [ebp - 0x1ec]
mov edx, ebx
mov ecx, esi
call fcn.0040bb80
mov edx, dword [ebp - 0x214]
lea ecx, [esi + ebx*2]
push edx
push dword [ebp - 0x210]
call fcn.0040bb80
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x410124
xor eax, eax
mov dword [esi - 0xc], edi
push str..tmp
lea edx, [ebp - 0x1e4]
mov word [esi + edi*2], ax
lea ecx, [ebp - 0x20c]
call fcn.00410fb0
and dword [ebp - 0x204], 0xfffffffb
or edi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0x1b
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40ff5f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f8]
mov ebx, dword [ebp - 0x1fc]
push dword [eax + ebx + 8]
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x20c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff98
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 0x40ffb9
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 - 0x208]
sub ecx, esi
imul ecx
inc edi
mov dword [ebp - 0x1fc], ebx
sar edx, 3
mov eax, edx
mov dword [ebp - 0x208], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40fb60
or edi, 0xffffffff
mov ebx, dword [ebp - 0x200]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x41011f
jmp 0x41004a
push 1
push 0
push 0
push str.https:__www.zuhaowan.cn_
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 0x40fff9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40fff9
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x1e0]
call fcn.0040eb90
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x4100e2
mov edx, dword [ebp - 0x1f4]
push ecx
call fcn.00411b20
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 0x4100ba
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41013d
push ecx
push esi
call fcn.00450cc8
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 0x410101
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.00450cb7
mov esp, ebp
pop ebp
ret 4
call fcn.0044ea02
push 0x80070057
call fcn.004064b0
push 0x80004005
call fcn.004064b0
call fcn.0040bd40
call fcn.005cb4ad
int3