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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5658
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x67a374]
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.0040e1d0
lea edi, [ebx + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x40e3ad
mov edi, dword [edi]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40e3b2
sub esi, ecx
lea ecx, [ebp - 0x1e0]
call fcn.0040e260
lea ecx, [ebp - 0x1e0]
call fcn.0040e1d0
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.0040dfa0
add esp, 0x20
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x1e0]
push str.UpdateFiles
push eax
call fcn.0040e150
mov eax, dword [ebp - 0x208]
test eax, eax
je 0x40e415
mov esi, dword [eax + 0x10]
jmp 0x40e417
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 0x1e4], esi
test esi, esi
je 0x40f1df
push str.Name
lea eax, [ebp - 0x208]
mov ebx, 2
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040e150
mov eax, dword [ebp - 0x208]
test eax, eax
je 0x40e45c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40e45c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40e461
mov edx, 0x66291c
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 0x40e478
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004053a0
push 0x663304
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040e150
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x40e4be
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40e4be
mov edx, dword [edx + 8]
test edx, edx
jne 0x40e4c3
mov edx, 0x66291c
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 0x40e4e3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x100]
call fcn.004053a0
push 0x663308
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040e150
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x40e52c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40e52c
mov edx, dword [edx + 8]
test edx, edx
jne 0x40e531
mov edx, 0x66291c
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 0x40e548
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004053a0
push 0x66330c
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040e150
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x40e58e
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40e58e
mov edx, dword [edx + 8]
test edx, edx
jne 0x40e593
mov edx, 0x66291c
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 0x40e5b3
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.0040e150
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x40e5fc
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40e5fc
mov edx, dword [edx + 8]
test edx, edx
jne 0x40e601
mov edx, 0x66291c
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 0x40e621
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.00405c30
mov edi, eax
push 0x662bf8
lea edx, [ebp + 8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x21c]
call fcn.00410680
add esp, 4
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 8
jb 0x40e679
mov edi, dword [edi]
push edi
mov edx, eax
lea ecx, [ebp - 0x1fc]
call fcn.00410680
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 0x40e6ac
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 0x40e6f0
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e6e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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.00405c30
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x40e72c
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x1fc]
lea ecx, [ebp - 0x1e8]
call fcn.00410680
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40e77f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e775
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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.0045041a
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.005c7440
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e7f6
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.0045041a
push edi
mov edi, eax
mov dword [ebp - 0x220], eax
push 0
push edi
call fcn.005c7440
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 0x40e880
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004053a0
or dword [ebp - 0x204], 1
push edi
call fcn.00450415
push ebx
call fcn.00450415
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005d1262
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x1e4], ebx
cmp edx, 0x10
jb 0x40e8f6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x88]
call fcn.00410c70
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 0x40e938
push 0
lea ecx, [ebp - 0x1e8]
call fcn.0040b520
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 0x40ebe8
lea ecx, [ebp - 0x24]
call fcn.0040f820
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.00405c30
mov edx, eax
mov byte [ebp - 4], 0x12
cmp dword [edx + 0x14], 8
jb 0x40e986
mov edx, dword [edx]
test edx, edx
jne 0x40e98e
xor ecx, ecx
jmp 0x40e9a2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e993
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b310
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40e9f0
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e9e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40ea43
cmp dword [edi + 0xc], 0
jl 0x40ea37
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40ea37
mov ecx, ebx
call fcn.004108c0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ea2f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x40ea43
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040b310
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
cmovae edx, dword [ebp - 0x88]
call fcn.00405c30
mov edx, eax
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 8
jb 0x40ea6d
mov edx, dword [edx]
test edx, edx
jne 0x40ea75
xor ecx, ecx
jmp 0x40ea8f
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ea80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040b310
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40eadd
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ead3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
mov eax, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40eb30
cmp dword [edi + 0xc], 0
jl 0x40eb24
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40eb24
mov ecx, ebx
call fcn.004108c0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40eb1c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x40eb30
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040b310
mov eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x24]
push ecx
cmp dword [ebp - 0x1f0], eax
je 0x40eb52
mov ecx, eax
call fcn.00411280
add dword [ebp - 0x1f4], 0x14
jmp 0x40eb5e
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00410db0
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 0x40eb91
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 0x40ebab
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 0x40ebc5
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 0x40efe1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40efe1
mov edx, dword [ebp - 0x1e8]
lea ecx, [ebp - 0xb8]
call fcn.00405e20
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 0x40ec45
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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 0x40eca5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40ecaa
add edx, 4
add ecx, 4
sub edi, 4
jae 0x40ec94
cmp edi, 0xfffffffc
je 0x40ecde
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40ecd7
cmp edi, 0xfffffffd
je 0x40ecde
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40ecd7
cmp edi, 0xfffffffe
je 0x40ecde
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40ecd7
cmp edi, 0xffffffff
je 0x40ecde
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40ecde
sbb eax, eax
or eax, 1
jmp 0x40ece0
xor eax, eax
test eax, eax
jne 0x40ed02
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc0]
cmp ecx, eax
jbe 0x40ecf6
or eax, 0xffffffff
jmp 0x40ecfa
sbb eax, eax
neg eax
test eax, eax
je 0x40efa1
lea ecx, [ebp - 0x24]
call fcn.0040f820
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.00405c30
mov edx, eax
mov byte [ebp - 4], 0x18
cmp dword [edx + 0x14], 8
jb 0x40ed3b
mov edx, dword [edx]
test edx, edx
jne 0x40ed43
xor ecx, ecx
jmp 0x40ed5f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ed50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b310
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40edad
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eda3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40ee00
cmp dword [edi + 0xc], 0
jl 0x40edf4
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40edf4
mov ecx, ebx
call fcn.004108c0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40edec
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x40ee00
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040b310
mov eax, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40ee53
cmp dword [edi + 0xc], 0
jl 0x40ee47
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40ee47
mov ecx, ebx
call fcn.004108c0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ee3f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x40ee53
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040b310
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xe8]
cmovae edx, dword [ebp - 0x88]
call fcn.00405c30
mov edx, eax
mov byte [ebp - 4], 0x19
cmp dword [edx + 0x14], 8
jb 0x40ee7d
mov edx, dword [edx]
test edx, edx
jne 0x40ee85
xor ecx, ecx
jmp 0x40ee9f
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ee90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040b310
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40eeed
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
mov eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x24]
push ecx
cmp dword [ebp - 0x1f0], eax
je 0x40ef0f
mov ecx, eax
call fcn.00411280
add dword [ebp - 0x1f4], 0x14
jmp 0x40ef1b
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00410db0
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 0x40ef4e
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 0x40ef68
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 0x40ef82
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 0x40ef9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x70]
jmp 0x40efa4
or edi, 0xffffffff
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x40efdb
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40efd1
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push ecx
push ebx
call fcn.004503b4
add esp, 8
mov ebx, dword [ebp - 0x200]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x40f01c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f012
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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 0x40f052
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 0x40f073
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 0x40f0b1
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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 0x40f10c
mov edx, dword [ebp - 0x1ec]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f102
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push ecx
push edx
call fcn.004503b4
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40f144
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f13a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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 0x40f194
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f18a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40f1cc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
test esi, esi
je 0x40f1d8
mov esi, dword [esi + 0x18]
jmp 0x40e41a
xor esi, esi
jmp 0x40e41a
push 0
mov dword [ebx + 0x70], 0
call fcn.005cfc13
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 0x40f6cf
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 0x40f342
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 0x40f265
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00405a20
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.00405e20
cmp dword [eax + 0x14], 0x10
jb 0x40f2a0
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 0x40f2e6
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
add esp, 8
test bl, bl
je 0x40f2fe
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 0x40f33c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push edx
push ecx
call fcn.004503b4
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.00410680
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 0x40f39c
cmp ecx, dword [esi]
jne 0x40f39c
lock inc dword [eax]
jmp 0x40f3cb
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x40f808
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.0040b490
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 0x40f40d
cmp ecx, dword [esi - 0x10]
jne 0x40f40d
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40f437
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40f808
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.0040b490
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 0x40f47b
cmp ecx, dword [esi]
jne 0x40f47b
lock inc dword [eax]
jmp 0x40f4aa
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x40f808
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.0040b490
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.0040fd40
test eax, eax
jg 0x40f6dc
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 0x40f509
push dword [eax - 0xc]
lea ecx, [ebp - 0x1e8]
call fcn.0040b5c0
mov eax, dword [ebp - 0x1e8]
push fcn.00402e40
push esi
push eax
call fcn.00451d7c
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 0x40f53e
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x40f552
call fcn.00406280
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x40f7fe
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 0x40f7f4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40f5b7
push edi
lea ecx, [ebp - 0x1e4]
call fcn.0040b520
mov esi, dword [ebp - 0x1e4]
push ebx
push dword [ebp - 0x1ec]
mov edx, ebx
mov ecx, esi
call fcn.0040b490
mov edx, dword [ebp - 0x214]
lea ecx, [esi + ebx*2]
push edx
push dword [ebp - 0x210]
call fcn.0040b490
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x40f7f4
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.00410680
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 0x40f62f
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 0x40f668
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 0x40f689
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 0x40f230
or edi, 0xffffffff
mov ebx, dword [ebp - 0x200]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x40f7ef
jmp 0x40f71a
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 0x40f6c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f6c9
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x1e0]
call fcn.0040e260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x40f7b2
mov edx, dword [ebp - 0x1f4]
push ecx
call fcn.004111f0
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 0x40f78a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f80d
push ecx
push esi
call fcn.004503b4
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 0x40f7d1
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.004503a3
mov esp, ebp
pop ebp
ret 4
call fcn.0044e0d1
push 0x80070057
call fcn.004060f0
push 0x80004005
call fcn.004060f0
call fcn.0040b650
call fcn.005cac9d
int3