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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f58a6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6807dc]
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 - 0x1a4], ebx
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebx + 0x94], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0xc8
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.005c81c0
add esp, 0xc
mov dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x198], 0
call fcn.0040ec70
lea edi, [ebx + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x40ee69
mov edi, dword [edi]
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x40ee70
sub esi, ecx
lea ecx, [ebp - 0x19c]
call fcn.0040ed00
lea ecx, [ebp - 0x19c]
call fcn.0040ec70
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
push eax
sub esp, 0x10
lea ecx, [ebp - 0x1b4]
push esi
push edi
push edx
call fcn.0040ea40
add esp, 0x20
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x19c]
push str.UpdateFiles
push eax
call fcn.0040ebf0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40eed7
mov esi, dword [eax + 0x10]
jmp 0x40eed9
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4100b0
nop word [eax + eax]
push str.Name
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040ebf0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40ef1d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40ef1d
mov edx, dword [edx + 8]
test edx, edx
jne 0x40ef22
mov edx, 0x663884
mov ecx, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ef40
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004042b0
push 0x6644d4
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.0040ebf0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40ef84
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40ef84
mov edx, dword [edx + 8]
test edx, edx
jne 0x40ef89
mov edx, 0x663884
mov ecx, edx
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40efb0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xd4]
call fcn.004042b0
push 0x6644d8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.0040ebf0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40eff7
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40eff7
mov edx, dword [edx + 8]
test edx, edx
jne 0x40effc
mov edx, 0x663884
mov ecx, edx
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f020
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xbc]
call fcn.004042b0
push 0x6644dc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.0040ebf0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40f067
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f067
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f06c
mov edx, 0x663884
mov ecx, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f086
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.004042b0
push str.Length
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.0040ebf0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40f0cd
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40f0cd
mov edx, dword [edx + 8]
test edx, edx
jne 0x40f0d2
mov edx, 0x663884
mov ecx, edx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f0f2
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.004042b0
mov byte [ebp - 4], 7
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x20], 0
cmovae edx, dword [ebp - 0xbc]
mov ecx, edx
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f147
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x23c]
call fcn.004042b0
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x254]
call fcn.004061e0
mov edi, eax
push 0x663eac
lea edx, [ebp + 8]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c8]
call fcn.00411500
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [edi + 0x14], 8
jb 0x40f19a
mov edi, dword [edi]
push edi
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00411500
add esp, 4
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov edx, dword [ebp - 0x1c8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f1ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x40f20e
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x228]
cmp edx, 0x10
jb 0x40f269
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f25f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
cmp dword [ebp - 0x60], 0x10
lea edx, [ebp - 0x74]
mov dword [ebp - 0x22c], 0
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0x44], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f2b0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004042b0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1fc]
call fcn.004061e0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x40f2e1
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00411500
add esp, 4
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x40f334
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f32a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
xor eax, eax
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 7
mov word [ebp - 0x1fc], ax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40f389
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f37f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x34], 0
cmovae edx, dword [ebp - 0xa4]
mov ecx, edx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f3d0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x1c0]
call fcn.004042b0
push 0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1c0]
cmp dword [ebp - 0x1ac], 0x10
push 0
cmovae eax, dword [ebp - 0x1c0]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055cfcb
lea ecx, [ebx*2 + 2]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0x1a0], edi
call fcn.005c81c0
add esp, 0x10
lea ecx, [ebp - 0x1c0]
cmp dword [ebp - 0x1ac], 0x10
cmovae ecx, dword [ebp - 0x1c0]
push ebx
push edi
push dword [ebp - 0x1b0]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea edi, [ebx + 1]
push edi
call fcn.0055cfcb
push edi
mov edi, eax
mov dword [ebp - 0x14], eax
push 0
push edi
call fcn.005c81c0
add esp, 0x10
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x1a0]
push edi
push dword [ebp - 0x1c]
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f4e0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x1e0]
call fcn.004042b0
or dword [ebp - 0x1c4], 1
push edi
call fcn.0055cf65
push ebx
call fcn.0055cf65
cmp dword [ebp - 0x1cc], 0x10
lea eax, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x1e0]
push eax
call fcn.005d67c5
mov edx, dword [ebp - 0x1cc]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp edx, 0x10
jb 0x40f565
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f55b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
cmp edx, 0x10
jb 0x40f5be
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f5b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x5c]
call fcn.00411a40
add esp, 4
mov byte [ebp - 4], 0x15
mov ecx, 1
mov eax, dword [ebp - 0x18]
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x40f5f4
push 0
lea ecx, [ebp - 0x18]
call fcn.0040bf50
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x1a0], edi
test eax, eax
jne 0x40f9bc
lea ecx, [ebp - 0x1bc]
call fcn.004106b0
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x1b8], ebx
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f646
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004042b0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1fc]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x18
cmp dword [edx + 0x14], 8
jb 0x40f679
mov edx, dword [edx]
test edx, edx
jne 0x40f681
xor ecx, ecx
jmp 0x40f695
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f686
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040bdd0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x40f6e6
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 7
mov word [ebp - 0x1fc], ax
cmp edx, 0x10
jb 0x40f73b
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1b4]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40f794
cmp dword [edi + 0xc], 0
jl 0x40f785
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40f785
mov ecx, ebx
call fcn.00411750
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f77a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1b4], eax
jmp 0x40f794
push dword [eax - 0xc]
lea ecx, [ebp - 0x1b4]
push eax
call fcn.0040bdd0
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x34], 0
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f7b6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004042b0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1fc]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x1a
cmp dword [edx + 0x14], 8
jb 0x40f7e9
mov edx, dword [edx]
test edx, edx
jne 0x40f7f1
xor ecx, ecx
jmp 0x40f805
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f7f6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1bc]
call fcn.0040bdd0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x1e8]
cmp edx, 8
jb 0x40f856
mov ecx, dword [ebp - 0x1fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f84c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 7
mov word [ebp - 0x1fc], ax
cmp edx, 0x10
jb 0x40f8ab
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1ac]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40f904
cmp dword [edi + 0xc], 0
jl 0x40f8f5
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40f8f5
mov ecx, ebx
call fcn.00411750
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f8ea
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1ac], eax
jmp 0x40f904
push dword [eax - 0xc]
lea ecx, [ebp - 0x1ac]
push eax
call fcn.0040bdd0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1bc]
push ecx
cmp dword [ebp - 0x24], eax
je 0x40f920
mov ecx, eax
call fcn.00412070
add dword [ebp - 0x28], 0x14
jmp 0x40f929
push eax
lea ecx, [ebp - 0x2c]
call fcn.00411b80
mov ebx, dword [ebp - 0x1a4]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x1ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f95c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1b0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f979
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1b4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f996
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1bc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40fee5
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1fc]
call fcn.004063f0
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x44]
call fcn.00402a80
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x1e8]
cmp edx, 0x10
jb 0x40fa16
mov ecx, dword [ebp - 0x1fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
mov ebx, dword [ebp - 0x44]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, edi
cmp dword [ebp - 0x30], 0x10
mov edi, eax
mov dword [ebp - 0x1ec], 0
cmovae edx, ebx
mov dword [ebp - 0x1e8], 0xf
cmp dword [ebp - 0x7c], eax
mov byte [ebp - 0x1fc], 0
cmovb edi, dword [ebp - 0x7c]
sub edi, 4
jb 0x40fa71
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40fa76
add edx, 4
add ecx, 4
sub edi, 4
jae 0x40fa60
cmp edi, 0xfffffffc
je 0x40faaa
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40faa3
cmp edi, 0xfffffffd
je 0x40faaa
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40faa3
cmp edi, 0xfffffffe
je 0x40faaa
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40faa3
cmp edi, 0xffffffff
je 0x40faaa
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40faaa
sbb eax, eax
or eax, 1
jmp 0x40faac
xor eax, eax
test eax, eax
jne 0x40facb
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jbe 0x40fabf
or eax, 0xffffffff
jmp 0x40fac3
sbb eax, eax
neg eax
test eax, eax
je 0x40fea5
lea ecx, [ebp - 0x1bc]
call fcn.004106b0
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fb10
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x1e0]
call fcn.004042b0
lea edx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x21c]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x20
cmp dword [edx + 0x14], 8
jb 0x40fb49
mov edx, dword [edx]
test edx, edx
jne 0x40fb51
xor ecx, ecx
jmp 0x40fb65
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fb56
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040bdd0
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x208]
cmp edx, 8
jb 0x40fbb6
mov ecx, dword [ebp - 0x21c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 7
mov word [ebp - 0x21c], ax
cmp edx, 0x10
jb 0x40fc11
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1b4]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40fc6a
cmp dword [edi + 0xc], 0
jl 0x40fc5b
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40fc5b
mov ecx, ebx
call fcn.00411750
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fc50
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1b4], eax
jmp 0x40fc6a
push dword [eax - 0xc]
lea ecx, [ebp - 0x1b4]
push eax
call fcn.0040bdd0
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1ac]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x40fcc3
cmp dword [edi + 0xc], 0
jl 0x40fcb4
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x40fcb4
mov ecx, ebx
call fcn.00411750
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fca9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1ac], eax
jmp 0x40fcc3
push dword [eax - 0xc]
lea ecx, [ebp - 0x1ac]
push eax
call fcn.0040bdd0
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x1d0], 0
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fcf0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x1e0]
call fcn.004042b0
lea edx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x21c]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x22
cmp dword [edx + 0x14], 8
jb 0x40fd29
mov edx, dword [edx]
test edx, edx
jne 0x40fd31
xor ecx, ecx
jmp 0x40fd45
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fd36
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1bc]
call fcn.0040bdd0
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x208]
cmp edx, 8
jb 0x40fd96
mov ecx, dword [ebp - 0x21c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 7
mov word [ebp - 0x21c], ax
cmp edx, 0x10
jb 0x40fdf1
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fde7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1bc]
push ecx
cmp dword [ebp - 0x24], eax
je 0x40fe0d
mov ecx, eax
call fcn.00412070
add dword [ebp - 0x28], 0x14
jmp 0x40fe16
push eax
lea ecx, [ebp - 0x2c]
call fcn.00411b80
mov ecx, dword [ebp - 0x1a4]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
add dword [ecx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x1ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fe49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1b0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fe66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1b4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fe83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1bc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fea0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x44]
jmp 0x40fea8
or edi, 0xffffffff
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40fedf
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40fed5
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push ecx
push ebx
call fcn.0055cf9a
add esp, 8
mov ebx, dword [ebp - 0x1a4]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x40ff1d
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
add edx, 0xfffffff0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff4d
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 - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x40ffa9
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x40ffe6
mov edx, dword [ebp - 0x1a0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ffdc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push ecx
push edx
call fcn.0055cf9a
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x410024
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41001a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x410062
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410058
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41009a
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410090
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
test esi, esi
je 0x4100a3
mov esi, dword [esi + 0x18]
jmp 0x4100a5
xor esi, esi
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x40eef0
push 0
mov dword [ebx + 0x70], 0
call fcn.005d23f1
mov ecx, dword [ebp - 0x28]
add esp, 4
mov esi, dword [ebp - 0x2c]
sub ecx, esi
mov dword [ebx + 0x98], eax
mov eax, 0x66666667
imul ecx
mov dword [ebp - 0x1c8], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41055f
xor ebx, ebx
push dword [esi + ebx + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410207
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + ebx + 0x10]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410124
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00405d50
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x21c]
cmovae edx, dword [ebp - 0x5c]
call fcn.004063f0
cmp dword [eax + 0x14], 0x10
jb 0x41015f
mov eax, dword [eax]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov edx, dword [ebp - 0x208]
test eax, eax
sete al
mov byte [ebp - 0x1a5], al
cmp edx, 0x10
jb 0x4101b1
mov ecx, dword [ebp - 0x21c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
mov al, byte [ebp - 0x1a5]
add esp, 8
test al, al
je 0x4101c9
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x410207
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4101fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.0055cf9a
add esp, 8
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
add edx, 0x10
mov dword [ebp - 0x18], 0
push str.temp.pak
add edx, ebx
call fcn.00411500
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e4], esp
mov dword [ebp - 0x220], esp
mov eax, dword [eax + ebx + 0xc]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x41025f
cmp ecx, dword [esi]
jne 0x41025f
lock inc dword [eax]
jmp 0x41028e
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x410698
mov ecx, dword [edi]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x1a0]
call fcn.0040bc60
add esp, 8
mov ecx, dword [ebp - 0x220]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x25
mov esi, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x204], esp
mov dword [ebp - 0x224], 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 0x4102cd
cmp ecx, dword [esi - 0x10]
jne 0x4102cd
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x4102f7
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x410698
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.0040bc60
add esp, 8
mov ecx, dword [ebp - 0x224]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x200], esp
mov eax, dword [eax + ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x410338
cmp ecx, dword [esi]
jne 0x410338
lock inc dword [eax]
jmp 0x410367
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x410698
mov ecx, dword [edi]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x1a0]
call fcn.0040bc60
add esp, 8
mov ecx, dword [ebp - 0x200]
lea eax, [esi + 0x10]
push ecx
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1a4]
mov byte [ebp - 4], 0x24
call fcn.00410bd0
test eax, eax
jg 0x41056c
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [eax + ebx + 8]
call edi
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx + 0x10]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x4103b7
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x18]
push fcn.00403c50
push esi
push eax
call fcn.0055f0ac
add esp, 0xc
push dword [ebp - 0x18]
call edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x27
mov eax, dword [edi + ebx + 0x10]
mov dword [ebp - 0x20], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4103f4
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x410408
call fcn.00406a40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x41068e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x1c4], 4
mov ecx, dword [edi + ebx + 0x10]
mov dword [ebp - 0x1a0], ecx
lea esi, [eax + 0x10]
mov eax, dword [edi + ebx + 0xc]
mov dword [ebp - 0x1e4], eax
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x14], edx
lea edi, [edx + eax]
test edi, edi
js 0x410684
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41046a
push edi
lea ecx, [ebp - 0x20]
call fcn.0040bf50
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push edx
push dword [ebp - 0x1a0]
mov ecx, esi
call fcn.0040bc60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x204]
push edx
push dword [ebp - 0x1e4]
lea ecx, [esi + eax*2]
call fcn.0040bc60
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x410684
xor eax, eax
mov dword [esi - 0xc], edi
push str..tmp
lea edx, [ebp - 0x20]
mov word [esi + edi*2], ax
lea ecx, [ebp - 0x1c]
call fcn.00411500
and dword [ebp - 0x1c4], 0xfffffffb
or edi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0x24
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4104dd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
push dword [eax + ebx + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410507
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 - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410525
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
mov esi, dword [ebp - 0x2c]
add ebx, 0x14
mov edi, dword [ebp - 0x1c8]
sub ecx, esi
imul ecx
inc edi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x1c8], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4100f2
or edi, 0xffffffff
mov ebx, dword [ebp - 0x1a4]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x41067f
jmp 0x4105bf
push 1
push 0x6644fc
push 0x664508
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41059c
push eax
push 0
push 0
push str.https:__www.zuhaowan.com_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410559
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410559
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x19c]
call fcn.0040ed00
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x410642
mov edx, dword [ebp - 0x28]
push ecx
call fcn.00411fe0
mov ecx, dword [ebp - 0x24]
mov eax, 0x66666667
mov esi, dword [ebp - 0x2c]
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 0x410623
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push ecx
push esi
call fcn.0055cf9a
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 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 0x410661
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.0055cf54
mov esp, ebp
pop ebp
ret 4
call fcn.0055b29a
push 0x80070057
call fcn.004068b0
push 0x80004005
call fcn.004068b0
call fcn.0040bc50
call fcn.005cd033
int3